Correct claim name
This commit is contained in:
parent
5fd119a37f
commit
536d627faa
1 changed files with 4 additions and 0 deletions
|
@ -66,4 +66,8 @@ spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
{{- if not .Values.pvc.existingClaim }}
|
||||||
claimName: {{ include "esphome.fullname" . }}-config
|
claimName: {{ include "esphome.fullname" . }}-config
|
||||||
|
{{- else }}
|
||||||
|
claimName: {{ .Values.pvc.existingClaim }}
|
||||||
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue