Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add app template draft spec. #4044

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading