2021-10-13 21:43:55 +00:00
|
|
|
{{- include "common.setup" . }}
|
2021-10-13 20:46:42 +00:00
|
|
|
|
|
|
|
{{/* 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 */}}
|
2021-10-13 21:43:55 +00:00
|
|
|
{{ include "common.postSetup" . }}
|