Skip to content
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

helm - invalid pvc template for storageClass #893

Open
VincentDugard opened this issue Apr 8, 2024 · 2 comments
Open

helm - invalid pvc template for storageClass #893

VincentDugard opened this issue Apr 8, 2024 · 2 comments
Labels
wontfix This will not be worked on

Comments

@VincentDugard
Copy link
Contributor

hello,

When setting storageClass in helm values, I get this error

Error: UPGRADE FAILED: failed to create resource: PersistentVolumeClaim in version "v1" cannot be handled as a PersistentVolumeClaim: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'

the reason is that the generated yaml is

resources:
  requests:
    storage: "1Gi"
    storageClassName: "ssd"

but it should be

resources:
  requests:
    storage: "1Gi"
storageClassName: "ssd"

cf : https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims

@VincentDugard
Copy link
Contributor Author

I made a PR that should fix the issue : #894

Copy link

stale bot commented Feb 25, 2025

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.

@stale stale bot added the wontfix This will not be worked on label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant