mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-10-19 01:52:38 +00:00
38 lines
738 B
YAML
38 lines
738 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: controller-manager
|
|
namespace: system
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: manager
|
|
# Don't try to pull the image we built locally
|
|
imagePullPolicy: IfNotPresent
|
|
args:
|
|
- "--health-probe-bind-address"
|
|
- ":8081"
|
|
- "--metrics-bind-address"
|
|
- "127.0.0.1:8080"
|
|
- "--namespace"
|
|
- "default"
|
|
- "--leader-elect"
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kcrypt-escrow-server
|
|
namespace: system
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
control-plane: controller-manager
|
|
ports:
|
|
- name: wss
|
|
port: 8082
|
|
protocol: TCP
|
|
targetPort: 8082
|