diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-03-05 22:37:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-05 22:37:28 +0000 |
commit | ff1c5075c21a7fe77e9be438eb1831c5dbcb552f (patch) | |
tree | 2613a43c6009aef9fbe866573e6e24851d99657f | |
parent | f2b9d74212cbcfd760a5826b7a853f5ba6154e99 (diff) | |
parent | c4e11b8f1cd70737eb998618e7e000b25b742f85 (diff) |
Merge "Disabling http ports on DMaaP"
-rw-r--r-- | kubernetes/dmaap/components/message-router/templates/service.yaml | 2 | ||||
-rw-r--r-- | kubernetes/dmaap/values.yaml | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/kubernetes/dmaap/components/message-router/templates/service.yaml b/kubernetes/dmaap/components/message-router/templates/service.yaml index db3bc76c6a..16fae2a704 100644 --- a/kubernetes/dmaap/components/message-router/templates/service.yaml +++ b/kubernetes/dmaap/components/message-router/templates/service.yaml @@ -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 }} diff --git a/kubernetes/dmaap/values.yaml b/kubernetes/dmaap/values.yaml index 4c0d8d584e..ecc5689668 100644 --- a/kubernetes/dmaap/values.yaml +++ b/kubernetes/dmaap/values.yaml @@ -29,7 +29,7 @@ global: busyBoxRepository: docker.io #Global DMaaP app config - allow_http: true + allow_http: false #Logstash config logstashServiceName: log-ls |