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

feat: add ability to configure airbyte-db volume claim size #373

Open
wants to merge 1 commit 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
2 changes: 1 addition & 1 deletion charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 500Mi
storage: {{ .Values.postgresql.storage.volumeClaimValue }}
{{- end }}
60 changes: 30 additions & 30 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
### TEST FOR RELEASE WORKFLOW


# Global params that are overwritten with umbrella chart
global:
# -- Service Account name override
Expand All @@ -25,7 +24,7 @@ global:
image:
# Docker registry to pull platform images from, e.g. http://my-registry:8000/
registry: ""
# Image tag to use for airbyte images.
# Image tag to use for airbyte images.
# Does not include non-airbyte images such as busybox, temporal, minio, etc.
tag: ""

Expand All @@ -43,12 +42,12 @@ global:
# -- The first name of the initial user
firstName: ""
# -- The last name of the initial user
lastName: ""
lastName: ""
# -- The key within `emailSecretName` where the initial user's email is stored
emailSecretKey: "instance-admin-email"
# -- The key within `passwordSecretName` where the initial user's password is stored
passwordSecretKey: "instance-admin-password"

# -- SSO Identify Provider configuration; (requires Enterprise)
#identityProvider:
# # -- Secret name where the OIDC configuration is stored
Expand Down Expand Up @@ -95,8 +94,6 @@ global:
# -- The key within `secretName` where the password is stored
#passwordSecretKey: "" # e.g."database-password"



storage:
# -- The storage backend type. Supports s3, gcs, azure, minio (default)
type: minio # default storage used
Expand Down Expand Up @@ -241,7 +238,7 @@ webapp:
fsGroup: 101

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=101(nginx)
runAsUser: 101
Expand Down Expand Up @@ -468,7 +465,7 @@ pod-sweeper:
fsGroup: 1001

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1001(anon)
runAsUser: 1001
Expand Down Expand Up @@ -576,7 +573,7 @@ server:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -758,7 +755,7 @@ worker:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -893,7 +890,7 @@ workload-launcher:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -1188,7 +1185,7 @@ metrics:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -1310,7 +1307,7 @@ airbyte-bootloader:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -1441,7 +1438,7 @@ temporal:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(temporal)
runAsUser: 1000
Expand Down Expand Up @@ -1670,6 +1667,9 @@ postgresql:
## image.repository Repository for airbyte-db statefulset
image:
repository: airbyte/db
storage:
volumeClaimValue: 500Mi

# -- Airbyte Postgresql username
postgresqlUsername: airbyte
# -- Airbyte Postgresql password
Expand All @@ -1685,7 +1685,7 @@ postgresql:
fsGroup: 70
containerSecurityContext:
# -- Ensures the container will run with a non-root user
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=70(postgres)
runAsUser: 70
Expand Down Expand Up @@ -1758,12 +1758,12 @@ minio:
affinity: {}

resources:
requests:
memory: 1Gi
cpu: 250m
limits:
cpu: 300m
memory: 2Gi
requests:
memory: 1Gi
cpu: 250m
limits:
cpu: 300m
memory: 2Gi
## @section cron parameters
cron:
enabled: true
Expand All @@ -1787,7 +1787,7 @@ cron:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -1958,7 +1958,7 @@ connector-builder-server:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -2058,7 +2058,7 @@ keycloak:
image: "postgres:13-alpine"

initContainerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=70(postgres)
runAsUser: 70
Expand All @@ -2069,9 +2069,9 @@ keycloak:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(keycloak)
runAsUser: 1000
Expand Down Expand Up @@ -2107,7 +2107,7 @@ keycloak-setup:
fsGroup: 1000

initContainerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# gid=100(curl_user)
runAsUser: 100
Expand All @@ -2124,7 +2124,7 @@ keycloak-setup:
image: "curlimages/curl:8.1.1"

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -2166,7 +2166,7 @@ workload-api-server:
fsGroup: 1000

containerSecurityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: false
runAsNonRoot: true
# uid=1000(airbyte)
runAsUser: 1000
Expand Down Expand Up @@ -2387,4 +2387,4 @@ featureflag-server:
testWebapp:
image:
repository: busybox
tag: latest
tag: latest
2 changes: 2 additions & 0 deletions charts/airbyte/values.yaml.test
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,8 @@ postgresql:
## image.repository Repository for airbyte-db statefulset
image:
repository: airbyte/db
storage:
volumeClaimValue: 500Mi

postgresqlUsername: airbyte
postgresqlPassword: airbyte
Expand Down
Loading