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
Added ServiceAccountName to staging job #2074
Added ServiceAccountName to staging job #2074
Conversation
Codecov ReportBase: 51.95% // Head: 57.98% // Increases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #2074 +/- ##
==========================================
+ Coverage 51.95% 57.98% +6.03%
==========================================
Files 181 181
Lines 14617 14615 -2
==========================================
+ Hits 7594 8475 +881
+ Misses 6042 5060 -982
- Partials 981 1080 +99
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
8610c19
to
4d16c3a
Compare
small refactor of the staging job func
4d16c3a
to
3e18515
Compare
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.
A question about a detail in the SA setup and passing to kube
Fix: #1926
Needs: epinio/helm-charts#349
This PR adds the STAGING_SERVICE_ACCOUNT_NAME env var to the Epinio server. This variable is provided to the staging job and can be used to set a specific serviceaccount that will be used during the execution.
It also adds a small refactor of the staging job func, reducing a bit the length of the func (this probably needs a better and more complete refactoring but I didn't want to add to much noise to the PR).