infra-charts/headscale/templates/configmap.yaml

13 lines
322 B
YAML

---
apiVersion: v1
kind: ConfigMap
metadata:
namespace: {{ .Values.namespace }}
name: headscale
labels: {{ include "common.app.labels" . | nindent 4 }}
data:
config.yaml: |
{{- .Values.config | toYaml | nindent 4 }}
{{- if .Values.extraConfig }}
{{- .Values.extraConfig | toYaml | nindent 2 }}
{{- end }}