Skip to content

Commit

Permalink
Add option in K8s plugin config to inject user identity into pod labels
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Graetz <[email protected]>
  • Loading branch information
fg91 committed Dec 22, 2023
1 parent 5d199a8 commit c42a4a0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ type K8sPluginConfig struct {

// SendObjectEvents indicates whether to send k8s object events in TaskExecutionEvent updates (similar to kubectl get events).
SendObjectEvents bool `json:"send-object-events" pflag:",If true, will send k8s object events in TaskExecutionEvent updates."`

// InjectExecutionIdentity indicates whether to inject the execution identity (if set in the workflow) into the pod as a label.
InjectExecutionIdentity bool `json:"inject-execution-identity" pflag:",If true, will inject execution identity into the pod as a label."`
}

// FlyteCoPilotConfig specifies configuration for the Flyte CoPilot system. FlyteCoPilot, allows running flytekit-less containers
Expand Down

0 comments on commit c42a4a0

Please sign in to comment.