Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/artifactory/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ commonAnnotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
resources:
- routes.yaml
- pvc.yaml
25 changes: 25 additions & 0 deletions components/artifactory/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: artifactory-volume-jfrog-container-registry-artifactory-0
namespace: artifactory
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-jfrog-container-registry-postgresql-0
namespace: artifactory
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 200Gi
---

6 changes: 6 additions & 0 deletions components/artifactory/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ artifactory:
enabled: false

artifactory:
persistence:
enabled: true # Ensure persistence is enabled (it is by default)
existingClaim: "artifactory-volume-jfrog-container-registry-artifactory-0"
podSecurityContext:
enabled: false
containerSecurityContext:
Expand All @@ -31,6 +34,9 @@ artifactory:
auth:
password: "a-strong-password"
primary:
persistence:
enabled: true
existingClaim: "data-jfrog-container-registry-postgresql-0"
podSecurityContext:
enabled: false
securityContext:
Expand Down
Loading