-
Notifications
You must be signed in to change notification settings - Fork 193
feat: update images in values for bitnami helm charts #2190
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
feat: update images in values for bitnami helm charts #2190
Conversation
WalkthroughAdds image.registry and image.repository overrides for clickhouse, postgresql, minio, and redis in Helm values and documents them in the chart README; changes two CI workflow step conditions to run on pull requests (with release-please-- exclusion); and adds a trailing newline to a Makefile (no functional change). Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (4)
helm/Makefile (4)
47-47: Optionally parameterize namespace and paths for repeatability.
Hard-coding the realm path and omitting namespace can lead to accidental creation in the wrong namespace.Apply this diff to the recipe:
-update-kc-realm: - kubectl create configmap realm --from-file=realm.json=../docker/keycloak/realm.json --dry-run=client -o yaml > realm-config-map.yaml +update-kc-realm: + kubectl -n $(NAMESPACE) create configmap $(KC_REALM_CM_NAME) --from-file=realm.json=$(KC_REALM_FILE) --dry-run=client -o yaml > $(KC_REALM_OUTPUT)Add these defaults near the top of the file (outside this hunk):
# Defaults (override via env or make vars) NAMESPACE ?= default KC_REALM_CM_NAME ?= realm KC_REALM_FILE ?= ../docker/keycloak/realm.json KC_REALM_OUTPUT ?= realm-config-map.yaml
9-10: Duplicate delete target defined twice.
GNU Make warns on duplicate recipes; keep a single definition.Apply this diff to remove the duplicate:
-40 -delete: -41 - kapp delete -a cosmo +40 +# (deleted duplicate delete target)Also applies to: 40-41
1-1: Declare phony targets to avoid filename collisions.
Prevents targets like test, build, delete, etc., from being shadowed by files.Add at the top:
+ .PHONY: test deploy delete publish-cosmo-chart publish-router-chart upload-artifacthub-manifest docs build docker-build-minikube update-kc-realm
5-7: Minor: drop unnecessary quotes around KAPP_ARGS.
Quotes become part of the value in Make; not needed here.-KAPP_ARGS:="--logs-all" +KAPP_ARGS := --logs-all
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
helm/Makefile(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: Analyze (go)
🔇 Additional comments (1)
helm/Makefile (1)
47-47: LGTM: no functional change in update-kc-realm recipe.
Command remains correct; trailing newline is harmless.
a29ae8d to
6588a76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (3)
.github/workflows/helm-deployment.yaml (3)
45-51: Re-gate minikube startup on safe PR contexts (non-fork, non-draft).Unconditionally starting a cluster on every PR can be slow/flaky and executes repo-defined Make targets on untrusted forks. Recommend gating to same-repo, non-draft PRs.
Apply:
-# if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--') + if: ${{ !github.event.pull_request.head.repo.fork && !github.event.pull_request.draft }}
52-56: Re-gate deployment to minikube to avoid heavy work on forks/drafts.Same concern as above; running
make deployon every PR (incl. forks) increases CI time and risk surface.Apply:
-# if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--') + if: ${{ !github.event.pull_request.head.repo.fork && !github.event.pull_request.draft }}
2-7: Ensure this workflow runs when this file changes.Currently it won’t trigger on edits to
helm-deployment.yamlitself. Include the file in the path filter.pull_request: paths: - "helm/**/*" - ".github/workflows/helm-ci.yaml" + - ".github/workflows/helm-deployment.yaml"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
.github/workflows/helm-deployment.yaml(1 hunks)helm/Makefile(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- helm/Makefile
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: build_test
- GitHub Check: Analyze (go)
- GitHub Check: Analyze (javascript-typescript)
6588a76 to
3cf3a29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (4)
helm/cosmo/values.yaml (4)
402-404: Bitnami legacy repo override is appropriate; also override auxiliary images and document the rationale.Using
docker.io/bitnamilegacy/*aligns with Bitnami’s Aug 28, 2025 catalog change; legacy is a stopgap with no updates. Please:
- Add a short comment explaining the temporary legacy switch.
- Override aux images to avoid mixed pulls (e.g., volumePermissions uses os-shell). (github.com)
Suggested change (add comments inline here):
clickhouse: - image: - registry: docker.io - repository: bitnamilegacy/clickhouse + # Temporary: Bitnami moved legacy tags to docker.io/bitnamilegacy (Aug 28, 2025). + # TODO: migrate off legacy and pin tag/digest once plan is agreed. + image: + registry: docker.io + repository: bitnamilegacy/clickhouseAnd add this block under clickhouse (outside the snippet above):
clickhouse: volumePermissions: image: registry: docker.io repository: bitnamilegacy/os-shellAlso consider pinning a tag or digest for reproducibility. (github.com)
Would you like a follow-up PR to audit and override all sub-images used by this chart version?
437-439: PostgreSQL: cover volumePermissions and (if enabled) metrics exporter images.To prevent future ImagePullBackOff when those helpers are enabled, override their repos too. Newer Bitnami charts use
os-shellfor volumePermissions andpostgres-exporterfor metrics. (github.com)Add under postgresql:
postgresql: volumePermissions: image: registry: docker.io repository: bitnamilegacy/os-shell metrics: image: registry: docker.io repository: bitnamilegacy/postgres-exporterAlso consider pinning tags/digests. (github.com)
If you share the exact bitnami chart versions in use, I can generate the precise set of image overrides.
469-471: MinIO: also override volumePermissions image when enabled.Bitnami MinIO uses a volume-permissions init container; override it to legacy as well. (sir5kong.github.io)
Add under minio:
minio: volumePermissions: image: registry: docker.io repository: bitnamilegacy/bitnami-shellNote: some charts have renamed this helper image to
os-shell; verify the exact field in your chart version before merging. (github.com)
493-495: Redis: consider sentinel/metrics/volumePermissions overrides to avoid mixed sources.If you ever enable these, set their repos to legacy too (examples below). (northflank.com)
Add under redis:
redis: volumePermissions: image: registry: docker.io repository: bitnamilegacy/os-shell sentinel: image: registry: docker.io repository: bitnamilegacy/redis-sentinel metrics: image: registry: docker.io repository: bitnamilegacy/redis-exporterAlso pin tags/digests where possible. (github.com)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (3)
.github/workflows/helm-deployment.yaml(1 hunks)helm/Makefile(1 hunks)helm/cosmo/values.yaml(4 hunks)
✅ Files skipped from review due to trivial changes (1)
- helm/Makefile
🚧 Files skipped from review as they are similar to previous changes (1)
- .github/workflows/helm-deployment.yaml
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: StarpTech
PR: wundergraph/cosmo#2142
File: helm/cosmo/Chart.yaml:0-0
Timestamp: 2025-08-15T10:21:45.838Z
Learning: In the WunderGraph Cosmo project, helm chart version upgrades and README badge synchronization are handled in separate helm release PRs, not in the initial version bump PRs.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: Analyze (go)
- GitHub Check: build_test
081ba64 to
3cbd300
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (3)
.github/workflows/helm-deployment.yaml (3)
46-46: Redundant event_name guard.The workflow only runs on pull_request, so checking github.event_name == 'pull_request' in-step is redundant. Keep only the release-please guard for clarity.
Suggested minimal change:
- if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--') + if: !startsWith(github.head_ref, 'release-please--')Also applies to: 53-53
18-18: Minikube + Helm deploy may exceed 8 minutes.Starting Minikube and deploying charts often takes >8 minutes on ubuntu-latest. Consider bumping timeout-minutes to 15–20 to reduce flaky timeouts.
29-29: Pin actions to a commit SHA for supply-chain safety.azure/setup-helm@v4, carvel-dev/setup-action@v2, and medyagh/setup-minikube@v0.0.18 should be pinned to immutable SHAs.
Example:
- uses: azure/setup-helm@v4 + uses: azure/setup-helm@<commit-sha> - uses: carvel-dev/setup-action@v2 + uses: carvel-dev/setup-action@<commit-sha> - uses: medyagh/setup-minikube@v0.0.18 + uses: medyagh/setup-minikube@<commit-sha>Also applies to: 35-35, 48-48
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (4)
.github/workflows/helm-deployment.yaml(1 hunks)helm/Makefile(1 hunks)helm/cosmo/README.md(4 hunks)helm/cosmo/values.yaml(4 hunks)
✅ Files skipped from review due to trivial changes (1)
- helm/cosmo/README.md
🚧 Files skipped from review as they are similar to previous changes (2)
- helm/cosmo/values.yaml
- helm/Makefile
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: build_test
- GitHub Check: Analyze (go)
- GitHub Check: Analyze (javascript-typescript)
3cbd300 to
e7a10fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/helm-deployment.yaml (2)
45-51: Release-please exclusion: fix looks good; drop redundant event check (optional).Using github.head_ref correctly excludes release-please PRs. Since this workflow only runs on pull_request, the github.event_name guard is redundant.
Apply to simplify:
- if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--') + if: "!startsWith(github.head_ref, 'release-please--')"
52-56: Same simplification for deploy step (optional).Mirror the above to keep conditions consistent and minimal.
- if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--') + if: "!startsWith(github.head_ref, 'release-please--')"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (4)
.github/workflows/helm-deployment.yaml(1 hunks)helm/Makefile(1 hunks)helm/cosmo/README.md(4 hunks)helm/cosmo/values.yaml(4 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
- helm/Makefile
- helm/cosmo/README.md
- helm/cosmo/values.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: build_test
- GitHub Check: Analyze (go)
- GitHub Check: Analyze (javascript-typescript)
…bitnami-helm-charts
Noroth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…bitnami-helm-charts
Summary by CodeRabbit
New Features
Documentation
Chores
Checklist