Addyvan / valheim-k8s

valheim game-server on kubernetes
MIT License
94 stars 45 forks source link

hostpath can't be set through helm #13

Closed noopple closed 3 years ago

noopple commented 3 years ago

I tried to install valheim server on k8s, but set storage.hostvol.path as /var/data/valheim.

Container stucked on status ContainerCreating because of wrong hostpath. It was set /data/valheim

Addyvan commented 3 years ago

@noopple Interesting. It could be an issue with the autodeploy if you see this issue when pulling the chart?

Running the following helm template chart --set storage.hostvol.path=/test inside the main branch returns the correct result for me:

volumes:
  - name: gamefiles
    hostPath:
      path: /test
      type: Directory

I'll test it out when pulling the helm chart.

Addyvan commented 3 years ago

Ok! @noopple figured it out. The CI/CD is setup to update the chart index when the version file is edited...

It should be good now. Thanks for spotting that.

Addyvan commented 3 years ago

I'm going to close this since it's fixed.