aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/service.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-06-25 10:39:38 +0000
committerGerrit Code Review <gerrit@onap.org>2023-06-25 10:39:38 +0000
commit970079ae2f4c7b558b218cfb53264f4f40d488a3 (patch)
treefab5c84471fb3c015c8748ad54cc3ef219a09545 /kubernetes/sdnc/templates/service.yaml
parent0c3f15fe1a61e0361f601ffca291693928c75350 (diff)
parent95bf73a5a7d87cd36142ae4454ad5015ff7490ec (diff)
Merge "[SDNC] Add SDNR Websocket support"
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 }}