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: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 5 | name: vnfsdk-postgres |
| 6 | namespace: {{ .Values.nsPrefix }} |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 7 | spec: |
| 8 | replicas: 1 |
| 9 | selector: |
| 10 | matchLabels: |
| 11 | app: postgres |
| 12 | template: |
| 13 | metadata: |
| 14 | labels: |
| 15 | app: postgres |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 16 | name: vnfsdk-postgres |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 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 |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 26 | #{{ end }} |