TrueChartsClone/charts/stable/icantbelieveitsnotvaletudo/templates/common.yaml

31 lines
689 B
YAML

{{- include "common.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "icantbelieveitsnotvaletudo.harcodedValues" -}}
persistence:
settings:
enabled: "true"
mountPath: "/app/config.json"
subPath: "config.json"
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-settings" (include "common.names.fullname" .) }}
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
service:
main:
enabled: false
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "icantbelieveitsnotvaletudo.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}