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