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:
parent
0a1ed50b60
commit
3525a976f9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user