24 lines
643 B
YAML
24 lines
643 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.common.loader.init" . }}
|
|
|
|
{{/* Render secret */}}
|
|
{{- include "meshcentral.secret" . }}
|
|
|
|
{{- 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 (include "meshcentral.probes" . | fromYaml) -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "tc.common.loader.apply" . }}
|