---
updatedAt: 2026-05-21T09:14:56.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/installation/llms.txt
---

# Artifactory Bootstrap

Bootstrap Artifactory Helm admin credentials and initial configuration automatically during deployment via values.yaml.

Bootstrap the Artifactory admin password and configuration with Helm Charts.

**Bootstrap the Artifactory Admin Password**

You can bootstrap the `admin` user password as described in  [Recreating the Default Admin User](/administration/docs/manage-users-2#recreate-the-default-admin-user).

1. Create `admin-creds-values.yaml` and provide the IP (by default 127.0.0.1) and password.

   ```yaml
   artifactory:
     admin:
       ip: "<IP_RANGE>" # Example: "*" to allow access from anywhere
       username: "admin"
       password: "<PASSWD>"
   ```
2. Apply the `admin-creds-values.yaml` file.

   **Artifactory**

   ```bash
   helm upgrade --install artifactory --namespace artifactory jfrog/artifactory -f admin-creds-values.yaml
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha --namespace artifactory-ha jfrog/artifactory-ha -f admin-creds-values.yaml
   ```
3. Restart the Artifactory pod (`kubectl delete pod <pod_name>`).

**Bootstrap the Artifactory Configuration**

Use Helm charts to bootstrap the Artifactory global and security configuration. An <a href="https://jfrog.com/artifactory/start-free/" target="_blank">Artifactory subscription</a> is required.

1. Create a `bootstrap-config.yaml` with an `artifactory.config.import.xml` and a `security.import.xml` as shown below.

   ```yaml
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: my-release-bootstrap-config
   data:
     artifactory.config.import.xml: |
       <config contents>
     security.import.xml: |
       <config contents>
   ```
2. Create a configMap in Kubernetes.

   ```bash
   kubectl apply -f bootstrap-config.yaml
   ```
3. Pass the configMap to Helm using one of the following options.

   **Artifactory**

   ```bash
   helm upgrade --install artifactory --set artifactory.license.secret=artifactory-license,artifactory.license.dataKey=art.lic,artifactory.configMapName=my-release-bootstrap-config --namespace artifactory jfrog/artifactory
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha --set artifactory.license.secret=artifactory-license,artifactory.license.dataKey=art.lic,artifactory.configMapName=my-release-bootstrap-config --namespace artifactory-ha jfrog/artifactory-ha
   ```

   or

   **Artifactory**

   ```bash
   helm upgrade --install artifactory --set artifactory.license.licenseKey=<LICENSE_KEY>,artifactory.configMapName=my-release-bootstrap-config --namespace artifactory jfrog/artifactory
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha --set artifactory.license.licenseKey=<LICENSE_KEY>,artifactory.configMapName=my-release-bootstrap-config --namespace artifactory-ha jfrog/artifactory-ha
   ```

   For more information, see Bootstrapping the Artifactory Global Configuration and Bootstrapping the Artifactory Security Configuration.

## Copy Configuration Files for Every Startup

The chart copies files from `/artifactory-extra-conf` to `ARTIFACTORY_HOME/etc` only on first startup. To copy configuration files to `ARTIFACTORY_HOME/etc` on every startup, use the `copyOnEveryStartup` setting.

For example, with the default behavior, `binarystore.xml` is only copied on the first startup, so later changes to the `binarystore.xml` configuration are not applied.

1. To apply changes on every startup, create a YAML block with the following values:

   ```yaml
   artifactory: 
     copyOnEveryStartup: 
       - source: /artifactory_bootstrap/binarystore.xml 
         target: etc/artifactory
   ```
2. Install the Helm chart with the values file you created:

   **Artifactory**

   ```bash
   helm upgrade --install artifactory --namespace artifactory jfrog/artifactory -f values.yaml
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha --namespace artifactory-ha jfrog/artifactory-ha -f values.yaml
   ```

For any custom configuration file, such as `logback.xml`:

1. Create a configMap with your `logback.xml` configuration.
2. Next, create a `values.yaml` file with the following values:

   ```yaml
   artifactory:
     ## Create a volume pointing to the config map with your configuration file
     customVolumes: |
       - name: logback-xml-configmap
         configMap:
           name: logback-xml-configmap
     customVolumeMounts: |
       - name: logback-xml-configmap
         mountPath: /tmp/artifactory-logback/
     copyOnEveryStartup:
       - source: /tmp/artifactory-logback/*
         target: etc/artifactory
   ```
3. Install the Helm chart with the values file you created:

   **Artifactory**

   ```bash
   helm upgrade --install artifactory --namespace artifactory jfrog/artifactory -f values.yaml
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha --namespace artifactory-ha jfrog/artifactory-ha -f values.yaml
   ```

## Related Topics

* [Artifactory Advanced Options](artifactory-advanced-options)
* [Artifactory License Installation with Kubernetes Secrets](add-licenses-using-secrets)
* [Use ConfigMaps to Store Non-confidential Data](use-configmaps-to-store-non-confidential-data)
* [Advanced Configurations in Artifactory YAML](advanced-configurations-in-artifactory-yaml)
* [Helm Charts for Advanced Users](helm-charts-for-advanced-users)

## Frequently Asked Questions

This section provides answers to frequently asked questions.

<Accordion title="FAQs" icon="plus">

##### Q: How do I set the Artifactory admin password during a Helm installation?

**A:** Create a values file with `artifactory.admin.ip`, `artifactory.admin.username`, and `artifactory.admin.password` set to your desired values, then pass it to `helm upgrade --install` using `-f admin-creds-values.yaml`. After applying the values file, restart the Artifactory pod with `kubectl delete pod <pod_name>` for the change to take effect.

##### Q: Does bootstrapping the Artifactory global configuration require a subscription?

**A:** Yes. Bootstrapping the Artifactory global and security configuration using a ConfigMap requires an Artifactory subscription.

##### Q: How does the Helm chart handle configuration files like `binarystore.xml` — does it apply them on every startup?

**A:** By default, the chart copies files from `/artifactory-extra-conf` to `ARTIFACTORY_HOME/etc` only on the first startup. Changes made after the initial deployment are not automatically applied. To apply a configuration file on every startup, use the `copyOnEveryStartup` setting to specify the source path and target directory.

##### Q: How do I apply a custom `logback.xml` configuration on every Artifactory restart?

**A:** Create a ConfigMap containing your `logback.xml`, mount it as a custom volume in `values.yaml`, and add an entry under `copyOnEveryStartup` that copies the file from the mount path to `etc/artifactory` on each startup. See [Artifactory Bootstrap](bootstraps-artifactory) for the full values structure.

##### Q: What must be passed to Helm when bootstrapping the Artifactory configuration via a ConfigMap?

**A:** Pass the license secret (via `artifactory.license.secret` and `artifactory.license.dataKey`, or `artifactory.license.licenseKey`) together with `artifactory.configMapName` set to the name of the ConfigMap you created from `bootstrap-config.yaml`.

</Accordion>