Fix cilium portmap (#12814)

This commit is contained in:
Qasim Mehmood 2025-12-24 17:42:31 +05:00 committed by GitHub
parent e80087df93
commit aaaf82f308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 20 deletions

View File

@ -30,13 +30,6 @@
when:
- cilium_identity_allocation_mode == "kvstore"
- name: Cilium | Enable portmap addon
template:
src: 000-cilium-portmap.conflist.j2
dest: /etc/cni/net.d/000-cilium-portmap.conflist
mode: "0644"
when: cilium_enable_portmap
- name: Cilium | Render values
template:
src: values.yaml.j2

View File

@ -1,13 +0,0 @@
{
"cniVersion": "0.3.1",
"name": "cilium-portmap",
"plugins": [
{
"type": "cilium-cni"
},
{
"type": "portmap",
"capabilities": { "portMappings": true }
}
]
}

View File

@ -56,6 +56,9 @@ bpf:
cni:
exclusive: {{ cilium_cni_exclusive | to_json }}
logFile: {{ cilium_cni_log_file }}
{% if cilium_enable_portmap %}
chainingMode: portmap
{% endif %}
autoDirectNodeRoutes: {{ cilium_auto_direct_node_routes | to_json }}