From 0a1aa2b55dec1d1c848b5130e578c027f51edeb7 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Mon, 18 Dec 2023 14:58:11 +0100 Subject: [PATCH] fix byok cluster sample --- controller/config/crd/kustomization.yaml | 3 --- controller/config/samples/cluster_byok.yaml | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/controller/config/crd/kustomization.yaml b/controller/config/crd/kustomization.yaml index 358c03d72e..29cf4e730f 100644 --- a/controller/config/crd/kustomization.yaml +++ b/controller/config/crd/kustomization.yaml @@ -6,7 +6,6 @@ resources: - bases/deployments.plural.sh_providers.yaml - bases/deployments.plural.sh_gitrepositories.yaml - bases/deployments.plural.sh_servicedeployments.yaml -- bases/deployments.plural.sh_cluster2s.yaml #+kubebuilder:scaffold:crdkustomizeresource patchesStrategicMerge: @@ -17,7 +16,6 @@ patchesStrategicMerge: #- patches/webhook_in_gitrepositories.yaml #- patches/webhook_in_servicedeployments.yaml #- path: patches/webhook_in_clusters.yaml -#- path: patches/webhook_in_cluster2s.yaml #+kubebuilder:scaffold:crdkustomizewebhookpatch # [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix. @@ -27,7 +25,6 @@ patchesStrategicMerge: #- patches/cainjection_in_gitrepositories.yaml #- patches/cainjection_in_servicedeployments.yaml #- path: patches/cainjection_in_clusters.yaml -#- path: patches/cainjection_in_cluster2s.yaml #+kubebuilder:scaffold:crdkustomizecainjectionpatch # the following config is for teaching kustomize how to do kustomization for CRDs. diff --git a/controller/config/samples/cluster_byok.yaml b/controller/config/samples/cluster_byok.yaml index 05fa838d43..cc6ae3bc35 100644 --- a/controller/config/samples/cluster_byok.yaml +++ b/controller/config/samples/cluster_byok.yaml @@ -3,4 +3,5 @@ kind: Cluster metadata: name: byok namespace: default - +spec: + cloud: "byok"