1
0
mirror of https://github.com/rancher/types.git synced 2025-08-30 19:23:06 +00:00

Move PodSecurityPolicy to KubeAPI

This commit is contained in:
moelsayed 2017-12-19 20:50:28 +02:00
parent 0a1ed50b60
commit 3525a976f9

View File

@ -19,8 +19,6 @@ type RancherKubernetesEngineConfig struct {
Authorization AuthzConfig `yaml:"authorization" json:"authorization,omitempty"`
// Enable/disable strict docker version checking
IgnoreDockerVersion bool `yaml:"ignore_docker_version" json:"ignoreDockerVersion"`
// Enable/disable Pod Security Policy
DisablePSP bool `yaml:"disable_psp" json:"disablePSP,omitempty"`
}
type RKEConfigNode struct {
@ -69,6 +67,8 @@ type KubeAPIService struct {
BaseService `yaml:",inline" json:",inline"`
// Virtual IP range that will be used by Kubernetes services
ServiceClusterIPRange string `yaml:"service_cluster_ip_range" json:"serviceClusterIpRange,omitempty"`
// Enabled/Disable PodSecurityPolicy
PodSecurityPolicy bool `yaml:"pod_security_policy" json:"podSecurityPolicy,omitempty"`
}
type KubeControllerService struct {