proxy-pool/deploy/kubernetes/overlays/development-mtls/gateway-patch.yaml

25 lines
761 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: proxy-gateway
namespace: proxy-pool
spec:
replicas: 1
template:
spec:
containers:
- name: gateway
env:
- {name: PROXY_POOL_CONTROL_PLANE_ADDRESS, value: controller:8443}
- {name: PROXY_POOL_CLUSTER_ID, value: kubernetes-development}
- {name: PROXY_POOL_AUTO_IDENTITY, value: "true"}
- {name: PROXY_POOL_ZONE, value: kubernetes-development}
volumeMounts:
- name: controlplane-gateway-tls
mountPath: /run/proxy-pool-tls/client
readOnly: true
volumes:
- name: controlplane-gateway-tls
secret:
secretName: proxy-pool-controlplane-gateway-tls