There are two options for providing a custom binarystore.xml.
Editing directly in the values.yaml.
artifactory: persistence: binarystoreXml: | <!-- The custom XML snippet --> <config version="v1"> <chain template="file-system"/> </config>Create your own secret and pass it to your
helm installcommand.# 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>Next, create a secret from the file.
kubectl apply -n artifactory -f ./custom-binarystore.yaml
Pass the secret to your
helm installcommand.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