From c5954ccb25ddf94563067bf9c155fb960b9d498d Mon Sep 17 00:00:00 2001 From: Scott Aubrey Date: Tue, 3 Dec 2024 07:05:15 +0000 Subject: [PATCH] fix(crds/karpenter): setop resetting the webhook client namespace related to elifesciences/elife-flux-test#1526 --- crds/karpenter/karpenter.k8s.aws_ec2nodeclasses.yaml | 5 ----- crds/karpenter/karpenter.sh_nodeclaims.yaml | 5 ----- crds/karpenter/karpenter.sh_nodepools.yaml | 5 ----- crds/karpenter/update.sh | 3 --- 4 files changed, 18 deletions(-) diff --git a/crds/karpenter/karpenter.k8s.aws_ec2nodeclasses.yaml b/crds/karpenter/karpenter.k8s.aws_ec2nodeclasses.yaml index 1599a5d54..ff1bc9da2 100644 --- a/crds/karpenter/karpenter.k8s.aws_ec2nodeclasses.yaml +++ b/crds/karpenter/karpenter.k8s.aws_ec2nodeclasses.yaml @@ -737,8 +737,3 @@ spec: storage: true subresources: status: {} - conversion: - webhook: - clientConfig: - service: - namespace: karpenter diff --git a/crds/karpenter/karpenter.sh_nodeclaims.yaml b/crds/karpenter/karpenter.sh_nodeclaims.yaml index 23cbb4eb1..bfe259dea 100644 --- a/crds/karpenter/karpenter.sh_nodeclaims.yaml +++ b/crds/karpenter/karpenter.sh_nodeclaims.yaml @@ -389,8 +389,3 @@ spec: storage: true subresources: status: {} - conversion: - webhook: - clientConfig: - service: - namespace: karpenter diff --git a/crds/karpenter/karpenter.sh_nodepools.yaml b/crds/karpenter/karpenter.sh_nodepools.yaml index eb5c32166..d53ecbb85 100644 --- a/crds/karpenter/karpenter.sh_nodepools.yaml +++ b/crds/karpenter/karpenter.sh_nodepools.yaml @@ -517,8 +517,3 @@ spec: storage: true subresources: status: {} - conversion: - webhook: - clientConfig: - service: - namespace: karpenter diff --git a/crds/karpenter/update.sh b/crds/karpenter/update.sh index 5b1dbaa71..373f6c046 100755 --- a/crds/karpenter/update.sh +++ b/crds/karpenter/update.sh @@ -12,8 +12,5 @@ fi cd $(dirname $0) curl -sO https://raw.githubusercontent.com/aws/karpenter-provider-aws/$1/pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml -yq -i '.spec.conversion.webhook.clientConfig.service.namespace|="karpenter"' karpenter.k8s.aws_ec2nodeclasses.yaml curl -sO https://raw.githubusercontent.com/aws/karpenter-provider-aws/$1/pkg/apis/crds/karpenter.sh_nodeclaims.yaml -yq -i '.spec.conversion.webhook.clientConfig.service.namespace|="karpenter"' karpenter.sh_nodeclaims.yaml curl -sO https://raw.githubusercontent.com/aws/karpenter-provider-aws/$1/pkg/apis/crds/karpenter.sh_nodepools.yaml -yq -i '.spec.conversion.webhook.clientConfig.service.namespace|="karpenter"' karpenter.sh_nodepools.yaml