17 lines
311 B
Smarty
17 lines
311 B
Smarty
|
{{- define "metallb.comm" -}}
|
||
|
{{- if .Values.Communities }}
|
||
|
---
|
||
|
apiVersion: metallb.io/v1beta1
|
||
|
kind: Community
|
||
|
metadata:
|
||
|
name: communities
|
||
|
namespace: metallb-system
|
||
|
spec:
|
||
|
communities:
|
||
|
{{- range .Values.Communities }}
|
||
|
- name: {{ .name }}
|
||
|
value: {{ .value }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end -}}
|