diff --git a/controllers/app/api/v1/template_types.go b/controllers/app/api/v1/template_types.go index c3f4a6feab0..6394f417a5a 100644 --- a/controllers/app/api/v1/template_types.go +++ b/controllers/app/api/v1/template_types.go @@ -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"` } diff --git a/controllers/app/config/crd/bases/app.sealos.io_instances.yaml b/controllers/app/config/crd/bases/app.sealos.io_instances.yaml index c21cb543f0a..c9a709f9052 100644 --- a/controllers/app/config/crd/bases/app.sealos.io_instances.yaml +++ b/controllers/app/config/crd/bases/app.sealos.io_instances.yaml @@ -50,6 +50,8 @@ spec: type: object description: type: string + draft: + type: boolean gitRepo: type: string icon: diff --git a/controllers/app/config/crd/bases/app.sealos.io_templates.yaml b/controllers/app/config/crd/bases/app.sealos.io_templates.yaml index 5cf36ebb39c..3e85a52271a 100644 --- a/controllers/app/config/crd/bases/app.sealos.io_templates.yaml +++ b/controllers/app/config/crd/bases/app.sealos.io_templates.yaml @@ -50,6 +50,8 @@ spec: type: object description: type: string + draft: + type: boolean gitRepo: type: string icon: diff --git a/controllers/app/deploy/manifests/deploy.yaml b/controllers/app/deploy/manifests/deploy.yaml index e5c87c60aa1..e79ef410e4e 100644 --- a/controllers/app/deploy/manifests/deploy.yaml +++ b/controllers/app/deploy/manifests/deploy.yaml @@ -169,6 +169,8 @@ spec: type: object description: type: string + draft: + type: boolean gitRepo: type: string icon: @@ -263,6 +265,8 @@ spec: type: object description: type: string + draft: + type: boolean gitRepo: type: string icon: