feat: add option to enable selinux in containerd
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
65f73c3e0c
commit
28c003be55
@ -13,6 +13,7 @@ k3s_reset: False
|
||||
k3s_token: "secure-token"
|
||||
k3s_node_ip: "{{ ansible_default_ipv4.address }}"
|
||||
k3s_init_log_enabled: False
|
||||
k3s_selinux_enabled: False
|
||||
|
||||
k3s_server: True
|
||||
k3s_server_bind_ip: "0.0.0.0"
|
||||
|
@ -13,6 +13,7 @@
|
||||
- url: https://docs.projectcalico.org/archive/v3.24/manifests/tigera-operator.yaml
|
||||
dest: tigera-operator.yaml
|
||||
k3s_init_log_enabled: True
|
||||
k3s_selinux_enabled: True
|
||||
pre_tasks:
|
||||
- name: Override host variables
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -8,6 +8,7 @@ node-ip: "{{ k3s_node_ip }}"
|
||||
kubelet-arg:
|
||||
{{ __k3s_kubelet_arg | to_nice_yaml(indent=2) | indent(2, False) }}
|
||||
{% endif %}
|
||||
selinux: {{ k3s_selinux_enabled | bool | lower }}
|
||||
|
||||
{% if k3s_server | bool %}
|
||||
bind-address: "{{ k3s_server_bind_ip }}"
|
||||
|
Loading…
Reference in New Issue
Block a user