Skip to content

fix: use default sc when sc name not specified#312

Merged
mittal-ishaan merged 2 commits intoopencost:mainfrom
cwyl02:pvc-default-storageclass
Oct 14, 2025
Merged

fix: use default sc when sc name not specified#312
mittal-ishaan merged 2 commits intoopencost:mainfrom
cwyl02:pvc-default-storageclass

Conversation

@cwyl02
Copy link
Contributor

@cwyl02 cwyl02 commented Oct 14, 2025

Currently pvc yaml always specify the storageClassName field in the pvc template even when storageClassName is not specified in the values.yaml.

This change makes the chart behavior more transparent to user so that the user could skip setting storageclass and let k8s api server assign the default SC to the PVC.

@mittal-ishaan
Copy link
Member

Thank you @cwyl02
We just need a charts patch version bump

@mittal-ishaan mittal-ishaan merged commit 43501d6 into opencost:main Oct 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants