mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
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:
@@ -0,0 +1,7 @@
|
||||
package k8sutil
|
||||
|
||||
const NetbirdFinalizer = "finalizers.netbird.io"
|
||||
|
||||
func Finalizer(kind string) string {
|
||||
return NetbirdFinalizer + "/" + kind
|
||||
}
|
||||
Reference in New Issue
Block a user