From 70ee83133afada61dd121d25771c886c933406be Mon Sep 17 00:00:00 2001 From: Sergiy Kulanov Date: Wed, 21 Jan 2026 16:03:14 +0100 Subject: [PATCH] fix: update CodebaseBranch pipelines example with security field (#254) The kubebuilder example annotation for the Pipelines field in CodebaseBranchSpec was missing the security pipeline configuration. This update adds the security field to the example, ensuring the generated CRD documentation accurately reflects all available pipeline types (build, review, and security) that users can configure. This aligns the Go source annotation with the CRD definition and ensures future `make manifests` runs will correctly preserve this field. Signed-off-by: Sergiy Kulanov --- api/v1/codebasebranch_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/codebasebranch_types.go b/api/v1/codebasebranch_types.go index 6ef145b0..3e86aa11 100644 --- a/api/v1/codebasebranch_types.go +++ b/api/v1/codebasebranch_types.go @@ -35,7 +35,7 @@ type CodebaseBranchSpec struct { // Pipelines is a map of pipelines related to the branch. // +nullable // +optional - // +kubebuilder:example:={"review": "review-pipeline", "build": "build-pipeline"} + // +kubebuilder:example:={"review": "review-pipeline", "build": "build-pipeline", "security": "security-pipeline"} Pipelines map[string]string `json:"pipelines,omitempty"` }