summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-mariadb
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-23 11:04:00 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-23 11:04:00 +0000
commitaf614c6913a3e7d4f3dc632d4f9067f98c113d9b (patch)
tree7270fca1adaa1b814a47a73a775529ed66e8f645 /kubernetes/so/components/so-mariadb
parent87803a46f67959b3f804a409899bc382ce283763 (diff)
parent747982c26fb62c0605541117a9b8a5fd00a3fc32 (diff)
Merge "[SO] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/so/components/so-mariadb')
-rwxr-xr-xkubernetes/so/components/so-mariadb/requirements.yaml3
-rw-r--r--kubernetes/so/components/so-mariadb/templates/job.yaml4
2 files changed, 5 insertions, 2 deletions
diff --git a/kubernetes/so/components/so-mariadb/requirements.yaml b/kubernetes/so/components/so-mariadb/requirements.yaml
index 22d6333253..0dfef90cff 100755
--- a/kubernetes/so/components/so-mariadb/requirements.yaml
+++ b/kubernetes/so/components/so-mariadb/requirements.yaml
@@ -18,6 +18,9 @@ dependencies:
# a part of this chart's package and will not
# be published independently to a repo (at this point)
repository: '@local'
+ - name: repositoryGenerator
+ version: ~6.x-0
+ repository: '@local'
- name: readinessCheck
version: ~6.x-0
repository: '@local'
diff --git a/kubernetes/so/components/so-mariadb/templates/job.yaml b/kubernetes/so/components/so-mariadb/templates/job.yaml
index b3bacc1ed4..0eeba7b61a 100644
--- a/kubernetes/so/components/so-mariadb/templates/job.yaml
+++ b/kubernetes/so/components/so-mariadb/templates/job.yaml
@@ -39,7 +39,7 @@ spec:
spec:
containers:
- name: {{ include "common.fullname" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST
@@ -98,7 +98,7 @@ spec:
initContainers: {{ include "common.readinessCheck.waitFor" . | nindent 6 }}
containers:
- name: {{ include "common.name" . }}-config
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- /bin/bash