24 lines
798 B
YAML
24 lines
798 B
YAML
{{- if .Values.anm.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: "{{ include "gateway.fullname" . }}-anm"
|
|
labels:
|
|
{{- include "gateway.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: anm
|
|
spec:
|
|
type: {{ .Values.anm.service.type }}
|
|
ports:
|
|
- port: {{ .Values.anm.service.ports.traffic.port }}
|
|
targetPort: {{ .Values.anm.service.ports.traffic.port }}
|
|
protocol: {{ .Values.anm.service.ports.traffic.protocol }}
|
|
name: gatewaymanager
|
|
- port: {{ .Values.anm.service.ports.ui.port }}
|
|
targetPort: {{ .Values.anm.service.ports.ui.port }}
|
|
protocol: {{ .Values.anm.service.ports.ui.protocol }}
|
|
name: gatewaymanagerui
|
|
selector:
|
|
{{- include "gateway.selectorLabels" . | nindent 4 }}
|
|
app.kubernetes.io/component: anm
|
|
{{- end }}
|