blob: 76721d1eae631becff96f235b50cb14f32595168 [file] [log] [blame]
Dusan Rozman75c07c42017-09-25 10:28:28 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: postgres
5 namespace: {{ .Values.nsPrefix }}-vnfsdk
6spec:
7 replicas: 1
8 selector:
9 matchLabels:
10 app: postgres
11 template:
12 metadata:
13 labels:
14 app: postgres
15 name: postgres
16 spec:
17 hostname: postgres
18 containers:
19 - args:
20 image: {{ .Values.image.postgresImage }}:{{ .Values.image.postgresVersion }}
21 imagePullPolicy: {{ .Values.pullPolicy }}
22 name: "postgres"
23 imagePullSecrets:
24 - name: {{ .Values.nsPrefix }}-docker-registry-key