feat(common): allow shared ip (#2033)

This commit is contained in:
Nevan Chow
2022-03-06 20:46:50 +08:00
committed by GitHub
parent 5a6f499bf6
commit 351535254c

View File

@@ -30,6 +30,9 @@ metadata:
{{- if eq ( $primaryPort.protocol | default "" ) "HTTPS" }}
traefik.ingress.kubernetes.io/service.serversscheme: https
{{- end }}
{{- if eq ( $svcType | default "" ) "LoadBalancer" }}
metallb.universe.tf/allow-shared-ip: {{ include "common.names.fullname" . }}
{{- end }}
{{- with $values.annotations }}
{{ toYaml . | nindent 4 }}
{{- end }}