Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- PostgreSQL and Redis metrics exporters now use Bitnami Legacy images when enabled. [#136](https://github.com/sourcebot-dev/sourcebot-helm-chart/pull/136)

## [0.1.104] - 2026-08-27

### Changed
Expand Down
2 changes: 2 additions & 0 deletions charts/sourcebot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Sourcebot is a self-hosted tool that helps you understand your codebase.
| postgresql.deploy | bool | `true` | Deploy PostgreSQL subchart. Set to false to use an external PostgreSQL instance. |
| postgresql.host | string | `""` | PostgreSQL host (only used if deploy is false) |
| postgresql.image.repository | string | `"bitnamilegacy/postgresql"` | Overwrite default repository of helm chart to point to non-paid bitnami images |
| postgresql.metrics.image.repository | string | `"bitnamilegacy/postgres-exporter"` | Overwrite default metrics exporter repository to point to non-paid bitnami images |
| postgresql.port | int | `5432` | PostgreSQL port |
| postgresql.primary.persistence.enabled | bool | `true` | |
| postgresql.primary.persistence.size | string | `"8Gi"` | |
Expand All @@ -52,6 +53,7 @@ Sourcebot is a self-hosted tool that helps you understand your codebase.
| redis.deploy | bool | `true` | Deploy Redis/Valkey subchart. Set to false to use an external Redis instance. |
| redis.host | string | `""` | Redis host (only used if deploy is false) |
| redis.image.repository | string | `"bitnamilegacy/valkey"` | Overwrite default repository of helm chart to point to non-paid bitnami images |
| redis.metrics.image.repository | string | `"bitnamilegacy/redis-exporter"` | Overwrite default metrics exporter repository to point to non-paid bitnami images |
| redis.port | int | `6379` | Redis port |
| redis.primary.resources.limits.cpu | string | `"1"` | CPU limit for the Redis container |
| redis.primary.resources.limits.memory | string | `"1.5Gi"` | Memory limit for the Redis container |
Expand Down
14 changes: 14 additions & 0 deletions charts/sourcebot/tests/postgresql_metrics_image_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
suite: test bundled PostgreSQL metrics image
templates:
- charts/postgresql/templates/primary/statefulset.yaml
tests:
- it: should use the legacy exporter image when metrics are enabled
values:
- ../values.lint.yaml
set:
postgresql.metrics.enabled: true
asserts:
- equal:
path: spec.template.spec.containers[1].image
value: docker.io/bitnamilegacy/postgres-exporter:0.16.0-debian-12-r8
template: charts/postgresql/templates/primary/statefulset.yaml
18 changes: 18 additions & 0 deletions charts/sourcebot/tests/redis_metrics_image_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
suite: test bundled Redis metrics image
templates:
- charts/redis/templates/configmap.yaml
- charts/redis/templates/health-configmap.yaml
- charts/redis/templates/scripts-configmap.yaml
- charts/redis/templates/secret.yaml
- charts/redis/templates/primary/application.yaml
tests:
- it: should use the legacy exporter image when metrics are enabled
values:
- ../values.lint.yaml
set:
redis.metrics.enabled: true
asserts:
- equal:
path: spec.template.spec.containers[1].image
value: docker.io/bitnamilegacy/redis-exporter:1.67.0-debian-12-r7
template: charts/redis/templates/primary/application.yaml
10 changes: 10 additions & 0 deletions charts/sourcebot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,11 @@ postgresql:
# -- Overwrite default repository of helm chart to point to non-paid bitnami images
repository: bitnamilegacy/postgresql

metrics:
image:
# -- Overwrite default metrics exporter repository to point to non-paid bitnami images
repository: bitnamilegacy/postgres-exporter

# Authentication configuration
auth:
# -- Username to connect to PostgreSQL
Expand Down Expand Up @@ -391,6 +396,11 @@ redis:
# -- Overwrite default repository of helm chart to point to non-paid bitnami images
repository: bitnamilegacy/valkey

metrics:
image:
# -- Overwrite default metrics exporter repository to point to non-paid bitnami images
repository: bitnamilegacy/redis-exporter

# Authentication configuration
auth:
# -- Username for Redis connection
Expand Down
Loading