Custom binarystore.xml

JFrog Installation & Setup Documentation

Content Type
Installation & Setup

There are two options for providing a custom binarystore.xml.

  1. Editing directly in the values.yaml.

    artifactory:
      persistence:
        binarystoreXml: |
          <!-- The custom XML snippet -->
          <config version="v1">
              <chain template="file-system"/>
          </config>
  2. Create your own secret and pass it to your helm install command.

    # Prepare your custom Secret file (custom-binarystore.yaml)
    kind: Secret
    apiVersion: v1
    metadata:
      name: custom-binarystore
      labels:
        app: artifactory
        chart: artifactory
    stringData:
      binarystore.xml: |-
          <!-- The custom XML snippet -->
          <config version="v1">
              <chain template="file-system"/>
          </config>
  3. Next, create a secret from the file.

    kubectl apply -n artifactory -f ./custom-binarystore.yaml
  4. Pass the secret to your helm install command.

    Artifactory

    helm upgrade --install artifactory --namespace artifactory --set artifactory.persistence.customBinarystoreXmlSecret=custom-binarystore jfrog/artifactory

    Artifactory HA

    helm upgrade --install artifactory-ha --namespace artifactory-ha --set artifactory.persistence.customBinarystoreXmlSecret=custom-binarystore jfrog/artifactory-ha