Skip to content

Commit

Permalink
feat: add resources to airbyte-db-container
Browse files Browse the repository at this point in the history
Signed-off-by: Ales Verbic <[email protected]>
  • Loading branch information
verbotenj committed Nov 14, 2024
1 parent 0dbd990 commit ca95278
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ spec:
value: /var/lib/postgresql/data/pgdata
ports:
- containerPort: 5432
{{ if .Values.postgresql.resources }}
resources: {{- toYaml .Values.postgresql.resources | nindent 12 }}
{{- end }}
securityContext: {{- toYaml .Values.postgresql.containerSecurityContext | nindent 12 }}
volumeMounts:
- name: airbyte-volume-db
Expand Down
13 changes: 12 additions & 1 deletion charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,17 @@ postgresql:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault
resources:
## Example:
## limits:
## cpu: 200m
## memory: 1Gi
limits: {}
## Examples:
## requests:
## memory: 256Mi
## cpu: 250m
requests: {}

commonAnnotations:
# -- It will determine when the hook should be rendered
Expand Down Expand Up @@ -2380,4 +2391,4 @@ featureflag-server:
testWebapp:
image:
repository: busybox
tag: latest
tag: latest

0 comments on commit ca95278

Please sign in to comment.