23 lines
665 B
YAML
23 lines
665 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "common.setup" . }}
|
|
|
|
{{/* Render configmap for openhab */}}
|
|
{{- include "openhab.configmap" . }}
|
|
|
|
{{/* Append the hardcoded volumes */}}
|
|
{{- define "openhab.hardcodedValues" -}}
|
|
persistence:
|
|
init:
|
|
enabled: true
|
|
mountPath: /etc/cont-init.d/enable-console-logging.sh
|
|
subPath: enable-console-logging.sh
|
|
type: custom
|
|
volumeSpec:
|
|
configMap:
|
|
name: {{ printf "%v-init" (include "common.names.fullname" .) }}
|
|
{{- end -}}
|
|
{{- $_ := mergeOverwrite .Values (include "openhab.hardcodedValues" . | fromYaml) -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "common.postSetup" . }}
|