GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(repositories): declare provider-upjet-unifi (net-new Library repo) by devantler · Pull Request #78 · devantler-tech/.github

Conversation

@devantler

@devantler devantler commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

🤖 Generated by the Daily AI Assistant

What

Declares devantler-tech/provider-upjet-unifi as a managed repo in the org's declarative GitHub config:

  • deploy/repositories/provider-upjet-unifi.yaml — Crossplane Repository (public, hasIssues, squash-only/signoff via the shared patch).
  • deploy/labels/provider-upjet-unifi.yaml — IssueLabels (canonical org taxonomy via the shared patch; no repo-specific extras yet).
  • Both registered in their kustomization.yaml resource lists, grouped with the other shared libraries.

Why

This repo will hold a new shared library: a Crossplane provider for Ubiquiti UniFi, generated with Upjet from ubiquiti-community/terraform-provider-unifi (registry source ubiquiti-community/unifi, MPL-2.0). It lets UniFi networks/WLANs/firewall/VPN-WireGuard/devices/settings be managed as Kubernetes CRDs and reconciled by Flux — the same way platform already consumes provider-upjet-github.

Creating it declaratively is the only correct path: the org enforces 5 required custom properties on every new repo (so gh repo create --template is blocked), and the repo-specific golden rule is manage GitHub declaratively — never imperatively.

⚠️ Note for the maintainer — genuine create vs. adoption

Every existing entry in deploy/repositories/ was Observe-adopted from a pre-existing repo; this is the first create-from-scratch through the provider. Two things to be aware of when this merges and reconciles:

  1. Required custom properties. The org schema marks Type, EnableAutoMerge, ScanGitHubActions, AutomaticallyRequestCopilotCodeReview, LintDocumentation as required with require_explicit_values: true. provider-upjet-github's Repository (v0.19.1) doesn't model custom properties, so the REST create may rely on the org defaults applying, or it may need the property values set out-of-band / a follow-up. If the create 422s on this, the cleanest follow-up is to set Type=Library (+ the other four defaults) — happy to do that however you prefer.
  2. visibility: public + hasIssues: true are set explicitly here (the adopted entries rely on LateInitialize, which only works for already-public repos).

Validation

kubectl kustomize deploy/ > /dev/null   # clean (the required check)

Follow-ups (separate PRs, after the repo exists)

  • Push the Upjet-generated provider content (Makefile pointed at ubiquiti-community/unifi v0.53.0, all ~27 resources, CI/CD publishing the xpkg to ghcr.io/devantler-tech/provider-upjet-unifi, AGENTS.md). Built and validated locally already.
  • Wire it into the monorepo as a libraries/provider-upjet-unifi submodule (+ portfolio row + product skill card).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@devantler @claude
feat(repositories): declare provider-upjet-unifi (net-new Library repo)
8e4e036
Add a Crossplane Repository (+ IssueLabels) declaration for the new
devantler-tech/provider-upjet-unifi shared library — an Upjet-generated
Crossplane provider for the ubiquiti-community/terraform-provider-unifi
Terraform provider. This is the declarative, GitOps-managed way to create
the repo (the org's required custom properties + the manage-GitHub-declaratively
rule both rule out `gh repo create`).

Unlike the existing entries (all Observe-adopted from pre-existing repos), this
is a genuine create-from-scratch: managementPolicies keep Create (and omit
Delete, so the reconciler can never delete a repo). visibility:public + hasIssues
set explicitly so the created repo isn't private and has Issues for its roadmap.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a110e92b-911c-4c41-be72-1236b8931b4f

📥 Commits

Reviewing files that changed from the base of the PR and between 8e4e036 and 8cc9878.

📒 Files selected for processing (3)
  • deploy/labels/provider-upjet-unifi.yaml
  • deploy/team-repositories/grant-maintainers-on-provider-upjet-unifi.yaml
  • deploy/team-repositories/kustomization.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • deploy/labels/provider-upjet-unifi.yaml

📝 Walkthrough

Walkthrough

Adds Crossplane-managed GitHub resources for provider-upjet-unifi: a repository, issue labels, and a team access grant, with each manifest registered in the relevant kustomization files.

Changes

provider-upjet-unifi Crossplane resources

Layer / File(s) Summary
Repository and IssueLabels manifests
deploy/repositories/provider-upjet-unifi.yaml, deploy/labels/provider-upjet-unifi.yaml
Adds a Repository CR for provider-upjet-unifi and an IssueLabels CR with an empty label list, both using the default provider config and Observe/Create/Update/LateInitialize policies.
Kustomization resource entries
deploy/repositories/kustomization.yaml, deploy/labels/kustomization.yaml
Adds the new repository and label manifests to the corresponding kustomize resources lists.
TeamRepository grant
deploy/team-repositories/grant-maintainers-on-provider-upjet-unifi.yaml, deploy/team-repositories/kustomization.yaml
Adds a TeamRepository manifest granting maintainers maintain access to provider-upjet-unifi and registers it in the team-repositories kustomization.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

