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 |
| 7 | spec: |
| 8 | selector: |
| 9 | matchLabels: |
| 10 | app: vid-server |
| 11 | template: |
| 12 | metadata: |
| 13 | labels: |
| 14 | app: vid-server |
| 15 | name: vid-server |
| 16 | annotations: |
| 17 | pod.beta.kubernetes.io/init-containers: '[ |
| 18 | { |
| 19 | "args": [ |
| 20 | "--container-name", |
| 21 | "vid-mariadb" |
| 22 | ], |
| 23 | "command": [ |
| 24 | "/root/ready.py" |
| 25 | ], |
| 26 | "env": [ |
| 27 | { |
| 28 | "name": "NAMESPACE", |
| 29 | "valueFrom": { |
| 30 | "fieldRef": { |
| 31 | "apiVersion": "v1", |
| 32 | "fieldPath": "metadata.namespace" |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | ], |
| 37 | "image": "oomk8s/readiness-check:1.0.0", |
| 38 | "imagePullPolicy": "Always", |
| 39 | "name": "vid-server-readiness" |
| 40 | } |
| 41 | ]' |
| 42 | spec: |
| 43 | containers: |
| 44 | - env: |
| 45 | - name: ASDC_CLIENT_REST_HOST |
| 46 | value: sdc-be.onap-sdc |
| 47 | - name: ASDC_CLIENT_REST_AUTH |
| 48 | value: Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= |
| 49 | - name: ASDC_CLIENT_REST_PORT |
| 50 | value: "8080" |
| 51 | - name: VID_AAI_HOST |
| 52 | value: aai-service.onap-aai |
| 53 | - name: VID_AAI_PORT |
| 54 | value: "8443" |
| 55 | - name: VID_ECOMP_SHARED_CONTEXT_REST_URL |
| 56 | value: http://portalapps.onap-portal:8989/ECOMPPORTAL/context |
| 57 | - name: VID_MSO_SERVER_URL |
| 58 | value: http://mso.onap-mso:8080 |
| 59 | - name: VID_MSO_PASS |
| 60 | value: 51515201a8d4c5c08d533db9bd1e1a9b |
| 61 | - name: MSO_DME2_SERVER_URL |
| 62 | value: http://localhost:8081 |
| 63 | - name: MSO_DME2_ENABLED |
| 64 | value: "false" |
| 65 | - name: VID_ECOMP_REDIRECT_URL |
| 66 | value: http://portalapps.onap-portal:8989/ECOMPPORTAL/login.htm |
| 67 | - name: VID_ECOMP_REST_URL |
| 68 | value: http://portalapps.onap-portal:8989/ECOMPPORTAL/auxapi |
| 69 | - name: VID_CONTACT_US_LINK |
| 70 | value: https://todo_contact_us_link.com |
| 71 | - name: VID_UEB_URL_LIST |
| 72 | value: dmaap.onap-message-router |
| 73 | - name: VID_MYSQL_HOST |
| 74 | value: vid-mariadb |
| 75 | - name: VID_MYSQL_PORT |
| 76 | value: "3306" |
| 77 | - name: VID_MYSQL_DBNAME |
Mandeep Khinda | aa5ea3e | 2017-08-21 16:11:03 -0400 | [diff] [blame^] | 78 | value: vid_openecomp_epsdk |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 79 | - name: VID_MYSQL_USER |
| 80 | value: vidadmin |
| 81 | - name: VID_MYSQL_PASS |
| 82 | value: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 83 | - name: VID_MYSQL_MAXCONNECTIONS |
| 84 | value: "5" |
Mandeep Khinda | aa5ea3e | 2017-08-21 16:11:03 -0400 | [diff] [blame^] | 85 | image: nexus3.onap.org:10001/openecomp/vid:1.1-STAGING-latest |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 86 | name: vid-server |
| 87 | ports: |
| 88 | - containerPort: 8080 |
| 89 | readinessProbe: |
| 90 | tcpSocket: |
| 91 | port: 8080 |
| 92 | initialDelaySeconds: 5 |
| 93 | periodSeconds: 10 |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 94 | imagePullSecrets: |
| 95 | - name: onap-docker-registry-key |