Remove mysql env vars from ro-deployment 60/14460/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 2 Jul 2024 15:19:35 +0000 (17:19 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 2 Jul 2024 15:19:52 +0000 (17:19 +0200)
Change-Id: I4cf44a084d5be7ed14fe65201d605cb84baa3ee4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh
installers/helm/osm/templates/ro/ro-deployment.yaml

index 679e834..e75f290 100755 (executable)
@@ -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}"
index 7319ebd..6ae8f8a 100644 (file)
@@ -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: