-
Notifications
You must be signed in to change notification settings - Fork 672
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add option in K8s plugin config to inject user identity as pod …
…label (#4637) * Add option in K8s plugin config to inject user identity into pod labels Signed-off-by: Fabio Graetz <[email protected]> * Inject user identity into TaskExecutionMetadata labels Signed-off-by: Fabio Graetz <[email protected]> * Add unit tests Signed-off-by: Fabio Graetz <[email protected]> * Remove duplicate labels injection Signed-off-by: Fabio Graetz <[email protected]> * Lint Signed-off-by: Fabio Graetz <[email protected]> * Revert "Add option in K8s plugin config to inject user identity into pod labels" This reverts commit c42a4a0. Signed-off-by: Fabio Graetz <[email protected]> * Always inject user identity as pod label if known Signed-off-by: Fabio Graetz <[email protected]> * Use hyphen instead of underscore in pod label Signed-off-by: Fabio Graetz <[email protected]> * Update flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go Signed-off-by: Fabio M. Graetz, Ph.D. <[email protected]> Signed-off-by: Fabio Graetz <[email protected]> * Fix tests Signed-off-by: Fabio Graetz <[email protected]> * Remove duplicate unit test logic Signed-off-by: Fabio Graetz <[email protected]> --------- Signed-off-by: Fabio Graetz <[email protected]> Signed-off-by: Fabio M. Graetz, Ph.D. <[email protected]> Co-authored-by: Dan Rammer <[email protected]>
- Loading branch information
Showing
3 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters