Skip to main content

new-api-field

How to add a new field to the CheCluster API

소스 정보

저장소
eclipse-che/che-operator
최근 소스 활동
2026년 6월 9일 14:08
감지된 SKILL.md 언어
영어
스타
71
포크
104

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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
GitHub에서 보기