ARTIFACTORY: How to apply a custom storage class via Artifactory Helm chart

AuthorFullName__c
Ashraf Kherbawy
articleNumber
000005452
FirstPublishedDate
2022-11-06T13:12:55Z
lastModifiedDate
2025-05-15

ARTIFACTORY: How to apply a custom storage class via Artifactory Helm chart

When deploying Artifactory using Helm, the chart automatically creates a storage class for the in-built PVC’s, in correlation to your Cloud provider (gp2 on AWS, and standard on GKE, Azure and OpenStack).

To use your own made storage class, you can specify it using two possible methods:

 
1. Using the storageClassName property:

The first method is to specify the name of the storage class under artifactory.persistence.storageClassName in the Artifactory Helm Chart values.yaml file.

Example:
artifactory:
  persistence: 
    storageClassName: my-storage-class
2. Using the customPersistentVolumeClaim property:
The second method uses the artifactory.customPersistentVolumeClaim property, which allows you to specify multiple parameters alongside the storage class, for example, name, size, mountPath and accessModes.

Example:
artifactory:
  customPersistentVolumeClaim:
          name: my-claim
          mountPath: /var/opt/jfrog/artifactory/my-artifactory/
          accessModes: [ "ReadWriteOnce" ]
          size: 20Gi
          storageClassName: my-storage-class