Add path component to finalizer (#202)

The Kubernetes client warns about not having a path component in the
finalizer. This change adds a unqiue path component for each reconciler
kind.
This commit is contained in:
Philip Laine
2026-04-23 19:18:06 +02:00
committed by GitHub
parent 9838f0dccc
commit 91036022c0
11 changed files with 38 additions and 30 deletions
+7
View File
@@ -0,0 +1,7 @@
package k8sutil
const NetbirdFinalizer = "finalizers.netbird.io"
func Finalizer(kind string) string {
return NetbirdFinalizer + "/" + kind
}