summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/templates/service.yaml')
-rw-r--r--kubernetes/sdnc/templates/service.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/service.yaml b/kubernetes/sdnc/templates/service.yaml
index c5ae5d5c10..052cfe16ad 100644
--- a/kubernetes/sdnc/templates/service.yaml
+++ b/kubernetes/sdnc/templates/service.yaml
@@ -47,6 +47,9 @@ spec:
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort4 }}
{{ end }}
{{ if .Values.config.sdnr.enabled }}
+ - name: "{{ .Values.service.portName }}-sdnrwebsocket"
+ port: {{ .Values.service.sdnrWebsocketPort | default "8182" }}
+ targetPort: {{ .Values.service.sdnrWebsocketPort }}
sessionAffinity: ClientIP
{{ end }}
selector:
@@ -188,4 +191,4 @@ spec:
selector:
app.kubernetes.io/name: {{ include "common.name" . }}
app.kubernetes.io/instance: {{ include "common.release" . }}
-{{ end }} \ No newline at end of file
+{{ end }}