upgrade kube rbac proxy to 0.5.0
@@ -5,12 +5,10 @@ kind: Deployment
metadata:
name: controller-manager
namespace: system
-spec:
- template:
spec:
containers:
- name: kube-rbac-proxy
- image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.0
+ image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
@@ -22,3 +20,4 @@ spec:
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
+ - "--enable-leader-election
