blob: f4c4ab82c57cef8eb778a104bca1cc29ea4d1fa5 [file] [log] [blame]
Gopinath Taget9b609e02018-03-07 16:02:50 -08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: xos-tosca
5 labels:
6 app: xos-tosca
7spec:
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