28 lines
849 B
YAML
28 lines
849 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: config
|
|
configMap:
|
|
name: proxy-pool-runtime-config
|
|
- name: controlplane-gateway-tls
|
|
secret:
|
|
secretName: proxy-pool-controlplane-gateway-tls
|