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
22 changes: 22 additions & 0 deletions deploy/labels/aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Issue labels for devantler-tech/aws. The canonical org taxonomy (22 labels)
# is appended to every IssueLabels by the shared patch in kustomization.yaml; this
# file adds only aws's repo-specific extras. See ../README.md.
apiVersion: repo.github.m.upbound.io/v1alpha1
kind: IssueLabels
metadata:
name: aws
annotations:
crossplane.io/external-name: aws
spec:
managementPolicies:
- Observe
- Create
- Update
- LateInitialize
forProvider:
repository: aws
# No repo-specific extras; the shared patch supplies the full canonical set.
label: []
providerConfigRef:
kind: ProviderConfig
name: default
1 change: 1 addition & 0 deletions deploy/labels/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ resources:
- agent-plugins.yaml
- provider-upjet-unifi.yaml
- unifi.yaml
- aws.yaml
- gitops-tenant-template.yaml
- platform-template.yaml
- go-template.yaml
Expand Down
31 changes: 31 additions & 0 deletions deploy/repositories/aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: repo.github.m.upbound.io/v1alpha1
kind: Repository
metadata:
name: aws
annotations:
# NET-NEW repo (not an adoption). The provider's create POST cannot send the
# org's 5 required custom properties (no CRD field), so it 422s until the
# repo is bootstrapped ONCE by an org admin with `gh api -X POST
# /orgs/devantler-tech/repos` including `custom_properties` (Type=
# Infrastructure + the 4 defaults) — see platform#2325. This CR then
# observes + adopts it and manages it declaratively from there on.
# external-name pinned so the create/observe target is unambiguous.
crossplane.io/external-name: aws
spec:
# Same all-except-Delete policy as every other managed repo (omitting Delete
# guarantees Crossplane can never delete a real GitHub repository).
managementPolicies:
- Observe
- Create
- Update
- LateInitialize
forProvider:
name: aws
description: "Declarative AWS infrastructure for the devantler-tech platform — Crossplane managed resources in deploy/, published as a cosign-signed OCI artifact and reconciled by the platform's aws tenant."
visibility: public
hasIssues: true
# Shared kustomization patch supplies the squash-only merge policy +
# webCommitSignoffRequired; nothing repo-specific needed here.
providerConfigRef:
kind: ProviderConfig
name: default
1 change: 1 addition & 0 deletions deploy/repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resources:
- agent-plugins.yaml
- provider-upjet-unifi.yaml
- unifi.yaml
- aws.yaml
- gitops-tenant-template.yaml
- platform-template.yaml
- go-template.yaml
Expand Down
16 changes: 16 additions & 0 deletions deploy/team-repositories/grant-maintainers-on-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Team → repository access. No external-name: this grant does not exist yet, so it is
# Created (full management except Delete) rather than adopted.
apiVersion: team.github.m.upbound.io/v1alpha1
kind: TeamRepository
metadata:
name: maintainers-aws
spec:
managementPolicies: ["Observe", "Create", "Update", "LateInitialize"]
forProvider:
teamIdRef:
name: maintainers
repository: aws
permission: maintain
providerConfigRef:
kind: ProviderConfig
name: default
1 change: 1 addition & 0 deletions deploy/team-repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ resources:
- grant-maintainers-on-unifi.yaml
- grant-maintainers-on-homebrew-tap.yaml
- grant-maintainers-on-provider-upjet-unifi.yaml
- grant-maintainers-on-aws.yaml