1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 07:52:41 +00:00

Add Enforced flag to ClusterTemplate

This commit is contained in:
Prachi Damle
2019-06-18 14:54:08 -07:00
committed by Alena Prokharchyk
parent 5530c855d4
commit 5c0a7ab25a

View File

@@ -20,6 +20,7 @@ type ClusterTemplateSpec struct {
DisplayName string `json:"displayName" norman:"required"`
Description string `json:"description"`
Enabled *bool `json:"enabled,omitempty" norman:"default=true"`
Enforced bool `json:"enforced,omitempty"`
DefaultRevisionName string `json:"defaultRevisionName,omitempty" norman:"type=reference[clusterTemplateRevision]"`
Members []Member `json:"members,omitempty"`