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

Pod is invalid: spec.volumes[4].name: Duplicate value: "server-data" #519

Open
1 task done
stevefan1999-personal opened this issue Apr 21, 2024 · 1 comment
Open
1 task done
Labels
flag:triage ♻️ Waiting for triage type:bug 🐛 Something isn't working

Comments

@stevefan1999-personal
Copy link

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

  • I agree to follow this project's Code of Conduct
@stevefan1999-personal stevefan1999-personal added flag:triage ♻️ Waiting for triage type:bug 🐛 Something isn't working labels Apr 21, 2024
@jeremylvln
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag:triage ♻️ Waiting for triage type:bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants