Browse Source

Add version to mongodb and postgres images

pull/111/head
Enis Necipoglu 4 years ago
parent
commit
6742989bc0
  1. 2
      etc/k8s/eshoponabp/charts/mongodb/templates/mongodb-deployment.yaml
  2. 2
      etc/k8s/eshoponabp/charts/postgres/templates/postgres-deployment.yaml

2
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:

2
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:

Loading…
Cancel
Save