Correct PVC names.
All checks were successful
ci/woodpecker/push/homeassistant Pipeline was successful
All checks were successful
ci/woodpecker/push/homeassistant Pipeline was successful
This commit is contained in:
parent
eb35b37637
commit
68f6e5f1c0
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue