diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-04-16 21:31:43 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2018-04-16 21:31:43 -0500 |
commit | 46409696760068c80703498d3a3d4eec51f8e5cc (patch) | |
tree | 1c8c69e1ef703df53174dbed3e66f24debe8e4fa /kubernetes/policy | |
parent | 3004a085973288456e15518364172b0a5b8295b3 (diff) |
changes to ensure pap/pdps comes healthy
Change-Id: I4ac01cabaaed0796659c22a545cc8be19138c6d1
Issue-ID: OOM-904
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'kubernetes/policy')
-rw-r--r-- | kubernetes/policy/charts/mariadb/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/policy/charts/policy-common/resources/config/pe/base.conf | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/policy/charts/mariadb/templates/deployment.yaml b/kubernetes/policy/charts/mariadb/templates/deployment.yaml index 65eb02cd6e..1709af7df2 100644 --- a/kubernetes/policy/charts/mariadb/templates/deployment.yaml +++ b/kubernetes/policy/charts/mariadb/templates/deployment.yaml @@ -39,6 +39,8 @@ spec: # disable liveness probe when breakpoints set in debugger # so K8s doesn't restart unresponsive container {{- if eq .Values.liveness.enabled true }} + args: + - --lower-case-table-names=1 livenessProbe: tcpSocket: port: {{ .Values.service.internalPort }} diff --git a/kubernetes/policy/charts/policy-common/resources/config/pe/base.conf b/kubernetes/policy/charts/policy-common/resources/config/pe/base.conf index c335d4acab..4549406f76 100644 --- a/kubernetes/policy/charts/policy-common/resources/config/pe/base.conf +++ b/kubernetes/policy/charts/policy-common/resources/config/pe/base.conf @@ -14,7 +14,8 @@ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 POLICY_HOME=/opt/app/policy -KEYSTORE_PASSWD=PolicyR0ck$ +POLICY_LOGS=/var/log/onap +KEYSTORE_PASSWD=Pol1cy_0nap JDBC_DRIVER=org.mariadb.jdbc.Driver JDBC_URL=jdbc:mariadb://{{ .Release.Name }}-{{ .Values.global.mariadb.nameOverride }}:{{.Values.config.mariadbPort}}/onap_sdk?failOverReadOnly=false&autoReconnect=true |