From: Mike Elliott Date: Wed, 6 Jun 2018 18:53:13 +0000 (+0000) Subject: Merge "change in cdt-port in parent chart" X-Git-Tag: 2.0.0-ONAP~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0e6df03cf15f501388a833e30227a15be850965a;hp=2b3a96f0daedf6cfa53667b436693162459561ff;p=oom.git Merge "change in cdt-port in parent chart" --- diff --git a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml index a2cb9fc83a..8ac5d3ed1f 100644 --- a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml +++ b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml @@ -42,8 +42,8 @@ spec: periodSeconds: {{ .Values.readiness.periodSeconds }} env: # This sets the port that CDT will use to connect to the main appc container. - # The 32 is the node port suffix that is used in the main appc oom templates - # for nodePort3. + # The 11 is the node port suffix that is used in the main appc oom templates + # for nodePort3. This value will be configured in appc main chart in appc-cdt section. - name: CDT_PORT value: "{{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.nodePort3 }}" volumeMounts: diff --git a/kubernetes/appc/values.yaml b/kubernetes/appc/values.yaml index 45c048029e..4b47c63a42 100644 --- a/kubernetes/appc/values.yaml +++ b/kubernetes/appc/values.yaml @@ -69,8 +69,10 @@ dgbuilder: dbServiceName: appc-dbhost service: name: appc-dgbuilder + +#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3. appc-cdt: - nodePort3: 32 + nodePort3: 11 # default number of instances replicaCount: 1