From 41aa98e6a9df43d2e8e793e0b7ce0df69d22f126 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Tue, 28 Nov 2017 11:29:50 -0500 Subject: Adjust clamp to latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: - use proper docker version - use proper environment variable Change-Id: I1fba341a9d708c3f11304410f6b0339aa1b22283 Issue-ID: OOM-472 Signed-off-by: Alexis de Talhouët --- kubernetes/clamp/templates/clamp-deployment.yaml | 7 ++++--- kubernetes/clamp/values.yaml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/clamp/templates/clamp-deployment.yaml b/kubernetes/clamp/templates/clamp-deployment.yaml index 493bb49b9e..61091a87f3 100644 --- a/kubernetes/clamp/templates/clamp-deployment.yaml +++ b/kubernetes/clamp/templates/clamp-deployment.yaml @@ -45,9 +45,10 @@ spec: containers: - env: - name: SPRING_APPLICATION_JSON - value: '{"spring.datasource.camunda.url":"jdbc:mysql://clamp-mariadb.{{ .Values.nsPrefix }}-clamp:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100","spring.datasource.camunda.username": - "root","spring.datasource.camunda.password": "{{ .Values.mysqlPassword }}", "spring.datasource.cldsdb.url":"jdbc:mysql://clamp-mariadb.{{ .Values.nsPrefix }}-clamp:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100","spring.datasource.cldsdb.username": - "root", "spring.datasource.cldsdb.password": "{{ .Values.mysqlPassword }}"}' + value: '{ + "spring.datasource.camunda.url": "jdbc:mariadb:sequential://clamp-mariadb.{{ .Values.nsPrefix }}-clamp:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647", + "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clamp-mariadb.{{ .Values.nsPrefix }}-clamp:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647" + }' image: {{ .Values.image.clampImage }}:{{ .Values.image.clampVersion }} imagePullPolicy: {{ .Values.pullPolicy }} name: clamp diff --git a/kubernetes/clamp/values.yaml b/kubernetes/clamp/values.yaml index c0362dd405..c522be071e 100644 --- a/kubernetes/clamp/values.yaml +++ b/kubernetes/clamp/values.yaml @@ -5,6 +5,6 @@ mysqlPassword: strong_pitchou image: readiness: oomk8s/readiness-check:1.0.0 clampImage: nexus3.onap.org:10001/onap/clamp - clampVersion: 1.1-STAGING-latest + clampVersion: v1.1.0 mariadbImage: nexus3.onap.org:10001/mariadb mariadbVersion: 10.1.11 -- cgit 1.2.3-korg