Correct PVC names.
All checks were successful
ci/woodpecker/push/homeassistant Pipeline was successful

This commit is contained in:
Alex Manning 2023-03-03 22:14:58 +00:00
parent eb35b37637
commit 68f6e5f1c0

View file

@ -104,10 +104,18 @@ spec:
volumes:
- name: config
persistentVolumeClaim:
{{- if not .Values.pvc.config.existingClaim }}
claimName: {{ include "homeassistant.fullname" . }}-config
{{- else }}
claimName: {{ .Values.pvc.config.existingClaim }}
{{- end }}
- name: storage
persistentVolumeClaim:
{{- if not .Values.pvc.storage.existingClaim }}
claimName: {{ include "homeassistant.fullname" . }}-storage
{{- else }}
claimName: {{ .Values.pvc.storage.existingClaim }}
{{- end }}
- name: init
configMap:
name: {{ include "homeassistant.fullname" . }}-initscript