Gopinath Taget | 9b609e0 | 2018-03-07 16:02:50 -0800 | [diff] [blame^] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: xos-tosca |
| 5 | labels: |
| 6 | app: xos-tosca |
| 7 | spec: |
| 8 | replicas: 1 |
| 9 | template: |
| 10 | metadata: |
| 11 | labels: |
| 12 | app: xos-tosca |
| 13 | spec: |
| 14 | containers: |
| 15 | - name: xos-tosca |
| 16 | image: {{ .Values.pull_docker_registry }}{{ .Values.images.xos_tosca.repository }}:{{ .Values.images.xos_tosca.tag }} |
| 17 | ports: |
| 18 | - containerPort: 9102 |
| 19 | port: 9102 |
| 20 | protocol: TCP |
| 21 | volumeMounts: |
| 22 | - name: secret-volume |
| 23 | mountPath: /usr/local/share/ca-certificates |
| 24 | - name: xos-core-config |
| 25 | mountPath: /opt/xos-tosca/src/xos-tosca.config.yaml |
| 26 | subPath: config/xos-tosca.config.yaml |
| 27 | volumes: |
| 28 | - name: secret-volume |
| 29 | secret: |
| 30 | secretName: cert-chain-secret |
| 31 | - name: xos-core-config |
| 32 | configMap: |
| 33 | name: xos-tosca |
| 34 | items: |
| 35 | - key: config |
| 36 | path: config/xos-tosca.config.yaml |