Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Add InjectFinalizers
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Regadas <[email protected]>
  • Loading branch information
regadas committed Mar 5, 2021
1 parent e00b58c commit 0e5774c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/tasks/pluginmachinery/k8s/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e5774c

Please sign in to comment.