aboutsummaryrefslogtreecommitdiffstats
path: root/helm/netconf/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/netconf/templates/service.yaml')
-rw-r--r--helm/netconf/templates/service.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/helm/netconf/templates/service.yaml b/helm/netconf/templates/service.yaml
new file mode 100644
index 0000000..e359b81
--- /dev/null
+++ b/helm/netconf/templates/service.yaml
@@ -0,0 +1,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 }}