1
0

add webhook

This commit is contained in:
2023-09-06 17:52:39 +08:00
parent 586abdfd7b
commit b2972195cb
12 changed files with 882 additions and 12 deletions

View File

@@ -4,9 +4,14 @@ metadata:
name: controller
namespace: system
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
component: controller
template:
metadata:
labels:
component: controller
annotations:
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
@@ -17,6 +22,7 @@ spec:
- args:
- --metrics-address=:8080
- --enable-leader-election
- --cert-dir=/tmp/webhook
image: controller:latest
name: manager
env: