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

18 lines
568 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render configmap for tailscale */}}
{{- $configmap := include "tailscale.config" . | fromYaml -}}
{{- if $configmap -}}
{{- $_ := set .Values.configmap "tailscale-config" $configmap -}}
{{- end -}}
{{/* Render secret for tailscale */}}
{{- $secret := include "tailscale.secret" . | fromYaml -}}
{{- if $secret -}}
{{- $_ := set .Values.secret "tailscale-secret" $secret -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}