summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-05-09 08:50:59 -0500
committerJorge Hernandez <jh1730@att.com>2018-05-09 12:18:22 -0500
commit4519ccc621f38b57f6aa049d50e4dcfb3a71def5 (patch)
tree5068e28badbe1f37fb7436d81076a5b0467ecf02
parent54eab4210462d9b414fe07600b93dee450f0e14e (diff)
Undo PDP-X swagger port exposure
Undoing these changes since it causes problems in the interactions between PAP and PDP-X components in the group. set default value for oom dcae dmaap consumer group Change-Id: I213870a536e8202d0b7462e0a33cbbbffff15db6 Issue-ID: POLICY-778 Signed-off-by: Jorge Hernandez <jh1730@att.com>
-rw-r--r--kubernetes/policy/charts/drools/resources/config/opt/policy/config/drools/base.conf1
-rw-r--r--kubernetes/policy/charts/pdp/templates/service.yaml1
-rw-r--r--kubernetes/policy/charts/pdp/values.yaml4
3 files changed, 4 insertions, 2 deletions
diff --git a/kubernetes/policy/charts/drools/resources/config/opt/policy/config/drools/base.conf b/kubernetes/policy/charts/drools/resources/config/opt/policy/config/drools/base.conf
index 3b2c1f07a6..9202b0ada7 100644
--- a/kubernetes/policy/charts/drools/resources/config/opt/policy/config/drools/base.conf
+++ b/kubernetes/policy/charts/drools/resources/config/opt/policy/config/drools/base.conf
@@ -70,6 +70,7 @@ PDP_ENVIRONMENT=TEST
DCAE_TOPIC=unauthenticated.DCAE_CL_OUTPUT
DCAE_SERVERS=message-router
+DCAE_CONSUMER_GROUP=dcae.policy.shared
# Open DMaaP
diff --git a/kubernetes/policy/charts/pdp/templates/service.yaml b/kubernetes/policy/charts/pdp/templates/service.yaml
index fc608d5ab8..d44fbb9f28 100644
--- a/kubernetes/policy/charts/pdp/templates/service.yaml
+++ b/kubernetes/policy/charts/pdp/templates/service.yaml
@@ -49,3 +49,4 @@ spec:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
sessionAffinity: None
+ clusterIP: None
diff --git a/kubernetes/policy/charts/pdp/values.yaml b/kubernetes/policy/charts/pdp/values.yaml
index f08045631e..9a537139c4 100644
--- a/kubernetes/policy/charts/pdp/values.yaml
+++ b/kubernetes/policy/charts/pdp/values.yaml
@@ -58,11 +58,11 @@ readiness:
periodSeconds: 10
service:
- type: NodePort
+ type: ClusterIP
name: pdp
portName: pdp
+ internalPort: 8081
externalPort: 8081
- nodePort: 37
ingress:
enabled: false