From 70ed282cc4604650e9776135d6b00a91032690d0 Mon Sep 17 00:00:00 2001 From: binoue Date: Mon, 14 Dec 2020 18:47:25 +0900 Subject: [PATCH] ceph: rename webhooks Currently, ValidatingWebhookConfiguration has two same named webhooks. This causes kube-apiserver to create error logs Signed-off-by: binoue --- tests/scripts/webhook-config.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/scripts/webhook-config.yaml b/tests/scripts/webhook-config.yaml index 512715a2c..d20ee39ab 100644 --- a/tests/scripts/webhook-config.yaml +++ b/tests/scripts/webhook-config.yaml @@ -4,7 +4,7 @@ metadata: name: ${WEBHOOK_CONFIG_NAME} namespace: ${NAMESPACE} webhooks: - - name: ${SERVICE_NAME}.${NAMESPACE}.svc + - name: cephcluster-wh-${SERVICE_NAME}-${NAMESPACE}.rook.io rules: - apiGroups: ["ceph.rook.io"] apiVersions: ["v1"] @@ -19,7 +19,7 @@ webhooks: admissionReviewVersions: ["v1beta1"] sideEffects: None timeoutSeconds: 5 - - name: ${SERVICE_NAME}.${NAMESPACE}.svc + - name: cephblockpool-wh-${SERVICE_NAME}-${NAMESPACE}.rook.io rules: - apiGroups: ["ceph.rook.io"] apiVersions: ["v1"] @@ -34,4 +34,3 @@ webhooks: admissionReviewVersions: ["v1beta1"] sideEffects: None timeoutSeconds: 5 -