Skip to content

feat: add spec.filterRules to WorkspaceKind CRD for compatibility selectors#1175

Draft
Jefftree wants to merge 1 commit into
kubeflow:notebooks-v2from
Jefftree:feat-wsk-filterrules
Draft

feat: add spec.filterRules to WorkspaceKind CRD for compatibility selectors#1175
Jefftree wants to merge 1 commit into
kubeflow:notebooks-v2from
Jefftree:feat-wsk-filterrules

Conversation

@Jefftree

Copy link
Copy Markdown

closes: #690

Adds the spec.filterRules[] field and supporting types to the WorkspaceKind CRD so the backend API can drive compatibility-selector filtering. The controller persists and validates the rules but does not evaluate them, per the issue.

The webhook validates each label selector. Structural constraints (scope enum, at-least-one match condition per entry, at-least-one effect, denyMessage only with deny) are enforced by the CRD schema via kubebuilder markers and CEL.

…ectors

Signed-off-by: Jefftree <jeffrey.ying86@live.com>
@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign andyatmiami for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow Bot added the area/controller area - related to controller components label Jun 12, 2026
@google-oss-prow google-oss-prow Bot added the area/v2 area - version - kubeflow notebooks v2 label Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 do-not-merge/work-in-progress size/XL

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant