blob: 58ce80b80b8fd6f58fd4a27b9b419a4e67d25603 [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
kerenjbf4b4a02017-08-23 07:39:14 +00007 namespace: {{ .Values.NS }}
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
47 value: sdc-be.onap-sdc
48 - name: ASDC_CLIENT_REST_AUTH
49 value: Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
50 - name: ASDC_CLIENT_REST_PORT
51 value: "8080"
52 - name: VID_AAI_HOST
53 value: aai-service.onap-aai
54 - name: VID_AAI_PORT
55 value: "8443"
56 - name: VID_ECOMP_SHARED_CONTEXT_REST_URL
57 value: http://portalapps.onap-portal:8989/ECOMPPORTAL/context
58 - name: VID_MSO_SERVER_URL
59 value: http://mso.onap-mso:8080
60 - 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
67 value: http://portalapps.onap-portal:8989/ECOMPPORTAL/login.htm
68 - name: VID_ECOMP_REST_URL
69 value: http://portalapps.onap-portal:8989/ECOMPPORTAL/auxapi
70 - name: VID_CONTACT_US_LINK
71 value: https://todo_contact_us_link.com
72 - name: VID_UEB_URL_LIST
73 value: dmaap.onap-message-router
74 - 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:
97 - name: onap-docker-registry-key