forked from kubernetes-sigs/cluster-api-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #572 from giantswarm/update-upstream
Update from upstream main branch
- Loading branch information
Showing
148 changed files
with
5,943 additions
and
862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,10 @@ kubeconfig | |
# vscode | ||
.vscode | ||
|
||
# go.work files | ||
go.work | ||
go.work.sum | ||
|
||
# goland | ||
.idea | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,11 +82,6 @@ else | |
export GOPATH := $(shell go env GOPATH) | ||
endif | ||
|
||
USER_FORK ?= $(shell git config --get remote.origin.url | cut -d/ -f4) # only works on https://github.com/<username>/cluster-api.git style URLs | ||
ifeq ($(USER_FORK),) | ||
USER_FORK := $(shell git config --get remote.origin.url | cut -d: -f2 | cut -d/ -f1) # for [email protected]:<username>/cluster-api.git style URLs | ||
endif | ||
|
||
# Release variables | ||
|
||
STAGING_REGISTRY ?= gcr.io/k8s-staging-cluster-api-aws | ||
|
@@ -100,6 +95,10 @@ RELEASE_ALIAS_TAG ?= $(PULL_BASE_REF) | |
RELEASE_DIR := out | ||
RELEASE_POLICIES := $(RELEASE_DIR)/AWSIAMManagedPolicyControllers.json $(RELEASE_DIR)/AWSIAMManagedPolicyControllersWithEKS.json $(RELEASE_DIR)/AWSIAMManagedPolicyCloudProviderControlPlane.json $(RELEASE_DIR)/AWSIAMManagedPolicyCloudProviderNodes.json $(RELEASE_DIR)/AWSIAMManagedPolicyControllersWithS3.json | ||
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) | ||
USER_FORK ?= $(shell git config --get remote.origin.url | cut -d/ -f4) # only works on https://github.com/<username>/cluster-api-provider-aws.git style URLs | ||
ifeq ($(strip $(USER_FORK)),) | ||
USER_FORK := $(shell git config --get remote.origin.url | cut -d: -f2 | cut -d/ -f1) # for [email protected]:<username>/cluster-api-provider-aws.git style URLs | ||
endif | ||
|
||
# image name used to build the cmd/clusterawsadm | ||
TOOLCHAIN_IMAGE := toolchain | ||
|
@@ -224,6 +223,7 @@ generate-go-apis: ## Alias for .build/generate-go-apis | |
paths=./$(EXP_DIR)/api/... \ | ||
paths=./bootstrap/eks/api/... \ | ||
paths=./controlplane/eks/api/... \ | ||
paths=./controlplane/rosa/api/... \ | ||
paths=./iam/api/... \ | ||
paths=./controllers/... \ | ||
paths=./$(EXP_DIR)/controllers/... \ | ||
|
@@ -273,6 +273,14 @@ generate-go-apis: ## Alias for .build/generate-go-apis | |
--output-file-base=zz_generated.conversion $(GEN_OUTPUT_BASE) \ | ||
--go-header-file=./hack/boilerplate/boilerplate.generatego.txt | ||
|
||
$(CONVERSION_GEN) \ | ||
--input-dirs=./controlplane/rosa/api/v1beta2 \ | ||
--extra-peer-dirs=sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta1 \ | ||
--extra-peer-dirs=sigs.k8s.io/cluster-api/api/v1beta1 \ | ||
--build-tag=ignore_autogenerated_conversions \ | ||
--output-file-base=zz_generated.conversion $(GEN_OUTPUT_BASE) \ | ||
--go-header-file=./hack/boilerplate/boilerplate.generatego.txt | ||
|
||
touch $@ | ||
|
||
##@ lint and verify: | ||
|
@@ -375,7 +383,7 @@ managers: ## Alias for manager-aws-infrastructure | |
|
||
.PHONY: manager-aws-infrastructure | ||
manager-aws-infrastructure: ## Build manager binary | ||
CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags "${LDFLAGS} -extldflags '-static'" -o $(BIN_DIR)/manager . | ||
CGO_ENABLED=0 GOARCH=${ARCH} go build -ldflags "${LDFLAGS} -extldflags '-static'" -o $(BIN_DIR)/manager . | ||
|
||
##@ test: | ||
|
||
|
@@ -584,8 +592,7 @@ release-changelog: $(RELEASE_NOTES) check-release-tag check-previous-release-tag | |
|
||
.PHONY: promote-images | ||
promote-images: $(KPROMO) $(YQ) | ||
IMAGE_REVIEWERS="$(shell ./hack/get-project-maintainers.sh ${YQ})" | ||
$(KPROMO) pr --project cluster-api-provider-aws --tag $(RELEASE_TAG) --reviewers "$(IMAGE_REVIEWERS)" --fork $(USER_FORK) --image cluster-api-aws-controller | ||
$(KPROMO) pr --project cluster-api-aws --tag $(RELEASE_TAG) --reviewers "$(shell ./hack/get-project-maintainers.sh ${YQ})" --fork $(USER_FORK) --image cluster-api-aws-controller | ||
|
||
.PHONY: release-binaries | ||
release-binaries: ## Builds the binaries to publish with a release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,44 @@ | ||
# See the OWNERS docs: https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md | ||
# See the OWNERS docs: <https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md> | ||
|
||
aliases: | ||
# Correct as of 2022/10/13 | ||
|
||
# Correct as of 2023/10/04 | ||
|
||
sig-cluster-lifecycle-leads: | ||
- fabriziopandini | ||
- justinsb | ||
- neolit123 | ||
- timothysc | ||
# Correct as of 2022/10/13 | ||
- vincepri | ||
|
||
# Correct as of 2023/10/04 | ||
|
||
cluster-api-admins: | ||
- CecileRobertMichon | ||
- vincepri | ||
# Correct as of 2022/10/13 | ||
|
||
# Correct as of 2023/10/04 | ||
|
||
cluster-api-maintainers: | ||
- CecileRobertMichon | ||
- enxebre | ||
- fabriziopandini | ||
- killianmuldoon | ||
- sbueringer | ||
- vincepri | ||
# Correct as of 2023/01/04 | ||
|
||
# Correct as of 2023/01/04 | ||
|
||
cluster-api-aws-admins: | ||
- richardcase | ||
cluster-api-aws-maintainers: | ||
- richardcase | ||
- Skarlso | ||
- Ankitasw | ||
- dlipovetsky | ||
- vincepri | ||
cluster-api-aws-reviewers: | ||
- dthorsen | ||
- pydctw | ||
- shivi28 | ||
- AverageMarcus | ||
- luthermonson | ||
- cnmcavoy | ||
- nrb | ||
- faiq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.