This repository was archived by the owner on Oct 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 4646 {{- end }}
4747 {{- if bool (getenv "KOPS_ADMISSION_CONTROL_ENABLED" "true") }}
4848 admissionControl:
49+ # Below are the officially recommended admission controllers for k8s 1.10-1.12
4950 - NamespaceLifecycle
5051 - LimitRanger
5152 - ServiceAccount
@@ -54,10 +55,27 @@ spec:
5455 - MutatingAdmissionWebhook
5556 - ValidatingAdmissionWebhook
5657 - ResourceQuota
57- - NodeRestriction
58+ # Starting with k8s 1.13, Priority is also recommended
5859 - Priority
59- - Initializers
60+ # Starting wtih 1.14, these additional controllers are recommended
61+ - TaintNodesByCondition
62+ - PersistentVolumeClaimResize
63+
64+ # These controllers are optional security enhancements
65+ # NodeRestriction works with Node and RBAC authorizers to limit what kubelet can modify
66+ # See https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/#api-authorization
67+ - NodeRestriction
68+ # DenyEscalatingExec: deny exec and attach commands to pods that run with escalated privileges that allow host access.
6069 - DenyEscalatingExec
70+
71+ # These are just optional
72+ # DefaultTolerationSeconds sets the default forgiveness toleration for pods to tolerate
73+ # the taints notready:NoExecute and unreachable:NoExecute to 5 minutes
74+ - DefaultTolerationSeconds
75+
76+ # The Initializers controller was an alpha feature of k8s 1.12 and 1.13 that did not pan out.
77+ # Removed in Kubernetes 1.14 https://github.com/kubernetes/kubernetes/pull/72972
78+ # - Initializers
6179 {{- end }}
6280 {{- if getenv "KOPS_OIDC_ISSUER_URL" }}
6381 oidcClientID: "{{ getenv "KOPS_OIDC_CLIENT_ID" "kubernetes"}}"
You can’t perform that action at this time.
0 commit comments