Change-Id: I4cf44a084d5be7ed14fe65201d605cb84baa3ee4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
# 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}"
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: