2022-11-06 18:02:30 +00:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
2023-03-04 12:42:14 +00:00
|
|
|
{{- include "tc.v1.common.loader.init" . }}
|
2022-11-06 18:02:30 +00:00
|
|
|
|
2023-05-30 20:46:18 +00:00
|
|
|
{{- $operatorNamespace := "metallb-system" -}}
|
|
|
|
{{- if .Values.operator.metallb -}}
|
|
|
|
{{ $operatorNamespace = ( $.Values.operator.metallb.namespace | default "metallb-system") }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- $_ := set $.Values "operatorNamespace" $operatorNamespace -}}
|
|
|
|
|
2022-11-06 18:02:30 +00:00
|
|
|
{{/* Render the templates */}}
|
2023-03-04 12:42:14 +00:00
|
|
|
{{ include "tc.v1.common.loader.apply" . }}
|
2022-11-06 18:02:30 +00:00
|
|
|
|
|
|
|
{{- include "metallb.l2adv" . }}
|
|
|
|
|
|
|
|
{{- include "metallb.peers" . }}
|
|
|
|
|
|
|
|
{{- include "metallb.bgpadv" . }}
|
|
|
|
|
|
|
|
{{- include "metallb.comm" . }}
|
|
|
|
|
|
|
|
{{- include "metallb.pool" . }}
|