Remove special case for PodNodeSelector
This is already handled by the previous task.pull/11471/head
parent
47c3949477
commit
d3402736d4
|
@ -122,15 +122,6 @@
|
||||||
- item in kube_apiserver_admission_plugins_needs_configuration
|
- item in kube_apiserver_admission_plugins_needs_configuration
|
||||||
loop: "{{ kube_apiserver_enable_admission_plugins }}"
|
loop: "{{ kube_apiserver_enable_admission_plugins }}"
|
||||||
|
|
||||||
- name: Kubeadm | Configure default cluster podnodeslector
|
|
||||||
template:
|
|
||||||
src: "podnodeselector.yaml.j2"
|
|
||||||
dest: "{{ kube_config_dir }}/admission-controls/podnodeselector.yaml"
|
|
||||||
mode: "0640"
|
|
||||||
when:
|
|
||||||
- kube_apiserver_admission_plugins_podnodeselector_default_node_selector is defined
|
|
||||||
- kube_apiserver_admission_plugins_podnodeselector_default_node_selector | length > 0
|
|
||||||
|
|
||||||
- name: Kubeadm | Check apiserver.crt SANs
|
- name: Kubeadm | Check apiserver.crt SANs
|
||||||
vars:
|
vars:
|
||||||
apiserver_ips: "{{ apiserver_sans | map('ansible.utils.ipaddr') | reject('equalto', False) | list }}"
|
apiserver_ips: "{{ apiserver_sans | map('ansible.utils.ipaddr') | reject('equalto', False) | list }}"
|
||||||
|
|
|
@ -3,3 +3,4 @@
|
||||||
kube_apiserver_admission_plugins_needs_configuration:
|
kube_apiserver_admission_plugins_needs_configuration:
|
||||||
- EventRateLimit
|
- EventRateLimit
|
||||||
- PodSecurity
|
- PodSecurity
|
||||||
|
- PodNodeSelector
|
||||||
|
|
Loading…
Reference in New Issue