Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | labels: |
| 5 | app: vid-server |
| 6 | name: vid-server |
kerenj | bf4b4a0 | 2017-08-23 07:39:14 +0000 | [diff] [blame^] | 7 | namespace: {{ .Values.NS }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 8 | spec: |
| 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 | ], |
kerenj | bf4b4a0 | 2017-08-23 07:39:14 +0000 | [diff] [blame^] | 38 | "image": "{{ .Values.image.readiness }}", |
| 39 | "imagePullPolicy": "{{ .Values.pullPolicy }}", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 40 | "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 Khinda | aa5ea3e | 2017-08-21 16:11:03 -0400 | [diff] [blame] | 79 | value: vid_openecomp_epsdk |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 80 | - name: VID_MYSQL_USER |
| 81 | value: vidadmin |
| 82 | - name: VID_MYSQL_PASS |
| 83 | value: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 84 | - name: VID_MYSQL_MAXCONNECTIONS |
| 85 | value: "5" |
kerenj | bf4b4a0 | 2017-08-23 07:39:14 +0000 | [diff] [blame^] | 86 | image: {{ .Values.image.vid }} |
| 87 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 88 | name: vid-server |
| 89 | ports: |
| 90 | - containerPort: 8080 |
| 91 | readinessProbe: |
| 92 | tcpSocket: |
| 93 | port: 8080 |
| 94 | initialDelaySeconds: 5 |
| 95 | periodSeconds: 10 |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 96 | imagePullSecrets: |
| 97 | - name: onap-docker-registry-key |