From: garciadeblas Date: Tue, 2 Jul 2024 15:19:35 +0000 (+0200) Subject: Remove mysql env vars from ro-deployment X-Git-Tag: release-v16.0-start~19 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1a9a54953221997bea179e63f0075f032a238732;p=osm%2Fdevops.git Remove mysql env vars from ro-deployment Change-Id: I4cf44a084d5be7ed14fe65201d605cb84baa3ee4 Signed-off-by: garciadeblas --- 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: