Skip to content

Commit

Permalink
fix(crds/karpenter): setop resetting the webhook client namespace rel…
Browse files Browse the repository at this point in the history
…ated to #1526
  • Loading branch information
scottaubrey committed Dec 3, 2024
1 parent 4e5482f commit c5954cc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
5 changes: 0 additions & 5 deletions crds/karpenter/karpenter.k8s.aws_ec2nodeclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,3 @@ spec:
storage: true
subresources:
status: {}
conversion:
webhook:
clientConfig:
service:
namespace: karpenter
5 changes: 0 additions & 5 deletions crds/karpenter/karpenter.sh_nodeclaims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,3 @@ spec:
storage: true
subresources:
status: {}
conversion:
webhook:
clientConfig:
service:
namespace: karpenter
5 changes: 0 additions & 5 deletions crds/karpenter/karpenter.sh_nodepools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,3 @@ spec:
storage: true
subresources:
status: {}
conversion:
webhook:
clientConfig:
service:
namespace: karpenter
3 changes: 0 additions & 3 deletions crds/karpenter/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c5954cc

Please sign in to comment.