BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 1 | apiVersion: apps/v1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: $KUBE_PROXY_APP_NAME |
| 5 | namespace: $KUBE_SIM_NAMESPACE |
| 6 | labels: |
| 7 | run: $KUBE_PROXY_APP_NAME |
| 8 | autotest: KUBEPROXY |
| 9 | spec: |
| 10 | replicas: 1 |
| 11 | selector: |
| 12 | matchLabels: |
| 13 | run: $KUBE_PROXY_APP_NAME |
| 14 | template: |
| 15 | metadata: |
| 16 | labels: |
| 17 | run: $KUBE_PROXY_APP_NAME |
| 18 | autotest: KUBEPROXY |
| 19 | spec: |
| 20 | containers: |
| 21 | - name: $KUBE_PROXY_APP_NAME |
| 22 | image: $KUBE_PROXY_IMAGE |
| 23 | imagePullPolicy: Never |
| 24 | ports: |
| 25 | - name: http |
| 26 | containerPort: $KUBE_PROXY_INTERNAL_PORT |
| 27 | - name: web |
| 28 | containerPort: $KUBE_PROXY_WEB_INTERNAL_PORT |
| 29 | command: ["mitmweb"] |
| 30 | args: ["--web-host", "0.0.0.0", "--no-web-open-browser", "-p", "$KUBE_PROXY_INTERNAL_PORT", "--set", "ssl_insecure"] |