BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 1 | apiVersion: apps/v1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: $MR_STUB_APP_NAME |
| 5 | namespace: $KUBE_ONAP_NAMESPACE |
| 6 | labels: |
| 7 | run: $MR_STUB_APP_NAME |
| 8 | autotest: MR |
| 9 | spec: |
| 10 | replicas: 1 |
| 11 | selector: |
| 12 | matchLabels: |
| 13 | run: $MR_STUB_APP_NAME |
| 14 | template: |
| 15 | metadata: |
| 16 | labels: |
| 17 | run: $MR_STUB_APP_NAME |
| 18 | autotest: MR |
| 19 | spec: |
| 20 | containers: |
| 21 | - name: $MR_STUB_APP_NAME |
| 22 | image: $MRSTUB_IMAGE |
BjornMagnussonXA | 483ee33 | 2021-04-08 01:35:24 +0200 | [diff] [blame] | 23 | imagePullPolicy: $KUBE_IMAGE_PULL_POLICY |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 24 | ports: |
| 25 | - name: http |
| 26 | containerPort: $MR_INTERNAL_PORT |
| 27 | - name: https |
| 28 | containerPort: $MR_INTERNAL_SECURE_PORT |
| 29 | env: |
| 30 | - name: TOPIC_READ |
| 31 | value: $TOPIC_READ |
| 32 | - name: TOPIC_WRITE |
| 33 | value: $TOPIC_WRITE |