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

Helm Chart : Versions of dependencies unavailable #383

Open
B3nBeng opened this issue Jan 27, 2023 · 3 comments · May be fixed by #393
Open

Helm Chart : Versions of dependencies unavailable #383

B3nBeng opened this issue Jan 27, 2023 · 3 comments · May be fixed by #393

Comments

@B3nBeng
Copy link

B3nBeng commented Jan 27, 2023

Hi,

The versions specified (in Chart.yaml) of redis, memcached, rabbitmq and postgresql are not available anymore on Bitnami repo.

"Error: can't get a valid version for repositories memcached, rabbitmq, redis, postgresql. Try changing the version constraint in Chart.yaml"

@alexmv
Copy link
Contributor

alexmv commented Feb 16, 2023

It looks like Bitnami dropped old releases from their index: bitnami/charts#10539.

We can either move to their GitHub-hosted archive:

diff --git kubernetes/chart/zulip/Chart.yaml kubernetes/chart/zulip/Chart.yaml
index b25b7bb..19f9d0f 100644
--- kubernetes/chart/zulip/Chart.yaml
+++ kubernetes/chart/zulip/Chart.yaml
@@ -15,22 +15,22 @@ version: 0.4.0
 appVersion: "6.1-0"
 dependencies:
   - name: memcached
-    repository: https://charts.bitnami.com/bitnami
+    repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
     tags:
       - memcached
     version: 6.0.16
   - name: rabbitmq
-    repository: https://charts.bitnami.com/bitnami
+    repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
     tags:
       - rabbitmq
     version: 8.32.0
   - name: redis
-    repository: https://charts.bitnami.com/bitnami
+    repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
     tags:
       - redis
     version: 16.8.7
   - name: postgresql
-    repository: https://charts.bitnami.com/bitnami
+    repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
     tags:
       - postgresql
     # Note: values.yaml overwrites posgresql image to zulip/zulip-postgresql:14

or, we can update the chart to the latest versions:

diff --git kubernetes/chart/zulip/Chart.yaml kubernetes/chart/zulip/Chart.yaml
index b25b7bb..79bad77 100644
--- kubernetes/chart/zulip/Chart.yaml
+++ kubernetes/chart/zulip/Chart.yaml
@@ -18,23 +18,23 @@ dependencies:
     repository: https://charts.bitnami.com/bitnami
     tags:
       - memcached
-    version: 6.0.16
+    version: 6.3.5
   - name: rabbitmq
     repository: https://charts.bitnami.com/bitnami
     tags:
       - rabbitmq
-    version: 8.32.0
+    version: 11.9.1
   - name: redis
     repository: https://charts.bitnami.com/bitnami
     tags:
       - redis
-    version: 16.8.7
+    version: 17.7.4
   - name: postgresql
     repository: https://charts.bitnami.com/bitnami
     tags:
       - postgresql
     # Note: values.yaml overwrites posgresql image to zulip/zulip-postgresql:14
-    version: 11.1.22
+    version: 11.9.13

 sources:
   - https://github.com/zulip/zulip

Can you try the latter and let us know if it works for you?

@B3nBeng
Copy link
Author

B3nBeng commented Feb 21, 2023

Thanks you for the link of archives.
For the latest versions, it's works, i updated the Chart.yaml before opening this issue but i had few bugs with RabbitMQ so i wanted to try with the same versions specifies in the origin Chart.yaml but the version is not the problem.

@B3nBeng B3nBeng closed this as completed Feb 21, 2023
@alexmv alexmv reopened this Feb 28, 2023
@alexmv
Copy link
Contributor

alexmv commented Feb 28, 2023

If the new versions work, we should bump our dependencies to them so we fix this for others.

alexmv added a commit to alexmv/docker-zulip that referenced this issue Mar 3, 2023
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 a pull request may close this issue.

2 participants