Skip to content

Commit

Permalink
Rename PluginEntry properties (flyteorg#164)
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Regadas <filiperegadas@gmail.com>
  • Loading branch information
regadas authored Mar 18, 2021
1 parent 6683f48 commit 883b5e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions go/tasks/pluginmachinery/k8s/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ type PluginEntry struct {
DefaultForTaskTypes []pluginsCore.TaskType
// Returns a new KubeClient to be used instead of the internal controller-runtime client.
CustomKubeClient func(ctx context.Context) (pluginsCore.KubeClient, error)
// 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.
OverrideInjectOwnerReferences *bool
// Boolean flag that indicates if a finalizer should be injected.
// This will override the `inject-finalizer` set under k8s config.
OverrideInjectFinalizer *bool
// Disables the inclusion of OwnerReferences in kubernetes resources that this plugin is responsible for.
// Disabling is only useful if resources will be created in a remote cluster.
DisableInjectOwnerReferences bool
// Boolean that indicates if finalizer injection should be disabled for resources that this plugin is
// responsible for.
DisableInjectFinalizer bool
}

// Special context passed in to plugins when checking task phase
Expand Down

0 comments on commit 883b5e9

Please sign in to comment.