File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ Sourcebot is a self-hosted tool that helps you understand your codebase.
3737| postgresql.deploy | bool | ` true ` | Deploy PostgreSQL subchart. Set to false to use an external PostgreSQL instance. |
3838| postgresql.host | string | ` "" ` | PostgreSQL host (only used if deploy is false) |
3939| postgresql.image.repository | string | ` "bitnamilegacy/postgresql" ` | Overwrite default repository of helm chart to point to non-paid bitnami images |
40+ | postgresql.metrics.image.repository | string | ` "bitnamilegacy/postgres-exporter" ` | Overwrite default metrics exporter repository to point to non-paid bitnami images |
4041| postgresql.port | int | ` 5432 ` | PostgreSQL port |
4142| postgresql.primary.persistence.enabled | bool | ` true ` | |
4243| postgresql.primary.persistence.size | string | ` "8Gi" ` | |
@@ -52,6 +53,7 @@ Sourcebot is a self-hosted tool that helps you understand your codebase.
5253| redis.deploy | bool | ` true ` | Deploy Redis/Valkey subchart. Set to false to use an external Redis instance. |
5354| redis.host | string | ` "" ` | Redis host (only used if deploy is false) |
5455| redis.image.repository | string | ` "bitnamilegacy/valkey" ` | Overwrite default repository of helm chart to point to non-paid bitnami images |
56+ | redis.metrics.image.repository | string | ` "bitnamilegacy/redis-exporter" ` | Overwrite default metrics exporter repository to point to non-paid bitnami images |
5557| redis.port | int | ` 6379 ` | Redis port |
5658| redis.primary.resources.limits.cpu | string | ` "1" ` | CPU limit for the Redis container |
5759| redis.primary.resources.limits.memory | string | ` "1.5Gi" ` | Memory limit for the Redis container |
Original file line number Diff line number Diff line change 1+ suite : test bundled PostgreSQL metrics image
2+ templates :
3+ - charts/postgresql/templates/primary/statefulset.yaml
4+ tests :
5+ - it : should use the legacy exporter image when metrics are enabled
6+ values :
7+ - ../values.lint.yaml
8+ set :
9+ postgresql.metrics.enabled : true
10+ asserts :
11+ - equal :
12+ path : spec.template.spec.containers[1].image
13+ value : docker.io/bitnamilegacy/postgres-exporter:0.16.0-debian-12-r8
14+ template : charts/postgresql/templates/primary/statefulset.yaml
Original file line number Diff line number Diff line change 1+ suite : test bundled Redis metrics image
2+ templates :
3+ - charts/redis/templates/configmap.yaml
4+ - charts/redis/templates/health-configmap.yaml
5+ - charts/redis/templates/scripts-configmap.yaml
6+ - charts/redis/templates/secret.yaml
7+ - charts/redis/templates/primary/application.yaml
8+ tests :
9+ - it : should use the legacy exporter image when metrics are enabled
10+ values :
11+ - ../values.lint.yaml
12+ set :
13+ redis.metrics.enabled : true
14+ asserts :
15+ - equal :
16+ path : spec.template.spec.containers[1].image
17+ value : docker.io/bitnamilegacy/redis-exporter:1.67.0-debian-12-r7
18+ template : charts/redis/templates/primary/application.yaml
Original file line number Diff line number Diff line change @@ -343,6 +343,11 @@ postgresql:
343343 # -- Overwrite default repository of helm chart to point to non-paid bitnami images
344344 repository : bitnamilegacy/postgresql
345345
346+ metrics :
347+ image :
348+ # -- Overwrite default metrics exporter repository to point to non-paid bitnami images
349+ repository : bitnamilegacy/postgres-exporter
350+
346351 # Authentication configuration
347352 auth :
348353 # -- Username to connect to PostgreSQL
@@ -391,6 +396,11 @@ redis:
391396 # -- Overwrite default repository of helm chart to point to non-paid bitnami images
392397 repository : bitnamilegacy/valkey
393398
399+ metrics :
400+ image :
401+ # -- Overwrite default metrics exporter repository to point to non-paid bitnami images
402+ repository : bitnamilegacy/redis-exporter
403+
394404 # Authentication configuration
395405 auth :
396406 # -- Username for Redis connection
You can’t perform that action at this time.
0 commit comments