aboutsummaryrefslogtreecommitdiff
path: root/grumpy/znc/templates/service.yaml
blob: 77b7f458f6152c2a82aafa84b6a86b2dbd37a142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  name: {{ include "znc.fullname" . }}
  labels:
{{ include "znc.labels" . | indent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: 6555
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: {{ include "znc.name" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}