Skip to main content

new-api-field

How to add a new field to the CheCluster API

Source facts

Repository
eclipse-che/che-operator
Last source activity
June 9, 2026 at 14:08
Detected SKILL.md language
English
Stars
71
Forks
104

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
new-api-field
description
How to add a new field to the CheCluster API
# Adding a New CheCluster API Field Reference: existing fields in `api/v2/checluster_types.go` ## Steps 1. Add the field to the appropriate struct in `api/v2/checluster_types.go` 2. Add kubebuilder markers for validation, defaults, and CSV annotations 3. Run `build/scripts/docker-run.sh make update-dev-resources` to regenerate CRDs, DeepCopy methods, and related manifests. 4. Add webhook validation if needed in `api/v2/checluster_webhook.go` 5. Run `make test` to verify
View on GitHub