Skip to content

Cilium Egress Gateway in values.yaml.j2 #12363

Open
@prennig86

Description

@prennig86

What would you like to be added

I need to switch on the egress gateway behaviour for cilium, currently is not available by kubespray wrapping.

The original values.yaml parameter is here:
https://github.com/cilium/cilium/blob/v1.17.3/install/kubernetes/cilium/values.yaml#L2071

My workaround was adding following rows in the value template roles/network_plugin/cilium/templates/values.yaml.j2

egressGateway:
enabled: {{ cilium_enable_egressGateway | to_json }}

Then cilium_enable_egressGateway was added in inventory/sample/group_vars/k8s_cluster/k8s-net-cilium.yml as true by default

Why is this needed

In order to redirect and SNAT the traffic that leaves k8s cluster

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions