From 1a9a54953221997bea179e63f0075f032a238732 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 2 Jul 2024 17:19:35 +0200 Subject: [PATCH] Remove mysql env vars from ro-deployment Change-Id: I4cf44a084d5be7ed14fe65201d605cb84baa3ee4 Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 1 - installers/helm/osm/templates/ro/ro-deployment.yaml | 5 ----- 2 files changed, 6 deletions(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 679e834c..e75f2905 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -213,7 +213,6 @@ EOF" # Generate helm values to be passed with --set OSM_HELM_OPTS="" # OSM_HELM_OPTS="${OSM_HELM_OPTS} --set nbi.useOsmSecret=false" - # OSM_HELM_OPTS="${OSM_HELM_OPTS} --set mysql.dbHostPath=${OSM_NAMESPACE_VOL}" # not needed as mysql is now bitnami helm chart OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.repositoryBase=${DOCKER_REGISTRY_URL}${DOCKER_USER}" [ ! "$OSM_DOCKER_TAG" == "testing-daily" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set-string global.image.tag=${OSM_DOCKER_TAG}" diff --git a/installers/helm/osm/templates/ro/ro-deployment.yaml b/installers/helm/osm/templates/ro/ro-deployment.yaml index 7319ebd1..6ae8f8af 100644 --- a/installers/helm/osm/templates/ro/ro-deployment.yaml +++ b/installers/helm/osm/templates/ro/ro-deployment.yaml @@ -78,11 +78,6 @@ spec: secretKeyRef: name: {{ include "osm.fullname" . }}-secret key: OSM_DATABASE_COMMONKEY - - name: RO_DB_ROOT_PASSWORD - valueFrom: - secretKeyRef: - name: mysql - key: mysql-root-password {{- end }} {{- with .Values.global.nodeSelector }} nodeSelector: -- 2.25.1