scale-catalog/stable/meshcentral/16.0.10/templates/common.yaml
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

23 lines
709 B
YAML

{{/* Make sure all variables are set properly */}}
{{ include "tc.v1.common.loader.init" . }}
{{- $_ := mustMergeOverwrite .Values (include "meshcentral.secret" $ | fromYaml) -}}
{{- define "meshcentral.probes" -}}
probes:
liveness:
type: {{ .Values.service.main.ports.main.protocol }}
path: /health.ashx
readiness:
type: {{ .Values.service.main.ports.main.protocol }}
path: /health.ashx
startup:
type: {{ .Values.service.main.ports.main.protocol }}
path: /health.ashx
{{- end -}}
{{- $_ := mergeOverwrite .Values.workload.main.podSpec.containers.main (include "meshcentral.probes" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}