Attempted to make the changes and add things that will be needed for the new k8s mode
All checks were successful
Deploy the Helm Chart / build (push) Successful in 12s

This commit is contained in:
Alan Bridgeman 2026-04-05 15:46:22 -05:00
parent 9e288e7404
commit 1912114d63
6 changed files with 65 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{{- if .Values.create.enabled -}}
{{- if and .Values.create.enabled (eq .Values.create.appRole.mode "file") -}}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@ -6,10 +6,10 @@ metadata:
labels:
app: {{ include "vault.fullname" . }}
spec:
storageClassName: {{ .Values.create.roleVarsPVC.storageClassName }}
storageClassName: {{ .Values.create.appRole.roleVarsPVC.storageClassName }}
accessModes:
- ReadWriteMany
resources:
requests:
storage: {{ .Values.create.roleVarsPVC.size }}
storage: {{ .Values.create.appRole.roleVarsPVC.size }}
{{- end -}}