feat: add bootstrap_cilium_loadbalancer_mode config option and default to dsr

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-12-11 16:07:57 -05:00
1 parent a374c72887
commit ab7a99abbe
4 files changed
+6 -2

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
loop: loop:
- bootstrap_acme_email - bootstrap_acme_email
- bootstrap_age_public_key - bootstrap_age_public_key
- bootstrap_cilium_loadbalancer_mode
- bootstrap_cloudflare_account_tag - bootstrap_cloudflare_account_tag
- bootstrap_cloudflare_domain - bootstrap_cloudflare_domain
- bootstrap_cloudflare_token - bootstrap_cloudflare_token
@@ -53,7 +53,7 @@ spec:
{% endif %} {% endif %}
loadBalancer: loadBalancer:
algorithm: maglev algorithm: maglev
mode: dsr mode: {{ bootstrap_cilium_loadbalancer_mode | default('dsr', true) }}
localRedirectPolicy: true localRedirectPolicy: true
operator: operator:
replicas: 1 replicas: 1
@@ -79,7 +79,7 @@ data:
{% endif %} {% endif %}
loadBalancer: loadBalancer:
algorithm: maglev algorithm: maglev
mode: dsr mode: {{ bootstrap_cilium_loadbalancer_mode | default('dsr', true) }}
localRedirectPolicy: true localRedirectPolicy: true
operator: operator:
replicas: 1 replicas: 1
+3
View File
@@ -47,6 +47,9 @@ bootstrap_external_ingress_addr:
# The Load balancer IP for internal ingress, choose an available IP in your nodes network that is not being used # The Load balancer IP for internal ingress, choose an available IP in your nodes network that is not being used
bootstrap_internal_ingress_addr: bootstrap_internal_ingress_addr:
# (Advanced) Cilium load balancer mode, choose either dsr or snat, if you nodes aren't on a network by themselves change this to snat
bootstrap_cilium_loadbalancer_mode: dsr
# Keep the next three options default unless you know what you are doing # Keep the next three options default unless you know what you are doing
# (Advanced) Enable ipv6 # (Advanced) Enable ipv6
bootstrap_ipv6_enabled: false bootstrap_ipv6_enabled: false