wekan / charts

Wekan Helm Charts to deploy to Kubernetes
MIT License
2 stars 15 forks source link

Chart outdated - mongoDB chart version (10.x) was removed on bitnami #10

Closed Nightreaver closed 1 year ago

Nightreaver commented 1 year ago

I recently tried to deploy the latest Chart from "main" and I noticed that the deployment failed due to mongo-db issues. Currently the Chart.yaml contains

dependencies:
  - condition: mongodb.enabled
    name: mongodb
    repository: https://charts.bitnami.com/bitnami
    version: 10.0.x

Checking in bitnami ( https://artifacthub.io/packages/helm/bitnami/mongodb ), I can see the oldest available version is 12.XX

So the Chart should be updated to v. 12 or v. 13 accordingly.

xet7 commented 1 year ago

@Nightreaver

Please send PR like described at https://github.com/wekan/wekan/wiki/Emoji . Thanks!

xet7 commented 1 year ago

@Nightreaver

I usually update Chart.yaml and values.yaml here: https://github.com/wekan/wekan/tree/master/helm/wekan

Should I also update same files here? https://github.com/wekan/charts/tree/main/wekan

Or how to configure and change those so that they would work? You could send PRs to both repos, if that would fix it.

Nightreaver commented 1 year ago

I'm not sure which your preferred way of working is, but for us the charts repo was the entrypoint for deploying WeKan. Maintaining both could be much more effort so I'm not sure which is the best option for you, but I can think of:

  1. add charts as submodule into the main repo
  2. deprecate the chart repo (archive it) but add a reference to the new location to charts base readme.md first
  3. maintain both manually.

For me option 2 is probably best/easiest option. What do you think?

Nightreaver commented 1 year ago

I have prepared a PR #11 tho not sure if your preference is MongoDB 5 or 6

xet7 commented 1 year ago

@Nightreaver

Please add PR for MongoDB 6. Where did you find those version, digest and generated values?

Nightreaver commented 1 year ago

@xet7 version 5 from here: https://artifacthub.io/packages/helm/bitnami/mongodb/12.1.31 and version 6 would be this: https://artifacthub.io/packages/helm/bitnami/mongodb/13.6.2

the generated values are exactly that, generated values from helm dependency update

xet7 commented 1 year ago

@Nightreaver

How did you install helm etc? I get error:

$ helm install my-release bitnami/mongodb
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused

And where exactly those values are? Screenshot?

xet7 commented 1 year ago

I think I figured it out. I moved charts https://github.com/wekan/wekan/blob/master/helm.md