Disabling http ports on DMaaP 54/103054/1
authorefiacor <fiachra.corcoran@est.tech>
Wed, 4 Mar 2020 20:06:49 +0000 (20:06 +0000)
committerefiacor <fiachra.corcoran@est.tech>
Wed, 4 Mar 2020 20:06:55 +0000 (20:06 +0000)
Change-Id: I8cf5a6ac58d38c6e5c818259baf7d69615eb9803
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Issue-ID: DMAAP-1400

kubernetes/dmaap/components/message-router/templates/service.yaml
kubernetes/dmaap/values.yaml

index db3bc76..16fae2a 100644 (file)
@@ -39,11 +39,9 @@ spec:
   type: {{ .Values.service.type }}
   ports:
     {{if eq .Values.service.type "NodePort" -}}
-    {{- if .Values.global.allow_http }}
     - port: {{ .Values.service.externalPort }}
       nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
       name: {{ .Values.service.portName }}-{{ .Values.service.externalPort }}
-    {{- end}}
     - port: {{ .Values.service.externalPort2 }}
       nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }}
       name: {{ .Values.service.portName }}-{{ .Values.service.externalPort2 }}
index 4c0d8d5..ecc5689 100644 (file)
@@ -29,7 +29,7 @@ global:
   busyBoxRepository: docker.io
 
 #Global DMaaP app config
-  allow_http: true
+  allow_http: false
 
   #Logstash config
   logstashServiceName: log-ls