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
Allow empty strings pvc storageClassName #96
Comments
So you're asking to change the default to "-"? |
@monotek nope :) storageClassName must be either:
Each one of these has a different meaning, empty string for no class at all, string for a specific class, and absent/null for the default class. As a workaround, a standard is to allow user to pass a special string "-" to storageClass, resulting in a true empty string in the final manifest. In all cases, the default should remain juste like it is now, absent/null, aka. the default system class |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I still believe :) |
Do mind to provice an pr? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
willl be fixed in: #115 |
In some situations, it coud be useful to define pvc storageClassName as empty string (not null) to disable dynamic provisioning.
Right now, it's not fully possible in this chart, and the way of doing it may vary depends on the chart/subchart:
PostgreSQL (using the storageClass "-" de facto standard) :
Elasticsearch (using full "volumeClaimTemplate" block) :
Zammad itself:
In this last example, zammad is using half of the de facto standard :)
First, storageClass is used instead of storageClassName (which, in my opinion, is a good thing).
But then, the special value "-" is not handled, and worst, if storageClass is an ampty string, it leads to no storageClassName at all because of the "with" usage right here: https://github.com/zammad/zammad-helm/blob/master/zammad/templates/statefulset.yaml#L298
The text was updated successfully, but these errors were encountered: