From 646cf06eb337b73ee6d23496595beccfdd4a8f2c Mon Sep 17 00:00:00 2001 From: jandres - moscardo Date: Thu, 29 Feb 2024 11:30:55 +0100 Subject: [PATCH] Update kubeadm-setup.yml no need for this task since it is handled when adding the configuration of the plugin by default --- roles/kubernetes/control-plane/tasks/kubeadm-setup.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/roles/kubernetes/control-plane/tasks/kubeadm-setup.yml b/roles/kubernetes/control-plane/tasks/kubeadm-setup.yml index dcad832ba89..4cf961f1c89 100644 --- a/roles/kubernetes/control-plane/tasks/kubeadm-setup.yml +++ b/roles/kubernetes/control-plane/tasks/kubeadm-setup.yml @@ -108,15 +108,6 @@ - item in kube_apiserver_admission_plugins_needs_configuration 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 vars: apiserver_ips: "{{ apiserver_sans | map('ansible.utils.ipaddr') | reject('equalto', False) | list }}"