Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to pass workflow service account to kube runner #131

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented Oct 12, 2023

@agrare @kbrock Please review

cc @bdunne

@@ -35,6 +35,8 @@ def initialize(options = {})

@namespace = options.fetch("namespace", "default")

@workflow_service_account = options["workflow_service_account"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming is hard - couldn't figure out a good name here, but if you have other ideas, please mention.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed on task_service_account, since this is specifically for the tasks that are launched.

@miq-bot
Copy link
Member

miq-bot commented Oct 12, 2023

Checked commits Fryguy/floe@2ab6189~...49ed818 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@kbrock kbrock merged commit b19fee5 into ManageIQ:master Oct 12, 2023
5 checks passed
Fryguy added a commit that referenced this pull request Oct 12, 2023
Added:
- For task errors, use the json on the last line (#128)
- Add ability to pass task service account to kube runner (#131)

Fixed:
- Don't put credentials file into input (#124)
- exe/floe return success status if the workflow was successful (#129)
- For error output, drop trailing newline (#126)
@Fryguy Fryguy deleted the add_workflow_service_account branch January 8, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants