Skip to content

chore: Add basic script to upgrade most helm-charts #250

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

Merged
merged 6 commits into from
Jul 16, 2025

Conversation

sbernauer
Copy link
Member

@sbernauer sbernauer commented Jul 16, 2025

The script is not perfect but was easy to develop with my friend GPT and I think is already helpful.
As it states on startup it's best-effort only. But even if it bumps only 50% of the charts, that halves the effort.

Because of this I personally would prefer to not review it too thoroughly 😅

image

It currently finds the following bumps. Let me know if we want to apply them (excluding opensearch)

diff --git a/stacks/_templates/opensearch-dashboards.yaml b/stacks/_templates/opensearch-dashboards.yaml
index 5903fe6..439a353 100644
--- a/stacks/_templates/opensearch-dashboards.yaml
+++ b/stacks/_templates/opensearch-dashboards.yaml
@@ -4,7 +4,7 @@ name: opensearch-dashboards
 repo:
   name: opensearch-dashboards
   url: https://opensearch-project.github.io/helm-charts
-version: 2.30.0 # 2.19.2
+version: 3.1.0 # 3.1.0
 options:
   labels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-airflow.yaml b/stacks/_templates/postgresql-airflow.yaml
index a1b0135..ba9adb5 100644
--- a/stacks/_templates/postgresql-airflow.yaml
+++ b/stacks/_templates/postgresql-airflow.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-druid.yaml b/stacks/_templates/postgresql-druid.yaml
index 2bbcf81..0311633 100644
--- a/stacks/_templates/postgresql-druid.yaml
+++ b/stacks/_templates/postgresql-druid.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-hive-iceberg.yaml b/stacks/_templates/postgresql-hive-iceberg.yaml
index c1f9409..6990673 100644
--- a/stacks/_templates/postgresql-hive-iceberg.yaml
+++ b/stacks/_templates/postgresql-hive-iceberg.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-hive.yaml b/stacks/_templates/postgresql-hive.yaml
index 91e49bb..0d35e40 100644
--- a/stacks/_templates/postgresql-hive.yaml
+++ b/stacks/_templates/postgresql-hive.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-hivehdfs.yaml b/stacks/_templates/postgresql-hivehdfs.yaml
index 09d4dee..33ece9d 100644
--- a/stacks/_templates/postgresql-hivehdfs.yaml
+++ b/stacks/_templates/postgresql-hivehdfs.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-hives3.yaml b/stacks/_templates/postgresql-hives3.yaml
index 00e2704..8f1a25b 100644
--- a/stacks/_templates/postgresql-hives3.yaml
+++ b/stacks/_templates/postgresql-hives3.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/postgresql-superset.yaml b/stacks/_templates/postgresql-superset.yaml
index 861f409..6bd0138 100644
--- a/stacks/_templates/postgresql-superset.yaml
+++ b/stacks/_templates/postgresql-superset.yaml
@@ -4,7 +4,7 @@ name: postgresql
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 16.7.18 # 17.5.0
+version: 16.7.19 # 17.5.0
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/_templates/redis-airflow.yaml b/stacks/_templates/redis-airflow.yaml
index 05c516a..69d1b20 100644
--- a/stacks/_templates/redis-airflow.yaml
+++ b/stacks/_templates/redis-airflow.yaml
@@ -4,7 +4,7 @@ name: redis
 repo:
   name: bitnami
   url: https://charts.bitnami.com/bitnami/
-version: 21.2.10 # 8.0.3
+version: 21.2.12 # 8.0.3
 options:
   commonLabels:
     stackable.tech/vendor: Stackable
diff --git a/stacks/observability/grafana-loki.yaml b/stacks/observability/grafana-loki.yaml
index a1212f3..8bb44e3 100644
--- a/stacks/observability/grafana-loki.yaml
+++ b/stacks/observability/grafana-loki.yaml
@@ -5,7 +5,7 @@ name: loki
 repo:
   name: loki
   url: https://grafana.github.io/helm-charts
-version: 6.31.0 # 3.5.0
+version: 6.32.0 # 3.5.2
 options:
   loki:
     auth_enabled: false
diff --git a/stacks/observability/opentelemetry-operator.yaml b/stacks/observability/opentelemetry-operator.yaml
index df564e7..8abf3f9 100644
--- a/stacks/observability/opentelemetry-operator.yaml
+++ b/stacks/observability/opentelemetry-operator.yaml
@@ -5,7 +5,7 @@ name: opentelemetry-operator
 repo:
   name: opentelemetry-operator
   url: https://open-telemetry.github.io/opentelemetry-helm-charts
-version: 0.91.0 # 0.127.0
+version: 0.91.1 # 0.127.0
 options:
   admissionWebhooks:
     certManager:

@sbernauer sbernauer moved this to Development: Waiting for Review in Stackable Engineering Jul 16, 2025
@sbernauer sbernauer requested a review from NickLarsenNZ July 16, 2025 12:13
@sbernauer sbernauer moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Jul 16, 2025
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NickLarsenNZ

This comment was marked as outdated.

@sbernauer
Copy link
Member Author

It could be a good idea to update the release template to mention it.

Did I miss something, or isn't this already done in this PR? :)

@sbernauer sbernauer merged commit 5b5dc16 into main Jul 16, 2025
2 checks passed
@sbernauer sbernauer deleted the chore/bump-helm-charts-script branch July 16, 2025 12:25
@sbernauer sbernauer moved this from Development: In Review to Development: Done in Stackable Engineering Jul 16, 2025
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants