Skip to content

Commit

Permalink
Add app template draft spec. (labring#4044)
Browse files Browse the repository at this point in the history
Signed-off-by: zzjin <tczzjin@gmail.com>
  • Loading branch information
zzjin authored and bxy4543 committed Oct 13, 2023
1 parent 6536041 commit aa1edf6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/app/api/v1/template_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ type TemplateData struct {
Readme string `json:"readme,omitempty"`
Icon string `json:"icon,omitempty"`
TemplateType TemplateType `json:"templateType"`
Draft bool `json:"draft,omitempty"`
Defaults Defaults `json:"defaults,omitempty"`
Inputs Inputs `json:"inputs,omitempty"`
}
Expand Down
2 changes: 2 additions & 0 deletions controllers/app/config/crd/bases/app.sealos.io_instances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ spec:
type: object
description:
type: string
draft:
type: boolean
gitRepo:
type: string
icon:
Expand Down
2 changes: 2 additions & 0 deletions controllers/app/config/crd/bases/app.sealos.io_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ spec:
type: object
description:
type: string
draft:
type: boolean
gitRepo:
type: string
icon:
Expand Down
4 changes: 4 additions & 0 deletions controllers/app/deploy/manifests/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ spec:
type: object
description:
type: string
draft:
type: boolean
gitRepo:
type: string
icon:
Expand Down Expand Up @@ -263,6 +265,8 @@ spec:
type: object
description:
type: string
draft:
type: boolean
gitRepo:
type: string
icon:
Expand Down

0 comments on commit aa1edf6

Please sign in to comment.