summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-06-06 07:53:35 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2018-06-06 07:54:21 +0000
commit41a66143e6d57bdb60fe37c801a84c1c3027e894 (patch)
tree07382c8ab2ee58207576f75e26ad12c8e429af18
parentad133f1d74e9794625aea5105dfbafc881d7a3e6 (diff)
change in cdt-port in parent chart
Change-Id: I2e015139fea5454d1b2ef03f58d1fdbfd79473e6 Issue-ID: OOM-1126 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
-rw-r--r--kubernetes/appc/charts/appc-cdt/templates/deployment.yaml4
-rw-r--r--kubernetes/appc/values.yaml4
2 files changed, 5 insertions, 3 deletions
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