diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-11-03 14:30:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-03 14:30:43 +0000 |
commit | 2a40bd41f8ff63daf76943aa49252b20df4121de (patch) | |
tree | 85e31d6ef0f7b9190f91256bbc1233ed96cb94af /kubernetes/so/components/so-nssmf-adapter | |
parent | 4569ca7ac777d5edbb26dcdf97fc94f6b81c683c (diff) | |
parent | 92b606b267cf7e48336f3383bfb459253052c88c (diff) |
Merge "[SO] Remove so-db-secrets"
Diffstat (limited to 'kubernetes/so/components/so-nssmf-adapter')
-rwxr-xr-x | kubernetes/so/components/so-nssmf-adapter/templates/deployment.yaml | 10 | ||||
-rwxr-xr-x | kubernetes/so/components/so-nssmf-adapter/values.yaml | 3 |
2 files changed, 5 insertions, 8 deletions
diff --git a/kubernetes/so/components/so-nssmf-adapter/templates/deployment.yaml b/kubernetes/so/components/so-nssmf-adapter/templates/deployment.yaml index 50bb9ce233..c213319714 100755 --- a/kubernetes/so/components/so-nssmf-adapter/templates/deployment.yaml +++ b/kubernetes/so/components/so-nssmf-adapter/templates/deployment.yaml @@ -66,15 +66,9 @@ spec: ports: {{- include "common.containerPorts" . | nindent 12 }} 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 14 }} - name: DB_PASSWORD diff --git a/kubernetes/so/components/so-nssmf-adapter/values.yaml b/kubernetes/so/components/so-nssmf-adapter/values.yaml index 3bfe1b212f..da36e9a3a7 100755 --- a/kubernetes/so/components/so-nssmf-adapter/values.yaml +++ b/kubernetes/so/components/so-nssmf-adapter/values.yaml @@ -29,6 +29,9 @@ global: aaf: auth: header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= + mariadbGalera: + serviceName: mariadb-galera + servicePort: '3306' ################################################################# # Secrets metaconfig |