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: volumes:
- name: config - name: config
persistentVolumeClaim: persistentVolumeClaim:
{{- if not .Values.pvc.config.existingClaim }}
claimName: {{ include "homeassistant.fullname" . }}-config claimName: {{ include "homeassistant.fullname" . }}-config
{{- else }}
claimName: {{ .Values.pvc.config.existingClaim }}
{{- end }}
- name: storage - name: storage
persistentVolumeClaim: persistentVolumeClaim:
{{- if not .Values.pvc.storage.existingClaim }}
claimName: {{ include "homeassistant.fullname" . }}-storage claimName: {{ include "homeassistant.fullname" . }}-storage
{{- else }}
claimName: {{ .Values.pvc.storage.existingClaim }}
{{- end }}
- name: init - name: init
configMap: configMap:
name: {{ include "homeassistant.fullname" . }}-initscript name: {{ include "homeassistant.fullname" . }}-initscript