-
Notifications
You must be signed in to change notification settings - Fork 992
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
PVC storage_class_name empty sets default storage class #567
Comments
I was able to work around this by creating a dummy storage class that I applied to the PV and the PVC - not ideal, but it did work. |
@ajchiarello good solution |
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
I opened #590 to fix this. |
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
According to the docs at https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 - Fixes hashicorp#567 - Fixes hashicorp#102 - Fixes hashicorp#339
Any updates on merging this? Bug is really annoying. |
+1, this is a blocker for using PVCs in our scenario, and we have to do volume mounts directly on the pod template spec, which does not allow us to override mount options, which breaks our scenario. |
Hi, we have a few issues relating to this that are being consolidated here: #872 See the new issue for a work-around. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Hello,
There is a critical bug for the kubernetes terraform provider that has been reported since 2017 but is still open.
See:
#102
#339
What happens is that terraform is not passing the empty storage class string instead somehow the pvc's are created with the default storage class. The work around mentioned by using label selectors is not working anymore on terraform 0.12.
Best regards,
David
The text was updated successfully, but these errors were encountered: