From c8ed21cac4d43165be0ac477a161dd65134efe7b Mon Sep 17 00:00:00 2001 From: leonnicolas Date: Tue, 7 Sep 2021 10:33:29 +0200 Subject: [PATCH] manifests/peer-validation.yaml: fix image and flag Use a maintained fork of certgen. The former project is not maintained anymore and will not work for Kubernteses v1.22 because the admission v1beta1 API was dropped. Also fix the name of the liste-metrics flag. Signed-off-by: leonnicolas --- manifests/peer-validation.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/peer-validation.yaml b/manifests/peer-validation.yaml index 61fa838..f2f3170 100644 --- a/manifests/peer-validation.yaml +++ b/manifests/peer-validation.yaml @@ -51,7 +51,7 @@ spec: - webhook - --cert-file=/run/secrets/tls/tls.crt - --key-file=/run/secrets/tls/tls.key - - --metrics-address=:1107 + - --listen-metrics=:1107 - --listen=:8443 ports: - containerPort: 8443 @@ -152,7 +152,7 @@ spec: serviceAccountName: kilo-peer-validation initContainers: - name: create - image: jettech/kube-webhook-certgen:v1.5.2 + image: k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.0 args: - create - --namespace=kilo @@ -162,7 +162,7 @@ spec: - --cert-name=tls.crt containers: - name: patch - image: jettech/kube-webhook-certgen:v1.5.2 + image: k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.0 args: - patch - --webhook-name=peers.kilo.squat.ai