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

overlays: collect PVCs into a separate base #815

Merged
merged 2 commits into from
Aug 13, 2020

Conversation

uwedeportivo
Copy link
Contributor

@uwedeportivo uwedeportivo commented Aug 7, 2020

collects PVC resources into a separate base. this allows kustomizations to pick and choose which PVCs they want or avoid creating them altogether. we have customers that need this because they explicitly create PVs and map them to deployments/statefulsets with named claim refs.

(kustomize does not allow deletes)

@pecigonzalo
Copy link
Contributor

pecigonzalo commented Aug 10, 2020

Wouldn't this be a problem anyway because we specify the PVC in the volume definition of the Deployment? We might need to do something like kubernetes-sigs/kustomize#2037

@uwedeportivo
Copy link
Contributor Author

it assumes the overlay the customer uses also replaces/edits the mention in the deployment

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