| apiVersion: apps/v1 |
| kind: Deployment |
| metadata: |
| name: $HTTP_PROXY_APP_NAME |
| namespace: $KUBE_SIM_NAMESPACE |
| labels: |
| run: $HTTP_PROXY_APP_NAME |
| autotest: HTTPPROXY |
| spec: |
| replicas: 1 |
| selector: |
| matchLabels: |
| run: $HTTP_PROXY_APP_NAME |
| template: |
| metadata: |
| labels: |
| run: $HTTP_PROXY_APP_NAME |
| autotest: HTTPPROXY |
| spec: |
| containers: |
| - name: $HTTP_PROXY_APP_NAME |
| image: $HTTP_PROXY_IMAGE |
| imagePullPolicy: $KUBE_IMAGE_PULL_POLICY |
| ports: |
| - name: http |
| containerPort: $HTTP_PROXY_INTERNAL_PORT |
| - name: web |
| containerPort: $HTTP_PROXY_WEB_INTERNAL_PORT |
| - name: https |
| containerPort: $HTTP_PROXY_INTERNAL_SECURE_PORT |
| - name: webs |
| containerPort: $HTTP_PROXY_WEB_INTERNAL_SECURE_PORT |