mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
fix: include postgresql extra dependency
Signed-off-by: Andre Nogueira <andre.nogueira@mollie.com>
This commit is contained in:
parent
7f0ca0a0c8
commit
d58c93965d
4 changed files with 22 additions and 33 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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. |
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^[0-9]+Gi$"
|
|
||||||
},
|
|
||||||
"accessModes": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"ReadWriteOnce",
|
|
||||||
"ReadOnlyMany",
|
|
||||||
"ReadWriteMany"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"minItems": 1
|
|
||||||
},
|
|
||||||
"className": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"required": [
|
||||||
|
"enabled"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
|
@ -493,4 +477,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue