mirror of
https://github.com/labring/sealos.git
synced 2026-09-01 15:38:06 +08:00
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:
committed by
GitHub
parent
c9b0006b8a
commit
472a2d98ea
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user