TrueChartsCatalogClone/enterprise/metallb-config/6.1.3/templates/common.yaml

22 lines
595 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- $operatorNamespace := "metallb-system" -}}
{{- if .Values.operator.metallb -}}
{{ $operatorNamespace = ( $.Values.operator.metallb.namespace | default "metallb-system") }}
{{- end -}}
{{- $_ := set $.Values "operatorNamespace" $operatorNamespace -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}
{{- include "metallb.l2adv" . }}
{{- include "metallb.peers" . }}
{{- include "metallb.bgpadv" . }}
{{- include "metallb.comm" . }}
{{- include "metallb.pool" . }}