File tree 2 files changed +6
-10
lines changed
roles/kubernetes/control-plane
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 122
122
- item in kube_apiserver_admission_plugins_needs_configuration
123
123
loop : " {{ kube_apiserver_enable_admission_plugins }}"
124
124
125
- - name : Kubeadm | Configure default cluster podnodeslector
126
- template :
127
- src : " podnodeselector.yaml.j2"
128
- dest : " {{ kube_config_dir }}/admission-controls/podnodeselector.yaml"
129
- mode : " 0640"
130
- when :
131
- - kube_apiserver_admission_plugins_podnodeselector_default_node_selector is defined
132
- - kube_apiserver_admission_plugins_podnodeselector_default_node_selector | length > 0
133
-
134
125
- name : Kubeadm | Check apiserver.crt SANs
135
126
vars :
136
127
apiserver_ips : " {{ apiserver_sans | map('ansible.utils.ipaddr') | reject('equalto', False) | list }}"
Original file line number Diff line number Diff line change 1
1
---
2
2
# list of admission plugins that needs to be configured
3
- kube_apiserver_admission_plugins_needs_configuration : [EventRateLimit, PodSecurity]
3
+ # https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/
4
+ kube_apiserver_admission_plugins_needs_configuration :
5
+ - EventRateLimit
6
+ - ImagePolicyWebhook
7
+ - PodSecurity
8
+ - PodNodeSelector
You can’t perform that action at this time.
0 commit comments