Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: postgres |
| 5 | namespace: {{ .Values.nsPrefix }}-vnfsdk |
| 6 | spec: |
| 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 |