From 92b606b267cf7e48336f3383bfb459253052c88c Mon Sep 17 00:00:00 2001 From: krishnaa96 Date: Fri, 30 Oct 2020 11:29:21 +0530 Subject: [SO] Remove so-db-secrets so-db-secrets was used to create secrets for db creds. But now, they are being created from secrets metaconfig. It is not needed Issue-ID: OOM-2534 Signed-off-by: Krishna Moorthy Change-Id: I0f0514b0b704e4643253b793ea4bd9ad92329759 --- .../components/so-openstack-adapter/templates/deployment.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'kubernetes/so/components/so-openstack-adapter/templates') diff --git a/kubernetes/so/components/so-openstack-adapter/templates/deployment.yaml b/kubernetes/so/components/so-openstack-adapter/templates/deployment.yaml index 108b928eb5..60745b108b 100755 --- a/kubernetes/so/components/so-openstack-adapter/templates/deployment.yaml +++ b/kubernetes/so/components/so-openstack-adapter/templates/deployment.yaml @@ -73,15 +73,9 @@ spec: {{- end }} env: - name: DB_HOST - valueFrom: - secretKeyRef: - name: {{ include "common.release" . }}-so-db-secrets - key: mariadb.readwrite.host + value: {{ include "common.mariadbService" . }} - name: DB_PORT - valueFrom: - secretKeyRef: - name: {{ include "common.release" . }}-so-db-secrets - key: mariadb.readwrite.port + value: {{ include "common.mariadbPort" . | quote }} - name: DB_USERNAME {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-user-creds" "key" "login") | indent 10 }} - name: DB_PASSWORD -- cgit 1.2.3-korg