-
Notifications
You must be signed in to change notification settings - Fork 8
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
Pass the workflow service account #55
Conversation
"token_file" => "/run/secrets/kubernetes.io/serviceaccount/token", | ||
"ca_cert" => "/run/secrets/kubernetes.io/serviceaccount/ca.crt", | ||
"namespace" => File.read("/run/secrets/kubernetes.io/serviceaccount/namespace"), | ||
"workflow_service_account" => "manageiq-default" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This value can be productized using the app name in the CR, so it may not always be "manageiq"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to an ENV var AUTOMATION_JOB_SERVICE_ACCOUNT
9e7ebe2
to
154677e
Compare
154677e
to
cddce53
Compare
cddce53
to
61ae5dc
Compare
Checked commits Fryguy/manageiq-providers-workflows@61ae5dc~...74af26d with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
Backported to
|
Pass the workflow service account (cherry picked from commit d73c48c)
@agrare @bdunne @kbrock Please review.
This PR hardcodes the value for now, but it should probably be passed down as an ENV var. Not sure if we want to do this now or later. @bdunne Thoughts?
Depends on
Must be merged with