blob: 3ab9f9a2b985cb77b8385713544ab8b65320c5bb [file] [log] [blame]
HuabingZhaofe67ad72017-08-29 11:09:49 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: msb-iag
HuabingZhao3f1a25e2017-09-02 14:45:28 +08005 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaofe67ad72017-08-29 11:09:49 +08006spec:
HuabingZhao77d44cd2017-08-30 09:30:03 +08007 replicas: {{ .Values.iagReplicas }}
HuabingZhaofe67ad72017-08-29 11:09:49 +08008 selector:
9 matchLabels:
10 app: msb-iag
11 template:
12 metadata:
13 labels:
14 app: msb-iag
15 name: msb-iag
16 spec:
17 hostname: msb-iag
18 containers:
19 - args:
20 image: nexus3.onap.org:10001/onap/msb/msb_apigateway
21 name: "msb-iag"
22 env:
23 - name: CONSUL_IP
24 value: "{{ .Values.consulClusterIP}}"
25 - name: SDCLIENT_IP
26 value: "{{ .Values.discoveryClusterIP}}"
27 - name: ROUTE_LABELS
28 value: "visualRange:1"
29 ports:
30 - containerPort: {{ .Values.iagPort }}
31 name: msb-iag
32 readinessProbe:
33 tcpSocket:
34 port: {{ .Values.iagPort }}
35 initialDelaySeconds: 5
36 periodSeconds: 10
37 imagePullPolicy: "{{ .Values.pullPolicy}}"
HuabingZhaoba8f3492017-09-09 10:17:20 +080038 imagePullSecrets:
39 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
HuabingZhaofe67ad72017-08-29 11:09:49 +080040