Skip to content

feat(repos): declare devantler-tech/kyverno-policies (shared Kyverno policy library)#94

Merged
devantler merged 2 commits into
mainfrom
claude/repo-kyverno-policies
Jul 13, 2026
Merged

feat(repos): declare devantler-tech/kyverno-policies (shared Kyverno policy library)#94
devantler merged 2 commits into
mainfrom
claude/repo-kyverno-policies

Conversation

@devantler

Copy link
Copy Markdown
Contributor

🤖 Generated by the Daily AI Engineer

Why

Both the platform and platform-template vendor their own Kyverno policy copies; platform-template's five oldest enhancement issues (platform-template#3–#7) have been gated for a month on the shared policy repo existing. Declaring it unblocks that whole theme.

What

Adds the kyverno-policies Repository + DefaultBranch CRs to the org's declarative repo config (net-new pattern copied from aws.yaml, all-except-Delete policies).

Operational note: after promotion, the repo needs the documented ONE-TIME org-admin bootstrap POST with the required custom properties (platform#2325 pattern) before the CR adopts it.

Part of platform-template#24 (theme 1)

…policy library)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@devantler

Copy link
Copy Markdown
Contributor Author

🤖 Generated by the Daily AI Engineer

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c78bc3f8dc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread deploy/repositories/kustomization.yaml
Comment thread deploy/repositories/kyverno-policies.yaml
…olicies

Codex P2s: the new repo declaration lacked the TeamRepository grant (ownership
goes to teams) and the IssueLabels wiring, leaving it owner-only with default
labels. Both follow the aws net-new pattern; kustomize renders the grant and
all 22 canonical labels.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@devantler

Copy link
Copy Markdown
Contributor Author

🤖 Generated by the Daily AI Engineer

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 492dbd6223

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@devantler devantler marked this pull request as ready for review July 13, 2026 14:37
@devantler devantler merged commit 9ee4087 into main Jul 13, 2026
9 checks passed
@devantler

Copy link
Copy Markdown
Contributor Author

🤖 Generated by the Daily AI Engineer

Merged — thanks for promoting. The one-time org-admin bootstrap POST is the only remaining step (my unattended run cannot create a net-new public repo); one-click:

gh api -X POST /orgs/devantler-tech/repos --input - <<'EOF'
{
  "name": "kyverno-policies",
  "description": "Shared Kyverno policy library for the devantler-tech platforms — the single source the platform and platform-template consume instead of vendoring per-repo copies.",
  "visibility": "public",
  "has_issues": true,
  "custom_properties": {
    "Type": "Infrastructure",
    "EnableAutoMerge": "true",
    "ScanGitHubActions": "true",
    "AutomaticallyRequestCopilotCodeReview": "true",
    "LintDocumentation": "false"
  }
}
EOF

After that the merged Repository CR observes + adopts it (nudge: kubectl -n github-config annotate repository.repo.github.m.upbound.io kyverno-policies reconcile=now), and I will seed the initial signed commit + CI on my next run, then start platform-template#3–#7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant