mirror of
https://github.com/rancher/types.git
synced 2025-09-01 21:32:10 +00:00
ClusterTemplate remove Enabled, readonly on Cluster
This commit is contained in:
committed by
Alena Prokharchyk
parent
7c47f85c08
commit
cc27d74d83
@@ -19,7 +19,6 @@ type ClusterTemplate struct {
|
||||
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]"`
|
||||
|
||||
|
@@ -108,7 +108,7 @@ type ClusterSpec struct {
|
||||
AzureKubernetesServiceConfig *MapStringInterface `json:"azureKubernetesServiceConfig,omitempty"`
|
||||
AmazonElasticContainerServiceConfig *MapStringInterface `json:"amazonElasticContainerServiceConfig,omitempty"`
|
||||
GenericEngineConfig *MapStringInterface `json:"genericEngineConfig,omitempty"`
|
||||
ClusterTemplateName string `json:"clusterTemplateName,omitempty" norman:"type=reference[clusterTemplate]"`
|
||||
ClusterTemplateName string `json:"clusterTemplateName,omitempty" norman:"type=reference[clusterTemplate],nocreate,noupdate"`
|
||||
ClusterTemplateRevisionName string `json:"clusterTemplateRevisionName,omitempty" norman:"type=reference[clusterTemplateRevision]"`
|
||||
ClusterTemplateAnswers Answer `json:"answers,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user