Skip to content

Commit

Permalink
Change Cilium configuration to use kube-proxy replacement
Browse files Browse the repository at this point in the history
* Skip creating the kube-proxy DaemonSet when Cilium is chosen
  • Loading branch information
dghubble committed Aug 23, 2024
1 parent 0b78c87 commit 1ddecb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ locals {
pod_cidr = var.pod_cidr
daemonset_tolerations = var.daemonset_tolerations
}
) if var.components.enable && var.components.kube_proxy.enable
) if var.components.enable && var.components.kube_proxy.enable && var.networking != "cilium"
}
)
}
Expand Down
4 changes: 2 additions & 2 deletions resources/cilium/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ data:
enable-bpf-masquerade: "true"

# kube-proxy
kube-proxy-replacement: "false"
kube-proxy-replacement-healthz-bind-address: ""
kube-proxy-replacement: "true"
kube-proxy-replacement-healthz-bind-address: ":10256"
enable-session-affinity: "true"

# ClusterIPs from host namespace
Expand Down

0 comments on commit 1ddecb1

Please sign in to comment.