yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableVnfsdkPostgres }} |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: postgres |
| 6 | namespace: {{ .Values.nsPrefix }}-vnfsdk |
| 7 | spec: |
| 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 |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 26 | #{{ end }} |