fix: regenerate CRD with optional tokenSecretRef #18

Merged
rcsheets merged 1 commit from fix/crd-optional-tokenref into master 2026-03-27 06:29:20 +00:00
Owner

The CRD was not regenerated when tokenSecretRef was made optional,
causing Flux dry-run validation to reject RunnerPools without it.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

The CRD was not regenerated when tokenSecretRef was made optional, causing Flux dry-run validation to reject RunnerPools without it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: regenerate CRD with optional tokenSecretRef
Some checks failed
CI / ci (push) Has been cancelled
CI / ci (pull_request) Has been cancelled
E2E smoke test / e2e (pull_request) Has been cancelled
70cf4e4e39
The CRD was not regenerated when tokenSecretRef was made optional,
causing Flux dry-run validation to reject RunnerPools without it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator

Automated review by pr-reviewer v0.15.0 | Safety Check | anthropic | tracking id r-c623a1-0298ad
This is an AI-generated review and may contain mistakes.

Status: Completed


Verdict: LGTM — The change correctly removes the required field constraint for tokenSecretRef and adds documentation explaining when it's optional.
Complexity: trivial

This is a straightforward CRD regeneration that removes tokenSecretRef from the required fields list and adds clarifying documentation. The change aligns with the PR description's goal of fixing Flux dry-run validation for RunnerPools that don't specify a token secret when using a global controller token. No security or logic concerns.

*Automated review by [pr-reviewer](https://git.brooktrails.org/brooktrails/pr-reviewer) v0.15.0 | Safety Check | anthropic | tracking id `r-c623a1-0298ad`* *This is an AI-generated review and may contain mistakes.* **Status:** ✅ Completed --- **✅ Verdict: LGTM** — The change correctly removes the required field constraint for tokenSecretRef and adds documentation explaining when it's optional. **Complexity:** trivial This is a straightforward CRD regeneration that removes `tokenSecretRef` from the required fields list and adds clarifying documentation. The change aligns with the PR description's goal of fixing Flux dry-run validation for RunnerPools that don't specify a token secret when using a global controller token. No security or logic concerns.
rcsheets merged commit 353afbdd68 into master 2026-03-27 06:29:20 +00:00
rcsheets deleted branch fix/crd-optional-tokenref 2026-03-27 06:29:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brooktrails/forgejo-runner-operator!18
No description provided.