A bunny hops through YAML green,
New repo, labels, access gleam.
Crossplane paves a tidy trail,
Tiny carrots in every file! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding the new provider-upjet-unifi repository entry.
Description check ✅ Passed The description is directly related to the changeset and accurately explains the new repository, labels, and kustomization updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/repositories-add-provider-upjet-unifi

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@devantler
devantler marked this pull request as ready for review June 28, 2026 18:25
coderabbitai[bot]
coderabbitai Bot reviewed Jun 28, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@deploy/labels/provider-upjet-unifi.yaml`:
- Around line 1-4: The manifest comments and the empty label payload are
inconsistent: the header claims this file adds repo-specific
dependency/ecosystem labels, but the actual `label: []` declares none. Update
the comment block in the `provider-upjet-unifi` labels manifest to match the
empty list, or populate `label` with the intended repo-specific labels, so the
`IssueLabels` intent is clear and future edits don’t assume labels are managed
here.

In `@deploy/repositories/provider-upjet-unifi.yaml`:
- Around line 1-27: The Repository manifest for provider-upjet-unifi is missing
the team-based ownership/access binding. Add a new TeamRepository grant for the
maintainers team targeting provider-upjet-unifi under deploy/team-repositories,
and update the team-repositories kustomization so it includes that grant; use
the existing Repository name and the TeamRepository resource pattern already
used elsewhere in the repo.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 592c78db-d3fd-488b-9ebb-58d3728cfe4d

📥 Commits

Reviewing files that changed from the base of the PR and between 92b8ad5 and 8e4e036.

📒 Files selected for processing (4)
  • deploy/labels/kustomization.yaml
  • deploy/labels/provider-upjet-unifi.yaml
  • deploy/repositories/kustomization.yaml
  • deploy/repositories/provider-upjet-unifi.yaml

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread deploy/labels/provider-upjet-unifi.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread deploy/repositories/provider-upjet-unifi.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@devantler @claude
fix(team-repositories): grant maintainers on provider-upjet-unifi + a…
8cc9878
…lign labels comment

Address CodeRabbit review on #78:
- Add the maintainers TeamRepository grant for the net-new provider-upjet-unifi
  repo (Created pattern, permission: maintain), registered in the kustomization
  "Created" section — per the org's "ownership goes to a team" golden rule, which
  every other managed repo already follows.
- Align the labels manifest comment with its empty `label: []` (it declares no
  repo-specific extras yet; the canonical taxonomy comes from the shared patch).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
botantler-1[bot]
botantler-1 Bot approved these changes Jun 28, 2026
View reviewed changes
@botantler-1
botantler-1 Bot enabled auto-merge (squash) June 28, 2026 18:38
@botantler-1
botantler-1 Bot merged commit 8d1da70 into main Jun 28, 2026
8 of 9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@devantler devantler mentioned this pull request Jun 28, 2026
feat(libraries): add provider-upjet-unifi Crossplane provider submodule devantler-tech/monorepo#1993
Merged
This was referenced Jul 2, 2026
feat(labels): bring devantler-tech/monorepo under declarative IssueLabels management #79
Merged
Migrate governance intent from devantler-tech/maintenance into .github (declarative) and retire the maintenance repo #84
Closed
Model org-wide GitHub settings (webCommitSignoffRequired, default permission, 2FA) once the provider supports it #85
Open
This was referenced Jul 10, 2026
fix(aws): reconcile the default branch to main #89
Closed
Define a default-off Admins team policy #95
Closed
Bootstrap kyverno-policies repo to unblock production reconciliation #97
Closed
feat(teams): activate the declarative Admins policy #102
Closed
feat(teams): activate declarative Admins policy #103
Merged
Roadmap: restrict code authorship to the AI engineer; humans keep observe/promote/issue rights #104
Open
@devantler
devantler deleted the claude/repositories-add-provider-upjet-unifi branch July 16, 2026 21:29
This was referenced Jul 18, 2026
fix: declarative repo-settings updates are write-blocked (422 on every update PATCH) #112
Closed
test: guard declarative coverage so deploy/ drift fails CI instead of going unnoticed #113
Closed
chore: close the 10 declarative coverage gaps found by the deploy/ coverage guard #115
Closed
fix: world-at-ruin labels are stuck Observe-only, so its issues cannot be triaged #116
Closed
fix(repositories): keep org signoff out of updates #120
Closed
This was referenced Jul 25, 2026
Adopt the GitHub surface unblocked by provider-upjet-github TF 6.13.0 (rulesets, Actions SHA-pinning, collaborators) #121
Closed
Repository reconciliation is fully broken: every PATCH 422s on org-enforced commit signoff #123
Closed
feat(repositories): declare the doggy-countdown repository #122
Merged
No declared change can be applied: every repository update is rejected, whatever it contains #126
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@botantler-1 botantler-1[bot] botantler-1[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@devantler
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.