summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-mariadb/templates
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-03 14:30:43 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-03 14:30:43 +0000
commit2a40bd41f8ff63daf76943aa49252b20df4121de (patch)
tree85e31d6ef0f7b9190f91256bbc1233ed96cb94af /kubernetes/so/components/so-mariadb/templates
parent4569ca7ac777d5edbb26dcdf97fc94f6b81c683c (diff)
parent92b606b267cf7e48336f3383bfb459253052c88c (diff)
Merge "[SO] Remove so-db-secrets"
Diffstat (limited to 'kubernetes/so/components/so-mariadb/templates')
-rw-r--r--kubernetes/so/components/so-mariadb/templates/job.yaml10
1 files changed, 2 insertions, 8 deletions
diff --git a/kubernetes/so/components/so-mariadb/templates/job.yaml b/kubernetes/so/components/so-mariadb/templates/job.yaml
index 36481d461f..cb7fcb352a 100644
--- a/kubernetes/so/components/so-mariadb/templates/job.yaml
+++ b/kubernetes/so/components/so-mariadb/templates/job.yaml
@@ -127,15 +127,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: MYSQL_ROOT_PASSWORD
{{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-root-pass" "key" "password") | indent 10 }}
- name: DB_USER