Created
November 3, 2021 20:38
-
-
Save jaimegag/8ec6978ca1985c8f925c9d7ed1b773c8 to your computer and use it in GitHub Desktop.
TKGm Enable PodSecurityPolicy Admission Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:overlay", "overlay") | |
#@ load("@ytt:data", "data") | |
#! Enable PodSecurityPolicy Admission Controller. | |
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"KubeadmControlPlane"}) | |
--- | |
spec: | |
kubeadmConfigSpec: | |
#@overlay/match missing_ok=True | |
clusterConfiguration: | |
apiServer: | |
extraArgs: | |
#@overlay/match missing_ok=True | |
enable-admission-plugins: "AlwaysPullImages,NodeRestriction,EventRateLimit,PodSecurityPolicy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment