Skip to content

Implement more advanced CEL validation for some fields in CRDs #2383

@programmer04

Description

@programmer04

Problem Statement

PR

reintroduced CRD linitng and fixed some obvious issues. Less obvious was handled in the separate 8d2f5ea commit in the PR #2382. It was just adding

// +kubebuilder:validation:MinLength=1

to satisfy the linter.

Proposed Solution

Implement proper validation for those fields that have a rationale and won't pass for basically everything

Acceptance Criteria

  • validation for fields mentioned above is revisited and enhanced

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions