feat(app): support version field in App CRD (#7279)

feat(app): support version field in App CRD (#7278)

Co-authored-by: cuisongliu <cuisongliu@qq.com>
This commit is contained in:
github-actions[bot]
2026-08-31 10:52:16 +08:00
committed by GitHub
parent c9b0006b8a
commit 472a2d98ea
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -60,6 +60,9 @@ type AppSpec struct {
//+kubebuilder:validation:Optional
Position float64 `json:"position,omitempty"`
//+kubebuilder:validation:Optional
Version string `json:"version,omitempty"`
//+kubebuilder:validation:Optional
I18N *map[string]AppMeta `json:"i18n,omitempty"`
}
@@ -113,6 +113,8 @@ spec:
type: number
type:
type: string
version:
type: string
type: object
status:
description: AppStatus defines the observed state of App
@@ -125,6 +125,8 @@ spec:
type: number
type:
type: string
version:
type: string
type: object
status:
description: AppStatus defines the observed state of App