Skip to content

Commit

Permalink
Update kubeadm-setup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
titansmc authored Oct 9, 2023
1 parent 26c04ea commit 3ae233b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/kubernetes/control-plane/tasks/kubeadm-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
dest: "{{ kube_config_dir }}/admission-controls/podnodeselector.yaml"
mode: 0640
when:
- kube_apiserver_admission_plugins_podnodeselector_default_node_selector
- 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:
Expand Down

0 comments on commit 3ae233b

Please sign in to comment.