terraform-hcloud-kube-hetzner icon indicating copy to clipboard operation
terraform-hcloud-kube-hetzner copied to clipboard

Fix SELinux option in node pools

Open mysticaltech opened this issue 1 year ago • 0 comments
trafficstars

Related to #1370

Update the disable_selinux option to correctly disable SELinux on node pools.

  • Change the selinux option to disable_selinux in agents.tf, autoscaler-agents.tf, control_planes.tf, init.tf, locals.tf, and variables.tf.
  • Update the local.k3s-agent-config variable in agents.tf to use the disable_selinux option.
  • Update the data.cloudinit_config.autoscaler_config variable in autoscaler-agents.tf to use the disable_selinux option.
  • Update the local.k3s-config variable in control_planes.tf to use the disable_selinux option.
  • Update the null_resource.first_control_plane resource in init.tf to use the disable_selinux option.
  • Update the local.control_plane_nodes, local.agent_nodes_from_integer_counts, and local.agent_nodes_from_maps_for_counts variables in locals.tf to use the disable_selinux option.
  • Update the control_plane_nodepools and agent_nodepools variables in variables.tf to use the disable_selinux option.

For more details, open the Copilot Workspace session.

mysticaltech avatar Jul 06 '24 07:07 mysticaltech