add configDB.cong support with secret
Some checks are pending
Build Helm Chart / helm-package (pull_request) Waiting to run
Some checks are pending
Build Helm Chart / helm-package (pull_request) Waiting to run
This commit is contained in:
@@ -57,6 +57,9 @@ spec:
|
||||
- name: fhem-data
|
||||
mountPath: /opt/fhem
|
||||
subPath: fhem/
|
||||
- name: configdb-volume
|
||||
mountPath: /opt/fhem/configDB.conf
|
||||
subPath: fhem/configDB.conf
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
env:
|
||||
@@ -123,9 +126,14 @@ spec:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: fhem-data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
- name: fhem-data
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "fhem.fullname" . }}
|
||||
{{- end }}
|
||||
{{- if eq .Values.configtype "configDB" }}
|
||||
- name: configdb-volume
|
||||
secret:
|
||||
secretName: {{ .Release.Name }}-db-config-secret
|
||||
{{- end }}
|
||||
restartPolicy: {{ .Values.restartPolicy }}
|
||||
|
Reference in New Issue
Block a user