You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Ability to configure ovn.kubernetes.io/routes per namespace #5062
@kvaps, it might be more effective to move this functionality to a different controller or a webhook, as it appears to be needed for a specific use case rather than a common one.
So we have implemented a webhook for kube-ovn, which just copies annotations port_security and routes annotations from the namespace to all pods created in it.
Activity
oilbeater commentedon Mar 10, 2025
@kvaps, it might be more effective to move this functionality to a different controller or a webhook, as it appears to be needed for a specific use case rather than a common one.
kvaps commentedon Mar 10, 2025
Got it, I'm going to prepare webhook, and I will let you know.
Maybe you'll be interested to get it as optional component to upstream.
kvaps commentedon Mar 13, 2025
So we have implemented a webhook for kube-ovn, which just copies annotations
port_securityandroutesannotations from the namespace to all pods created in it.Source code is available here:
https://github.com/cozystack/cozystack/tree/main/packages/system/kubeovn-webhook