mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 13:18:47 +00:00
Update apis for 1.16
This commit is contained in:
committed by
Alena Prokharchyk
parent
9411027476
commit
ecfab50fce
@@ -235,7 +235,7 @@ func (c *Cluster) BuildKubeAPIProcess(host *hosts.Host, prefixPath string, svcOp
|
||||
}
|
||||
|
||||
if c.Services.KubeAPI.PodSecurityPolicy {
|
||||
CommandArgs["runtime-config"] = "extensions/v1beta1/podsecuritypolicy=true"
|
||||
CommandArgs["runtime-config"] = "policy/v1beta1/podsecuritypolicy=true"
|
||||
for _, optionName := range admissionControlOptionNames {
|
||||
if _, ok := CommandArgs[optionName]; ok {
|
||||
if c.Services.KubeAPI.AlwaysPullImages {
|
||||
|
Reference in New Issue
Block a user