blob: c535b440c138f76f78321ecf72df30f3d7260057 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 labels:
5 app: vid-server
6 name: vid-server
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00007 namespace: "{{ .Values.nsPrefix }}-vid"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04008spec:
9 selector:
10 matchLabels:
11 app: vid-server
12 template:
13 metadata:
14 labels:
15 app: vid-server
16 name: vid-server
17 annotations:
18 pod.beta.kubernetes.io/init-containers: '[
19 {
20 "args": [
21 "--container-name",
22 "vid-mariadb"
23 ],
24 "command": [
25 "/root/ready.py"
26 ],
27 "env": [
28 {
29 "name": "NAMESPACE",
30 "valueFrom": {
31 "fieldRef": {
32 "apiVersion": "v1",
33 "fieldPath": "metadata.namespace"
34 }
35 }
36 }
37 ],
kerenjbf4b4a02017-08-23 07:39:14 +000038 "image": "{{ .Values.image.readiness }}",
39 "imagePullPolicy": "{{ .Values.pullPolicy }}",
Mandeep Khindad6ea9872017-06-24 11:49:37 -040040 "name": "vid-server-readiness"
41 }
42 ]'
43 spec:
44 containers:
45 - env:
46 - name: ASDC_CLIENT_REST_HOST
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000047 value: sdc-be.{{ .Values.nsPrefix }}-sdc
Mandeep Khindad6ea9872017-06-24 11:49:37 -040048 - name: ASDC_CLIENT_REST_AUTH
49 value: Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
50 - name: ASDC_CLIENT_REST_PORT
51 value: "8080"
52 - name: VID_AAI_HOST
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000053 value: aai-service.{{ .Values.nsPrefix }}-aai
Mandeep Khindad6ea9872017-06-24 11:49:37 -040054 - name: VID_AAI_PORT
55 value: "8443"
56 - name: VID_ECOMP_SHARED_CONTEXT_REST_URL
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000057 value: http://portalapps.{{ .Values.nsPrefix }}-portal:8989/ECOMPPORTAL/context
Mandeep Khindad6ea9872017-06-24 11:49:37 -040058 - name: VID_MSO_SERVER_URL
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000059 value: http://mso.{{ .Values.nsPrefix }}-mso:8080
Mandeep Khindad6ea9872017-06-24 11:49:37 -040060 - name: VID_MSO_PASS
61 value: 51515201a8d4c5c08d533db9bd1e1a9b
62 - name: MSO_DME2_SERVER_URL
63 value: http://localhost:8081
64 - name: MSO_DME2_ENABLED
65 value: "false"
66 - name: VID_ECOMP_REDIRECT_URL
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000067 value: http://portalapps.{{ .Values.nsPrefix }}-portal:8989/ECOMPPORTAL/login.htm
Mandeep Khindad6ea9872017-06-24 11:49:37 -040068 - name: VID_ECOMP_REST_URL
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000069 value: http://portalapps.{{ .Values.nsPrefix }}-portal:8989/ECOMPPORTAL/auxapi
Mandeep Khindad6ea9872017-06-24 11:49:37 -040070 - name: VID_CONTACT_US_LINK
71 value: https://todo_contact_us_link.com
72 - name: VID_UEB_URL_LIST
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000073 value: dmaap.{{ .Values.nsPrefix }}-message-router
Mandeep Khindad6ea9872017-06-24 11:49:37 -040074 - name: VID_MYSQL_HOST
75 value: vid-mariadb
76 - name: VID_MYSQL_PORT
77 value: "3306"
78 - name: VID_MYSQL_DBNAME
Mandeep Khindaaa5ea3e2017-08-21 16:11:03 -040079 value: vid_openecomp_epsdk
Mandeep Khindad6ea9872017-06-24 11:49:37 -040080 - name: VID_MYSQL_USER
81 value: vidadmin
82 - name: VID_MYSQL_PASS
83 value: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
84 - name: VID_MYSQL_MAXCONNECTIONS
85 value: "5"
kerenjbf4b4a02017-08-23 07:39:14 +000086 image: {{ .Values.image.vid }}
87 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040088 name: vid-server
89 ports:
90 - containerPort: 8080
91 readinessProbe:
92 tcpSocket:
93 port: 8080
94 initialDelaySeconds: 5
95 periodSeconds: 10
Borislav Glozman5197e2e2017-07-24 10:45:28 +030096 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000097 - name: "{{ .Values.nsPrefix }}-docker-registry-key"