blob: e359b812fc92fb2ffd12be60decf418254a278dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
apiVersion: v1
kind: Service
metadata:
name: {{ include "netconf-server.fullname" . }}
labels:
{{- include "netconf-server.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.port }}
nodePort: {{ .Values.service.nodePort }}
protocol: TCP
name: {{ .Values.service.port | quote }}
selector:
{{- include "netconf-server.selectorLabels" . | nindent 4 }}
|