Skip to content

Commit

Permalink
AlwaysPullImages admission plugin option
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreat authored and Alena Prokharchyk committed Jan 9, 2019
1 parent 9ee750e commit 6d36ba8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cluster/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d36ba8

Please sign in to comment.