From c9e7f6df82968d921cef987340539483476d38aa Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Fri, 10 Jul 2026 17:13:18 +0200 Subject: [PATCH] fix(aws): manage main as the default branch --- deploy/repositories/aws.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/deploy/repositories/aws.yaml b/deploy/repositories/aws.yaml index a3ec670..1f3ca3c 100644 --- a/deploy/repositories/aws.yaml +++ b/deploy/repositories/aws.yaml @@ -29,3 +29,23 @@ spec: providerConfigRef: kind: ProviderConfig name: default +--- +apiVersion: repo.github.m.upbound.io/v1alpha1 +kind: DefaultBranch +metadata: + name: aws + annotations: + # The Repository CRD's defaultBranch field is deprecated; manage the + # already-existing main branch through the dedicated resource instead. + crossplane.io/external-name: aws +spec: + managementPolicies: + - Observe + - Create + - Update + - LateInitialize + forProvider: + branch: main + providerConfigRef: + kind: ProviderConfig + name: default