scale-catalog/stable/frigate/15.0.8/templates/common.yaml

18 lines
517 B
YAML
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render configmap for frigate */}}
{{- $config := include "frigate.configmap" . | fromYaml -}}
{{- if $config -}}
{{- $_ := set .Values.configmap "frigate-config" $config -}}
{{- end -}}
{{- $vol := include "frigate.configVolume" . | fromYaml -}}
{{- if $vol -}}
{{- $_ := set .Values.persistence "frigate-config" $vol -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}