diff options
author | a.sreekumar <ajith.sreekumar@est.tech> | 2019-04-16 16:24:01 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@est.tech> | 2019-04-16 16:24:01 +0000 |
commit | 7f4efaf2d836096c6c280687f4053b2beb478850 (patch) | |
tree | a0d0be22f76e195aa73e96ec1b9c80e581f1fa9d /kubernetes/policy/charts/policy-apex-pdp/templates | |
parent | 86cf469cf73013becf08e91ae8421a8519c77d53 (diff) |
Changes to support onappf PDP-A
Adding configuration files and changes to support onap policy framework
PDP-A.
Change-Id: I4ccbb172185f7abbf6392f790de9411e45697100
Issue-ID: POLICY-1632
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'kubernetes/policy/charts/policy-apex-pdp/templates')
-rw-r--r-- | kubernetes/policy/charts/policy-apex-pdp/templates/configmap.yaml | 3 | ||||
-rw-r--r-- | kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/kubernetes/policy/charts/policy-apex-pdp/templates/configmap.yaml b/kubernetes/policy/charts/policy-apex-pdp/templates/configmap.yaml index 318ad34491..937a5b4afd 100644 --- a/kubernetes/policy/charts/policy-apex-pdp/templates/configmap.yaml +++ b/kubernetes/policy/charts/policy-apex-pdp/templates/configmap.yaml @@ -22,5 +22,4 @@ metadata: name: {{ include "common.fullname" . }}-configmap namespace: {{ include "common.namespace" . }} data: -{{ tpl (.Files.Glob "resources/config/config.json").AsConfig . | indent 2 }} - +{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} diff --git a/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml b/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml index 29a24e66bf..f1c024bc4e 100644 --- a/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml +++ b/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml @@ -42,9 +42,11 @@ spec: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" command: - - /opt/app/policy/apex-pdp/bin/apexEngine.sh + - /opt/app/policy/apex-pdp/bin/apexOnapPf.sh - -c - - /home/apexuser/config/config.json + - /home/apexuser/config/OnapPfConfig.json + - -p + - /home/apexuser/config/topic.properties imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} ports: - containerPort: {{ .Values.service.externalPort }} |