summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/templates/job.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-03-24 03:25:05 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-03-25 23:48:09 +0100
commite3519ef72fc0ca8ea2c80740606ef512080d579a (patch)
treefdcd582723caa5a0e06be478d167951e69a067a3 /kubernetes/vid/templates/job.yaml
parent78942175bc10ad05bd7b2005accaa9ea78a0cdb8 (diff)
[VID] Use faster version of common secret templates
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I87995de66dca0b3a6d159a09ee2dc8fca2989cce
Diffstat (limited to 'kubernetes/vid/templates/job.yaml')
-rw-r--r--kubernetes/vid/templates/job.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/vid/templates/job.yaml b/kubernetes/vid/templates/job.yaml
index 75e40a1201..724b4e11a6 100644
--- a/kubernetes/vid/templates/job.yaml
+++ b/kubernetes/vid/templates/job.yaml
@@ -61,11 +61,11 @@ spec:
- /dbcmd-config/db_cmd.sh
env:
- name: MYSQL_PASSWORD
- {{- include "common.secret.envFromSecret" (dict "global" . "uid" "vid-db-user-secret" "key" "password") | indent 10 }}
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "vid-db-user-secret" "key" "password") | indent 10 }}
- name: MYSQL_HOST
value: {{ index .Values "mariadb-galera" "service" "name" }}
- name: MYSQL_USER
- {{- include "common.secret.envFromSecret" (dict "global" . "uid" "vid-db-user-secret" "key" "login") | indent 10 }}
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "vid-db-user-secret" "key" "login") | indent 10 }}
- name: MYSQL_PORT
value: "{{ index .Values "mariadb-galera" "service" "internalPort" }}"
restartPolicy: Never