1
0
mirror of https://github.com/rancher/types.git synced 2025-09-15 22:39:05 +00:00

enableNetworkPolicy

This commit is contained in:
kinarashah
2018-07-20 16:25:12 -07:00
committed by Denise
parent 082191af65
commit 6c30a8ff51

View File

@@ -70,6 +70,7 @@ type ClusterSpec struct {
DefaultPodSecurityPolicyTemplateName string `json:"defaultPodSecurityPolicyTemplateName,omitempty" norman:"type=reference[podSecurityPolicyTemplate]"`
DefaultClusterRoleForProjectMembers string `json:"defaultClusterRoleForProjectMembers,omitempty" norman:"type=reference[roleTemplate]"`
DockerRootDir string `json:"dockerRootDir,omitempty" norman:"default=/var/lib/docker"`
EnableNetworkPolicy *bool `json:"enableNetworkPolicy", norman:"nocreate,noupdate,default=false"`
}
type ImportedConfig struct {
@@ -96,6 +97,7 @@ type ClusterStatus struct {
Limits v1.ResourceList `json:"limits,omitempty"`
Version *version.Info `json:"version,omitempty"`
AppliedPodSecurityPolicyTemplateName string `json:"appliedPodSecurityPolicyTemplateId"`
AppliedEnableNetworkPolicy bool `json:"appliedEnableNetworkPolicy", norman:"nocreate,noupdate,default=false"`
}
type ClusterComponentStatus struct {