File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 defaultMode : 0644
7676 - name : vault-data
7777 persistentVolumeClaim :
78- claimName : vault-pvc
78+ claimName : {{ .Values.persistence.existingClaim | default " vault-pvc" }}
Original file line number Diff line number Diff line change 1- {{- if .Values.persistence.enabled }}
1+ {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
22apiVersion : v1
33kind : PersistentVolumeClaim
44metadata :
Original file line number Diff line number Diff line change 1+ # Custom values for existing PVC deployment
2+
13# Namespace configuration
24namespace : vault
35
@@ -23,13 +25,11 @@ service:
2325 targetPort : 8200
2426 protocol : TCP
2527
26- # Storage configuration
28+ # Storage configuration - USE EXISTING PVC
2729persistence :
2830 enabled : true
29- storageClassName : " standard"
30- size : " 0.5Gi"
31- accessModes :
32- - ReadWriteOnce
31+ existingClaim : " vault-pvc" # Use existing PVC instead of creating new
32+ # Remove storageClassName, size, and accessModes since we're using existing PVC
3333
3434# Vault configuration
3535config :
You can’t perform that action at this time.
0 commit comments