Skip to content

Commit

Permalink
fixed syscvtl block
Browse files Browse the repository at this point in the history
  • Loading branch information
patduin committed Jan 19, 2024
1 parent ce48dbc commit d329837
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,18 @@ resource "kubernetes_deployment_v1" "waggle_dance" {
dynamic "security_context" {
for_each = var.enable_sysctl_config_in_eks ? ["enabled"] : []
content {
sysctl = [{
sysctl {
name="net.ipv4.tcp_keepalive_time"
value="${var.tcp_keepalive_time}"
},{
value= var.tcp_keepalive_time
}
sysctl {
name="net.ipv4.tcp_keepalive_intvl"
value="${var.tcp_keepalive_intvl}"
},{
value= var.tcp_keepalive_intvl
}
sysctl {
name="net.ipv4.tcp_keepalive_probes"
value="${var.tcp_keepalive_probes}"
}]
value= var.tcp_keepalive_probes
}
}
}
container {
Expand Down

0 comments on commit d329837

Please sign in to comment.