From b4ca0dcb9df6ae05645b7035dff0d860051f3ff8 Mon Sep 17 00:00:00 2001 From: Jon Huhn Date: Thu, 29 Aug 2024 12:39:42 -0500 Subject: [PATCH] remove invalid caBundle from CRDs --- config/crd/patches/webhook_in_azureclusteridentities.yaml | 3 --- config/crd/patches/webhook_in_azureclusters.yaml | 5 +---- config/crd/patches/webhook_in_azureclustertemplates.yaml | 5 +---- config/crd/patches/webhook_in_azuremachinepoolmachines.yaml | 3 --- config/crd/patches/webhook_in_azuremachinepools.yaml | 3 --- config/crd/patches/webhook_in_azuremachines.yaml | 5 +---- config/crd/patches/webhook_in_azuremachinetemplates.yaml | 5 +---- config/crd/patches/webhook_in_azuremanagedclusters.yaml | 5 +---- config/crd/patches/webhook_in_azuremanagedcontrolplanes.yaml | 3 --- config/crd/patches/webhook_in_azuremanagedmachinepools.yaml | 3 --- 10 files changed, 5 insertions(+), 35 deletions(-) diff --git a/config/crd/patches/webhook_in_azureclusteridentities.yaml b/config/crd/patches/webhook_in_azureclusteridentities.yaml index 8ce335e05e2..828e5802df0 100644 --- a/config/crd/patches/webhook_in_azureclusteridentities.yaml +++ b/config/crd/patches/webhook_in_azureclusteridentities.yaml @@ -10,9 +10,6 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service diff --git a/config/crd/patches/webhook_in_azureclusters.yaml b/config/crd/patches/webhook_in_azureclusters.yaml index aef170df8df..2b8e16ae20a 100644 --- a/config/crd/patches/webhook_in_azureclusters.yaml +++ b/config/crd/patches/webhook_in_azureclusters.yaml @@ -10,10 +10,7 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service - path: /convert \ No newline at end of file + path: /convert diff --git a/config/crd/patches/webhook_in_azureclustertemplates.yaml b/config/crd/patches/webhook_in_azureclustertemplates.yaml index 7feca2d37cb..aa2bb0addfc 100644 --- a/config/crd/patches/webhook_in_azureclustertemplates.yaml +++ b/config/crd/patches/webhook_in_azureclustertemplates.yaml @@ -9,10 +9,7 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service - path: /convert \ No newline at end of file + path: /convert diff --git a/config/crd/patches/webhook_in_azuremachinepoolmachines.yaml b/config/crd/patches/webhook_in_azuremachinepoolmachines.yaml index 86906dd573d..d3198165a6d 100644 --- a/config/crd/patches/webhook_in_azuremachinepoolmachines.yaml +++ b/config/crd/patches/webhook_in_azuremachinepoolmachines.yaml @@ -10,9 +10,6 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service diff --git a/config/crd/patches/webhook_in_azuremachinepools.yaml b/config/crd/patches/webhook_in_azuremachinepools.yaml index 9a48cc041fb..fbed7b20201 100644 --- a/config/crd/patches/webhook_in_azuremachinepools.yaml +++ b/config/crd/patches/webhook_in_azuremachinepools.yaml @@ -10,9 +10,6 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service diff --git a/config/crd/patches/webhook_in_azuremachines.yaml b/config/crd/patches/webhook_in_azuremachines.yaml index 99b86bde456..c8f157db72b 100644 --- a/config/crd/patches/webhook_in_azuremachines.yaml +++ b/config/crd/patches/webhook_in_azuremachines.yaml @@ -10,10 +10,7 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service - path: /convert \ No newline at end of file + path: /convert diff --git a/config/crd/patches/webhook_in_azuremachinetemplates.yaml b/config/crd/patches/webhook_in_azuremachinetemplates.yaml index 7172830d71c..a499e949fa7 100644 --- a/config/crd/patches/webhook_in_azuremachinetemplates.yaml +++ b/config/crd/patches/webhook_in_azuremachinetemplates.yaml @@ -10,10 +10,7 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service - path: /convert \ No newline at end of file + path: /convert diff --git a/config/crd/patches/webhook_in_azuremanagedclusters.yaml b/config/crd/patches/webhook_in_azuremanagedclusters.yaml index 8bdb4c52ee4..50720c95ff9 100644 --- a/config/crd/patches/webhook_in_azuremanagedclusters.yaml +++ b/config/crd/patches/webhook_in_azuremanagedclusters.yaml @@ -10,10 +10,7 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service - path: /convert \ No newline at end of file + path: /convert diff --git a/config/crd/patches/webhook_in_azuremanagedcontrolplanes.yaml b/config/crd/patches/webhook_in_azuremanagedcontrolplanes.yaml index 75b6a35d3ee..0bf15cf00e1 100644 --- a/config/crd/patches/webhook_in_azuremanagedcontrolplanes.yaml +++ b/config/crd/patches/webhook_in_azuremanagedcontrolplanes.yaml @@ -10,9 +10,6 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service diff --git a/config/crd/patches/webhook_in_azuremanagedmachinepools.yaml b/config/crd/patches/webhook_in_azuremanagedmachinepools.yaml index 56d835308e7..dd7b87d07b7 100644 --- a/config/crd/patches/webhook_in_azuremanagedmachinepools.yaml +++ b/config/crd/patches/webhook_in_azuremanagedmachinepools.yaml @@ -10,9 +10,6 @@ spec: webhook: conversionReviewVersions: ["v1", "v1beta1"] clientConfig: - # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, - # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) - caBundle: Cg== service: namespace: system name: webhook-service