mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
The Kubernetes client warns about not having a path component in the finalizer. This change adds a unqiue path component for each reconciler kind.
8 lines
144 B
Go
8 lines
144 B
Go
package k8sutil
|
|
|
|
const NetbirdFinalizer = "finalizers.netbird.io"
|
|
|
|
func Finalizer(kind string) string {
|
|
return NetbirdFinalizer + "/" + kind
|
|
}
|