Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,15 @@ build-provider.%:
XPKG_SKIP_DEP_RESOLUTION := true

local-deploy.%: controlplane.up
# uptest workaround for the behavior change at Crossplane 1.15 default registry
# XP RBAC manager has a check for packages from the same provider family
# that they come from the same org and assign RBACs for all providers.
# This got broken for locally deployed dev packages through crossplane/build submodule,
# therefore cannot get necessary RBACs.
# TODO: Remove this when https://github.com/crossplane/build/issues/38 is resolved
# this workaround is only valid for uptest on Crossplane 1.x
# Crossplane v2 needs the above issue to be resolved
@$(KUBECTL) -n $(CROSSPLANE_NAMESPACE) patch deployment crossplane-rbac-manager -p '{"spec":{"template":{"spec":{"containers":[{"name":"crossplane","env":[{"name":"REGISTRY","value":"index.docker.io"}]}]}}}}'
@for api in $$(tr ',' ' ' <<< $*); do \
$(MAKE) local.xpkg.deploy.provider.$(PROJECT_NAME)-$${api}; \
$(INFO) running locally built $(PROJECT_NAME)-$${api}; \
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/upbound/provider-gcp-beta

go 1.24.0

toolchain go1.24.5
go 1.24.6

require (
dario.cat/mergo v1.0.2
Expand Down
Loading