add webhook
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user