Florian Ruynat
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
roles/kubernetes/control-plane/tasks/main.yml
|
@ -3,9 +3,6 @@ |
|
|
tags: |
|
|
tags: |
|
|
- k8s-pre-upgrade |
|
|
- k8s-pre-upgrade |
|
|
|
|
|
|
|
|
- name: Define nodes already joined to existing cluster and first_kube_control_plane |
|
|
|
|
|
import_tasks: define-first-kube-control.yml |
|
|
|
|
|
|
|
|
|
|
|
- name: Create webhook token auth config |
|
|
- name: Create webhook token auth config |
|
|
template: |
|
|
template: |
|
|
src: webhook-token-auth-config.yaml.j2 |
|
|
src: webhook-token-auth-config.yaml.j2 |
|
@ -64,6 +61,9 @@ |
|
|
kube_apiserver_enable_admission_plugins: "{{ kube_apiserver_enable_admission_plugins | difference(['SecurityContextDeny']) | union(['PodSecurityPolicy']) | unique }}" |
|
|
kube_apiserver_enable_admission_plugins: "{{ kube_apiserver_enable_admission_plugins | difference(['SecurityContextDeny']) | union(['PodSecurityPolicy']) | unique }}" |
|
|
when: podsecuritypolicy_enabled |
|
|
when: podsecuritypolicy_enabled |
|
|
|
|
|
|
|
|
|
|
|
- name: Define nodes already joined to existing cluster and first_kube_control_plane |
|
|
|
|
|
import_tasks: define-first-kube-control.yml |
|
|
|
|
|
|
|
|
- name: Include kubeadm setup |
|
|
- name: Include kubeadm setup |
|
|
import_tasks: kubeadm-setup.yml |
|
|
import_tasks: kubeadm-setup.yml |
|
|
|
|
|
|
|
|