Skip to content

Commit

Permalink
Merge pull request #1220 from kube-hetzner/fix/linting-error
Browse files Browse the repository at this point in the history
Fix linting error
  • Loading branch information
mysticaltech authored Feb 22, 2024
2 parents 7a64ea3 + dc2d8ba commit e969085
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ locals {
swap_size : nodepool_obj.swap_size,
zram_size : nodepool_obj.zram_size,
index : node_index
selinux: nodepool_obj.selinux
selinux : nodepool_obj.selinux
placement_group_compat_idx : nodepool_obj.placement_group_compat_idx,
placement_group : nodepool_obj.placement_group
}
Expand All @@ -155,7 +155,7 @@ locals {
swap_size : nodepool_obj.swap_size,
zram_size : nodepool_obj.zram_size,
index : node_index
selinux: nodepool_obj.selinux
selinux : nodepool_obj.selinux
placement_group_compat_idx : nodepool_obj.placement_group_compat_idx,
placement_group : nodepool_obj.placement_group
}
Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ variable "control_plane_nodepools" {
swap_size = optional(string, "")
zram_size = optional(string, "")
kubelet_args = optional(list(string), ["kube-reserved=cpu=250m,memory=1500Mi,ephemeral-storage=1Gi", "system-reserved=cpu=250m,memory=300Mi"])
selinux = optional(bool, true)
selinux = optional(bool, true)
placement_group_compat_idx = optional(number, 0)
placement_group = optional(string, null)
}))
Expand Down Expand Up @@ -207,7 +207,7 @@ variable "agent_nodepools" {
swap_size = optional(string, "")
zram_size = optional(string, "")
kubelet_args = optional(list(string), ["kube-reserved=cpu=50m,memory=300Mi,ephemeral-storage=1Gi", "system-reserved=cpu=250m,memory=300Mi"])
selinux = optional(bool, true)
selinux = optional(bool, true)
placement_group_compat_idx = optional(number, 0)
placement_group = optional(string, null)
}))
Expand Down Expand Up @@ -919,4 +919,4 @@ variable "disable_selinux" {
type = bool
default = false
description = "Disable SELinux on all nodes."
}
}

0 comments on commit e969085

Please sign in to comment.