kubernetes-sigs / kubernetes-sigs/controller-tools

It should be possible to line break CEL validation expressions

Open
#1,146 12 comments 1 reaction 0 assignees View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
868
Forks
482
Avg merge
1d 11h
Merged PRs (30d)
8

Description

We have CEL expressions that are more than 700 characters long and completely unreadable due to the fact that they have to be defined as one single long line. We should find a way to allow defining them over multiple lines.

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file, test, or entry point. Start by locating how controller-tools parses and emits CEL validation expressions, then determine where line breaks are rejected or lost; done means expressions can be defined across multiple lines without changing their validation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.