fix: include postgresql extra dependency

Signed-off-by: Andre Nogueira <andre.nogueira@mollie.com>
This commit is contained in:
André Nogueira 2025-10-03 18:18:18 +01:00 committed by Andre Nogueira
parent 7f0ca0a0c8
commit d58c93965d
No known key found for this signature in database
GPG key ID: A0A90F4231D8B028
4 changed files with 22 additions and 33 deletions

View file

@ -13,3 +13,8 @@ home: https://sourcebot.dev/
sources: sources:
- https://github.com/sourcebot-dev/sourcebot - https://github.com/sourcebot-dev/sourcebot
- https://github.com/sourcebot-dev/sourcebot/kubernetes/chart - https://github.com/sourcebot-dev/sourcebot/kubernetes/chart
dependencies:
- name: postgresql
version: 16.7.27
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View file

@ -11,6 +11,12 @@ The open source Sourcegraph alternative. Sourcebot gives you a powerful interfac
* <https://github.com/sourcebot-dev/sourcebot> * <https://github.com/sourcebot-dev/sourcebot>
* <https://github.com/sourcebot-dev/sourcebot/kubernetes/chart> * <https://github.com/sourcebot-dev/sourcebot/kubernetes/chart>
## Requirements
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 16.7.27 |
## Values ## Values
| Key | Type | Default | Description | | Key | Type | Default | Description |
@ -58,6 +64,7 @@ The open source Sourcegraph alternative. Sourcebot gives you a powerful interfac
| podDisruptionBudget.maxUnavailable | int | `1` | Maximum number of pods that can be unavailable. | | podDisruptionBudget.maxUnavailable | int | `1` | Maximum number of pods that can be unavailable. |
| podDisruptionBudget.minAvailable | int | `1` | Minimum number of pods that must be available. | | podDisruptionBudget.minAvailable | int | `1` | Minimum number of pods that must be available. |
| podSecurityContext | object | `{}` | Set the pod-level security context. | | podSecurityContext | object | `{}` | Set the pod-level security context. |
| postgresql | object | `{"enabled":false}` | Configure the Bitnami PostgreSQL sub-chart. See: https://artifacthub.io/packages/helm/bitnami/postgresql |
| priorityClassName | string | `""` | Set the priority class name for pods. See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ | | priorityClassName | string | `""` | Set the priority class name for pods. See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ |
| readinessProbe | object | `{"failureThreshold":5,"httpGet":{"path":"/","port":"http"},"initialDelaySeconds":10,"periodSeconds":10}` | Readiness probe to check if the container is ready to serve traffic. | | readinessProbe | object | `{"failureThreshold":5,"httpGet":{"path":"/","port":"http"},"initialDelaySeconds":10,"periodSeconds":10}` | Readiness probe to check if the container is ready to serve traffic. |
| readinessProbe.failureThreshold | int | `5` | Number of consecutive failures before marking the container as not ready. | | readinessProbe.failureThreshold | int | `5` | Number of consecutive failures before marking the container as not ready. |

View file

@ -420,32 +420,16 @@
"priorityClassName": { "priorityClassName": {
"type": "string" "type": "string"
}, },
"storage": { "postgresql": {
"type": "object", "type": "object",
"properties": { "properties": {
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
}
}, },
"size": { "required": [
"type": "string", "enabled"
"pattern": "^[0-9]+Gi$"
},
"accessModes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ReadWriteOnce",
"ReadOnlyMany",
"ReadWriteMany"
] ]
},
"minItems": 1
},
"className": {
"type": "string"
}
}
} }
}, },
"definitions": { "definitions": {

View file

@ -266,14 +266,7 @@ affinity: {}
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ # See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
priorityClassName: "" priorityClassName: ""
# -- Configure persistent storage for the application (volume is mounted at /data) to use the internal database. # -- Configure the Bitnami PostgreSQL sub-chart.
storage: # See: https://artifacthub.io/packages/helm/bitnami/postgresql
# -- Enable or disable persistent storage. postgresql:
enabled: true enabled: false
# -- Access modes for the persistent volume.
accessModes:
- ReadWriteOnce
# -- Storage class name for the persistent volume.
className: ""
# -- Size of the persistent volume.
size: "10Gi"