GeezerVison is showing github.com — feat(repositories): declare provider-upjet-unifi (net-new Library repo) by devantler · Pull Request #78 · devantler-tech/.github
Conversation
🤖 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:
- 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.
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.
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
Bot
commented
Jun 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…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]>
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 2, 2026
This was referenced Jul 10, 2026
This was referenced Jul 18, 2026
This was referenced Jul 25, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|