-
Notifications
You must be signed in to change notification settings - Fork 674
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
fix: mount flyte-secret-auth secret conditionally #4914
Conversation
Signed-off-by: Ryan Lo <[email protected]>
Thank you for opening this pull request! 🙌 These tips will help get your PR across the finish line:
|
…oyment.yaml Signed-off-by: Ryan Lo <[email protected]>
Signed-off-by: Ryan Lo <[email protected]>
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.
LGTM, thanks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4914 +/- ##
==========================================
- Coverage 58.92% 58.91% -0.02%
==========================================
Files 645 645
Lines 55380 55380
==========================================
- Hits 32635 32629 -6
- Misses 20163 20167 +4
- Partials 2582 2584 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Congrats on merging your first pull request! 🎉 |
Signed-off-by: Ryan Lo <[email protected]>
Tracking issue
Closes #4908
Why are the changes needed?
If .Values.secrets.adminOauthClientCredentials.enabled is false in flyte-core chart, some deployments will mount flyte-secret-auth secret even though the secret isn't created.
What changes were proposed in this pull request?
Add conditional brach volume and volumeMount to make creation of secret and volume mount are consistent
How was this patch tested?
Can test it locally via
helm template charts/flyte-core
Screenshots
Check all the applicable boxes
Related PRs
Docs link