add annotations

master
Marius Ensrud 4 years ago
parent 108f4482a7
commit a418367b8c

@ -5,8 +5,10 @@ metadata:
name: {{ include "omada-controller.fullname" . }} name: {{ include "omada-controller.fullname" . }}
labels: labels:
{{- include "omada-controller.labels" . | nindent 4 }} {{- include "omada-controller.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations: annotations:
metallb.universe.tf/allow-shared-ip: omada {{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
ports: ports:
@ -47,8 +49,10 @@ metadata:
name: {{ include "omada-controller.fullname" . }}-udp name: {{ include "omada-controller.fullname" . }}-udp
labels: labels:
{{- include "omada-controller.labels" . | nindent 4 }} {{- include "omada-controller.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations: annotations:
metallb.universe.tf/allow-shared-ip: omada {{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
ports: ports:

@ -47,6 +47,8 @@ securityContext: {}
service: service:
enabled: true enabled: true
type: NodePort type: NodePort
annotations:
metallb.universe.tf/allow-shared-ip: omada
manage: manage:
port: 8088 port: 8088
managessl: managessl:

Loading…
Cancel
Save