-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat(provisioner-localpv): Merge CAS config from PersistentVolumeClaim #190
Conversation
a7ada41
to
88bc07a
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.
Can you please put in the description what is this covering?
0268e39
to
1acf440
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #190 +/- ##
===========================================
- Coverage 38.20% 37.93% -0.28%
===========================================
Files 36 36
Lines 3348 3372 +24
===========================================
Hits 1279 1279
- Misses 1987 2011 +24
Partials 82 82 ☔ View full report in Codecov by Sentry. |
Thanks guys, I missed it. Thanks for helping me out. |
4598245
to
740e66d
Compare
No problem :) |
Signed-off-by: Nobi <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
In the typical use-case for the provisioner, an admin sets the config on the StorageClass, and a user sets the config on the PVC. The admin's config may set boundaries on to the volumes which the PVC config map try to override. Preferring StorageClass config when there is a conflict may be the right way to go. Signed-off-by: Niladri Halder <[email protected]>
Signed-off-by: Niladri Halder <[email protected]>
740e66d
to
f881a87
Compare
Signed-off-by: Niladri Halder <[email protected]>
Requires #191
This change merges the CAS config on the PVC with the SC (SC get preference in case of conflict), when provisioning volumes. Imports changes from @nobiit's PR #144.