Fix SELinux option in node pools #1397
Open
+12
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #1370
Update the
disable_selinux
option to correctly disable SELinux on node pools.selinux
option todisable_selinux
inagents.tf
,autoscaler-agents.tf
,control_planes.tf
,init.tf
,locals.tf
, andvariables.tf
.local.k3s-agent-config
variable inagents.tf
to use thedisable_selinux
option.data.cloudinit_config.autoscaler_config
variable inautoscaler-agents.tf
to use thedisable_selinux
option.local.k3s-config
variable incontrol_planes.tf
to use thedisable_selinux
option.null_resource.first_control_plane
resource ininit.tf
to use thedisable_selinux
option.local.control_plane_nodes
,local.agent_nodes_from_integer_counts
, andlocal.agent_nodes_from_maps_for_counts
variables inlocals.tf
to use thedisable_selinux
option.control_plane_nodepools
andagent_nodepools
variables invariables.tf
to use thedisable_selinux
option.For more details, open the Copilot Workspace session.