Shulker
Shulker copied to clipboard
Pod is invalid: spec.volumes[4].name: Duplicate value: "server-data"
What happened?
I would like to persist the world, so I added something like this:
podOverrides:
volumes:
- emptyDir: {}
name: server-data
But the actual GameServer generated does not take into account of the pod override
What components are involved in your issue?
No response
Version
0.8.2
Kubernetes Version
Irrelevant
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hi @stevefan1999-personal!
The volumes and volumeClaims fields are only "additions" to the existing volumes Shulker, and as far as I know, Kubernetes does not allow overlapping volumes (for instance volume A mounting /mnt/a/ and volume B /mnt/a/world). I don't plan making this volume overridable because Shulker is injecting ephemeral configuration files that are not meant to be persisted.
However, I understand your issue and I will try to find a nice way of handling it. Do not hesitate if you have any suggestion. I'm quite busy currently, but I will do my best.
Thanks!