blob: d0002662c61776ebc1eb37f72880d64fd0286340 [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:
BorislavG8bfc6cf2018-02-27 15:04:26 +00005 name: vnfsdk-postgres
6 namespace: {{ .Values.nsPrefix }}
Dusan Rozman75c07c42017-09-25 10:28:28 -04007spec:
8 replicas: 1
9 selector:
10 matchLabels:
11 app: postgres
12 template:
13 metadata:
14 labels:
15 app: postgres
BorislavG8bfc6cf2018-02-27 15:04:26 +000016 name: vnfsdk-postgres
Dusan Rozman75c07c42017-09-25 10:28:28 -040017 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
BorislavG8bfc6cf2018-02-27 15:04:26 +000026#{{ end }}