aboutsummaryrefslogtreecommitdiffstats
path: root/helm/avcn-manager/templates/service.yaml
blob: d637d024be427f8bc3d7c45f880ebb9b46dffa93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  name: {{ include "avcn-manager.fullname" . }}
  labels:
    {{- include "avcn-manager.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: {{ .Values.service.port }}
      nodePort: {{ .Values.service.nodePort }}
      protocol: TCP
      name: http
  selector:
    {{- include "avcn-manager.selectorLabels" . | nindent 4 }}