custom-hashicorp-vault-helm/templates/vault-role-vars-persistant-volume-claim.yaml
Alan Bridgeman ae8f4ad22b
All checks were successful
Deploy the Helm Chart / build (push) Successful in 11s
Updated chart so that it worked better as a subchart, is more configurable and better documented
2025-12-19 17:11:14 -06:00

15 lines
No EOL
392 B
YAML

{{- if .Values.create.enabled -}}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "vault.fullname" . }}-role-vars
labels:
app: {{ include "vault.fullname" . }}
spec:
storageClassName: {{ .Values.create.roleVarsPVC.storageClassName }}
accessModes:
- ReadWriteMany
resources:
requests:
storage: {{ .Values.create.roleVarsPVC.size }}
{{- end -}}