Skip to content

Commit

Permalink
remove unused ROSA/EKS CRDs from hypershift install
Browse files Browse the repository at this point in the history
- turn off CAPA ROSA feature gate
  • Loading branch information
muraee committed Aug 19, 2024
1 parent 795d1ab commit ef4e1cf
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 1,936 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ cluster-api-provider-aws: $(CONTROLLER_GEN)
$(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./vendor/sigs.k8s.io/cluster-api-provider-aws/v2/api/..." output:crd:artifacts:config=cmd/install/assets/cluster-api-provider-aws
$(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./vendor/sigs.k8s.io/cluster-api-provider-aws/v2/exp/api/..." output:crd:artifacts:config=cmd/install/assets/cluster-api-provider-aws
$(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./vendor/sigs.k8s.io/cluster-api/exp/addons/api/..." output:crd:artifacts:config=cmd/install/assets/cluster-api
# remove ROSA CRDs
rm -rf cmd/install/assets/cluster-api-provider-aws/infrastructure.cluster.x-k8s.io_rosa*.yaml
# remove EKS CRDs
rm -rf cmd/install/assets/cluster-api-provider-aws/infrastructure.cluster.x-k8s.io_awsmanaged*.yaml
rm -rf cmd/install/assets/cluster-api-provider-aws/infrastructure.cluster.x-k8s.io_awsfargateprofiles.yaml

.PHONY: cluster-api-provider-ibmcloud
cluster-api-provider-ibmcloud: $(CONTROLLER_GEN)
Expand Down Expand Up @@ -162,7 +167,8 @@ release:
.PHONY: delegating_client
delegating_client:
go run ./cmd/infra/aws/delegatingclientgenerator/main.go > ./cmd/infra/aws/delegating_client.txt
mv ./cmd/infra/aws/delegating_client.{txt,go}
mv ./cmd/infra/aws/delegating_client.txt ./cmd/infra/aws/delegating_client.go
$(GO) fmt ./cmd/infra/aws/delegating_client.go

# Run tests
.PHONY: test
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit ef4e1cf

Please sign in to comment.