Skip to content
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

Add option to override storage size in postgresql volume claim #323

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions charts/airbyte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Helm chart to deploy airbyte
| postgresql.postgresqlDatabase | string | `"db-airbyte"` | Airbyte Postgresql database |
| postgresql.postgresqlPassword | string | `"airbyte"` | Airbyte Postgresql password |
| postgresql.postgresqlUsername | string | `"airbyte"` | Airbyte Postgresql username |
| postgresql.storage.volumeClaimValue | string | `"500Mi"` | |
| postgresql.tolerations | list | `[]` | Tolerations for postgresql pod assignment, see https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| server.affinity | object | `{}` | Affinity and anti-affinity for server pod assignment, see https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity |
| server.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 500Mi
storage: {{ .Values.postgresql.storage.volumeClaimValue }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,10 @@ postgresql:
## image.repository Repository for airbyte-db statefulset
image:
repository: airbyte/db

storage:
volumeClaimValue: 500Mi

# -- Airbyte Postgresql username
postgresqlUsername: airbyte
# -- Airbyte Postgresql password
Expand Down
3 changes: 3 additions & 0 deletions charts/airbyte/values.yaml.test
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,9 @@ postgresql:
image:
repository: airbyte/db

storage:
volumeClaimValue: 500Mi

postgresqlUsername: airbyte
postgresqlPassword: airbyte
postgresqlDatabase: db-airbyte
Expand Down
Loading