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

pvc: add web app shared volume #33

Merged
merged 1 commit into from
Dec 14, 2021
Merged

Conversation

ppanero
Copy link
Member

@ppanero ppanero commented Dec 13, 2021

No description provided.

@ppanero
Copy link
Member Author

ppanero commented Dec 14, 2021

from @wgresshoff

volume.beta.kubernetes.io/storage-class and volume.alpha.kubernetes.io/storage-class in metadata.annotations. These are deprecated and should be renamed to storageClassName instead and be moved to spec.

@ppanero ppanero force-pushed the pvc branch 2 times, most recently from f3dac98 to b26ccb6 Compare December 14, 2021 09:43
labels:
app: web
spec:
storageClassName: {{ .Values.persistence.storage_class }}
Copy link
Member Author

@ppanero ppanero Dec 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wgresshoff fixed! Thanks for the review. I checked and if the default value of the variables is "" then it takes the default storge class configured in the cluster, so we are good :) no need for if's

Extra: I realized I've been naming it all wrong, I opened #34

@ppanero ppanero merged commit a895bf5 into inveniosoftware:master Dec 14, 2021
@ppanero ppanero deleted the pvc branch December 14, 2021 09:51
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.

1 participant