diff --git a/go/tasks/pluginmachinery/k8s/plugin.go b/go/tasks/pluginmachinery/k8s/plugin.go index 7b458c133..e38353d66 100644 --- a/go/tasks/pluginmachinery/k8s/plugin.go +++ b/go/tasks/pluginmachinery/k8s/plugin.go @@ -40,6 +40,9 @@ type PluginEntry struct { // Boolean that indicates if kubernetes resources that this plugin is responsible for should include OwnerReferences. // Ingoring is only useful if resources will be created in a remote cluster. IgnoreOwnerReferences bool + // Boolean flag that indicates if a finalizer should be injected. + // This will override the `inject-finalizer` set under k8s config. + InjectFinalizers *bool } // A proxy object for k8s resource