mirror of
https://github.com/rancher/rke.git
synced 2025-07-31 06:49:54 +00:00
AlwaysPullImages admission plugin option
This commit is contained in:
parent
9ee750ec01
commit
6d36ba86e9
@ -199,6 +199,11 @@ func (c *Cluster) BuildKubeAPIProcess(prefixPath string) v3.Process {
|
||||
baseEnabledAdmissionPlugins = append(baseEnabledAdmissionPlugins, "PodSecurityPolicy")
|
||||
}
|
||||
|
||||
// AlwaysPullImages
|
||||
if c.Services.KubeAPI.AlwaysPullImages {
|
||||
baseEnabledAdmissionPlugins = append(baseEnabledAdmissionPlugins, "AlwaysPullImages")
|
||||
}
|
||||
|
||||
// Admission control plugins
|
||||
// Resolution order:
|
||||
// k8s_defaults.go K8sVersionServiceOptions
|
||||
|
Loading…
Reference in New Issue
Block a user