Skip to content

Commit 65178ae

Browse files
M4t7emrclrchtr
authored andcommitted
feat(cilium): added BPF/XDP and support for encryption
1 parent 3a5ac95 commit 65178ae

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

manifest_cilium.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@ data "helm_template" "cilium_default" {
2828
name = "kubeProxyReplacement"
2929
value = "true"
3030
}
31+
set {
32+
name = "bpf.masquerade"
33+
value = "true"
34+
}
35+
set {
36+
name = "loadBalancer.acceleration"
37+
value = "native"
38+
}
39+
set {
40+
name = "encryption.enabled"
41+
value = var.cilium_enable_encryption ? "true" : "false"
42+
}
43+
set {
44+
name = "encryption.type"
45+
value = "wireguard"
46+
}
3147
set {
3248
name = "securityContext.capabilities.ciliumAgent"
3349
value = "{CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID}"

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,12 @@ variable "cilium_values" {
336336
EOF
337337
}
338338

339+
variable "cilium_enable_encryption" {
340+
type = bool
341+
default = false
342+
description = "Enable transparent network encryption."
343+
}
344+
339345
variable "cilium_enable_service_monitors" {
340346
type = bool
341347
default = false

0 commit comments

Comments
 (0)