From 6742989bc0e4319b8ba216f9fa7015721b7bc7f4 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Mon, 9 May 2022 14:06:10 +0300 Subject: [PATCH] Add version to mongodb and postgres images --- .../eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml | 2 +- .../charts/postgres/templates/postgres-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml b/etc/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml index c69e67fe..53beb942 100644 --- a/etc/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml +++ b/etc/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml @@ -14,7 +14,7 @@ spec: app: {{ .Release.Name }}-{{ .Chart.Name }} spec: containers: - - image: mongo + - image: "mongo:4.2" name: {{ .Release.Name }}-{{ .Chart.Name }} {{- if eq .Release.Name "es-az" }} volumeMounts: diff --git a/etc/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml b/etc/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml index 7597b4d7..dba81cf4 100644 --- a/etc/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml +++ b/etc/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml @@ -14,7 +14,7 @@ spec: app: {{ .Release.Name }}-{{ .Chart.Name }} spec: containers: - - image: postgres + - image: "postgres:14.1" name: {{ .Release.Name }}-{{ .Chart.Name }} {{- if eq .Release.Name "es-az" }} volumeMounts: