diff options
author | Mike Elliott <mike.elliott@amdocs.com> | 2019-04-08 13:23:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-08 13:23:18 +0000 |
commit | a0d5935e3a8907a7f98fa7a34cf94e38efb50c46 (patch) | |
tree | 3c17ec9603b63475c476e610d9dbd39022435dcb /kubernetes/dcaegen2/charts/dcae-config-binding-service | |
parent | 5c2fe5c4f4e6ee6cd987a154d68697211623fdb7 (diff) | |
parent | 0108b5284cf2a3e80334a3c0fd44e1404e2ebf59 (diff) |
Merge "Add support for multiple k8s clusters"
Diffstat (limited to 'kubernetes/dcaegen2/charts/dcae-config-binding-service')
-rw-r--r-- | kubernetes/dcaegen2/charts/dcae-config-binding-service/templates/service.yaml | 2 | ||||
-rw-r--r-- | kubernetes/dcaegen2/charts/dcae-config-binding-service/values.yaml | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/kubernetes/dcaegen2/charts/dcae-config-binding-service/templates/service.yaml b/kubernetes/dcaegen2/charts/dcae-config-binding-service/templates/service.yaml index 088d381d50..794b896eef 100644 --- a/kubernetes/dcaegen2/charts/dcae-config-binding-service/templates/service.yaml +++ b/kubernetes/dcaegen2/charts/dcae-config-binding-service/templates/service.yaml @@ -30,7 +30,7 @@ spec: ports: {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.externalPort }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} + nodePort: {{ .Values.global.nodePortPrefixExt| default .Values.nodePortPrefixExt }}{{ .Values.service.nodePort }} name: {{ .Values.service.name }} {{- else -}} - port: {{ .Values.service.externalPort }} diff --git a/kubernetes/dcaegen2/charts/dcae-config-binding-service/values.yaml b/kubernetes/dcaegen2/charts/dcae-config-binding-service/values.yaml index f6da1ef06c..31d6a8b2fb 100644 --- a/kubernetes/dcaegen2/charts/dcae-config-binding-service/values.yaml +++ b/kubernetes/dcaegen2/charts/dcae-config-binding-service/values.yaml @@ -20,6 +20,7 @@ ################################################################# global: nodePortPrefix: 302 + nodePortPrefixExt: 304 readinessRepository: oomk8s readinessImage: readiness-check:2.0.0 loggingRepository: docker.elastic.co @@ -60,10 +61,11 @@ readiness: path: /healthcheck service: - type: ClusterIP + type: NodePort name: config-binding-service externalPort: 10000 internalPort: 10000 + nodePort: 15 # Resource Limit flavor -By Default using small flavor: small |