- Now supports a external PVC to be attached to the container;

- Added parameters to include a external PVC;
This commit is contained in:
Filipe Souza
2024-01-25 00:43:55 -03:00
parent 2fdb55f4dd
commit 3f00d4ad0d
4 changed files with 14 additions and 2 deletions

View File

@@ -55,4 +55,8 @@ spec:
volumes:
- name: datadir
persistentVolumeClaim:
{{- if not .Values.server.storage.external }}
claimName: "{{ .Release.Name }}-datadir-pvc"
{{ else }}
claimName: "{{ .Values.server.storage.externalName }}"
{{ end }}