aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-04-16 21:31:43 -0500
committerJorge Hernandez <jh1730@att.com>2018-04-16 21:31:43 -0500
commit46409696760068c80703498d3a3d4eec51f8e5cc (patch)
tree1c8c69e1ef703df53174dbed3e66f24debe8e4fa /kubernetes
parent3004a085973288456e15518364172b0a5b8295b3 (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')
-rw-r--r--kubernetes/policy/charts/mariadb/templates/deployment.yaml2
-rw-r--r--kubernetes/policy/charts/policy-common/resources/config/pe/base.conf3
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