Fix port for sdnhost 79/22979/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 9 Nov 2017 15:49:40 +0000 (16:49 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 9 Nov 2017 15:49:40 +0000 (16:49 +0100)
As sdnhost second port didn't have a fixed port, it could take one of
the needed one for the other services (as mentionned in OOM-410).
Fixing it here to {{ .Values.nodePortPrefix }}08 (which is not used by
other services) all to fix the issue

Change-Id: Ia27ca713d4edfe4dd0bde0b6ab484e71caec4126
Issue-ID: OOM-410
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/sdnc/templates/all-services.yaml

index 37c88ed..cfb24bf 100644 (file)
@@ -90,6 +90,7 @@ spec:
   - name: "sdnc-port-8101"
     port: 8201
     targetPort: 8101
+    nodePort: {{ .Values.nodePortPrefix }}08
   type: NodePort
   selector:
     app: sdnc
@@ -122,4 +123,4 @@ spec:
   type: NodePort
   selector:
     app: sdnc-portal
-#{{ end }}
\ No newline at end of file
+#{{ end }}