summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-03-06 08:58:23 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-03-06 09:05:15 +0100
commitbe7288889ab975fd7df625eb24463994a2684828 (patch)
tree57ac582da5e10773fb7b55624b6e3b1a85bb96f5 /kubernetes/dmaap/components/message-router/values.yaml
parent88b2f92e51dc29461e0ebe443a24b9e5d99b11be (diff)
[DMaaP MR] Use HTTPS only for external traffic
Use the new template features to create two services for DMaaP Message Router: * One of ClusterIP type with HTTP AND HTTPS port, with the same name as before. * Another of NodePort type with HTTPS only port, with a new name (this one should be used only for external traffic) I've also replaced `tabs` iby spaces in two resources files so it's easier to read the configmap. Issue-ID: DMAAP-1400 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I394e0b5327ffe2605f0c4c8b134e49553b06232c
Diffstat (limited to 'kubernetes/dmaap/components/message-router/values.yaml')
-rw-r--r--kubernetes/dmaap/components/message-router/values.yaml20
1 files changed, 15 insertions, 5 deletions
diff --git a/kubernetes/dmaap/components/message-router/values.yaml b/kubernetes/dmaap/components/message-router/values.yaml
index 935c090751..b14c35f183 100644
--- a/kubernetes/dmaap/components/message-router/values.yaml
+++ b/kubernetes/dmaap/components/message-router/values.yaml
@@ -58,21 +58,31 @@ liveness:
timeoutSeconds: 1
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
+ port: api
enabled: true
readiness:
initialDelaySeconds: 70
periodSeconds: 10
timeoutSeconds: 1
+ port: api
service:
type: NodePort
name: message-router
- portName: message-router
- externalPort: 3904
- nodePort: 27
- externalPort2: 3905
- nodePort2: 26
+ both_tls_and_plain: true
+ msb:
+ port: api
+ url: "/"
+ version: "v1"
+ protocol: "REST"
+ visualRange: "1"
+ ports:
+ - name: api
+ port: 3905
+ plain_port: 3904
+ port_protocol: http
+ nodePort: 26
ingress:
enabled: false