diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-11-27 15:41:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-27 15:41:34 +0000 |
commit | a362d9ba0fd2ece5cd39d4b43ae92ea88486db35 (patch) | |
tree | 3233a94fe659ed4983121be248c6c4eee69a505f /kubernetes/policy/charts/policy-xacml-pdp | |
parent | d13409e21b17ec8e01d9176f0399c58f14e528bb (diff) | |
parent | 4898dc0d5b06479f67277886549dbd64416821a4 (diff) |
Merge "[Policy] Use common mariadb galera chart"
Diffstat (limited to 'kubernetes/policy/charts/policy-xacml-pdp')
-rw-r--r-- | kubernetes/policy/charts/policy-xacml-pdp/resources/config/xacml.properties | 6 | ||||
-rw-r--r-- | kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/policy/charts/policy-xacml-pdp/resources/config/xacml.properties b/kubernetes/policy/charts/policy-xacml-pdp/resources/config/xacml.properties index be9a3faa45..29feeb6e24 100644 --- a/kubernetes/policy/charts/policy-xacml-pdp/resources/config/xacml.properties +++ b/kubernetes/policy/charts/policy-xacml-pdp/resources/config/xacml.properties @@ -48,6 +48,6 @@ xacml.pip.engines=count-recent-operations,get-operation-outcome # JPA Properties # javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver -javax.persistence.jdbc.url=jdbc:mariadb://{{ .Values.global.mariadb.nameOverride }}:3306/operationshistory -javax.persistence.jdbc.user=policy_user -javax.persistence.jdbc.password=cG9saWN5X3VzZXI= +javax.persistence.jdbc.url=jdbc:mariadb://{{ .Values.global.mariadb.service.name }}:{{ .Values.global.mariadb.service.internalPort }}/operationshistory +javax.persistence.jdbc.user={{ .Values.global.mariadb.config.userName }} +javax.persistence.jdbc.password={{ .Values.global.mariadb.config.userPassword | b64enc }} diff --git a/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml b/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml index da9b0197d3..ced19b9f52 100644 --- a/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml +++ b/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: - /root/ready.py args: - --container-name - - {{ .Values.global.mariadb.nameOverride }} + - {{ .Release.Name }}-galera-config env: - name: NAMESPACE valueFrom: |