summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-23 11:21:23 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-23 11:21:23 +0000
commit37ff8414e2a492addb19a6bdedde4e76c768edd3 (patch)
tree7718254706a88139a780cdc6a8c6c5aefb616c55 /kubernetes/portal/components/portal-mariadb/templates/deployment.yaml
parentb6b8feb8263bc859d48640033087b38f295dfeb8 (diff)
parent585dd9dd7c02c76745cc7f3ec8a78b9fb0fc352b (diff)
Merge "[PORTAL] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/portal/components/portal-mariadb/templates/deployment.yaml')
-rw-r--r--kubernetes/portal/components/portal-mariadb/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml b/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml
index 250335f0ce..7e94c76896 100644
--- a/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml
+++ b/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml
@@ -38,14 +38,14 @@ spec:
spec:
initContainers:
- name: volume-permissions
- image: "{{ .Values.global.busyboxRepository }}/{{ .Values.global.busyboxImage }}"
+ image: {{ include "repositoryGenerator.image.busybox" . }}
command: ['sh', '-c', 'chmod -R 777 /var/lib/mysql']
volumeMounts:
- mountPath: /var/lib/mysql
name: mariadb-data
containers:
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports:
- containerPort: {{ .Values.service.internalPort }}