Skip to content

Commit

Permalink
fix: default resources for initContainers
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 committed Dec 5, 2024
1 parent 48fec6a commit 8add680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ui-api-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ dependencies:
repository: https://charts.bitnami.com/bitnami

type: application
version: 0.1.8
version: 0.1.9
appVersion: "1.16.0"
4 changes: 3 additions & 1 deletion charts/ui-api-db/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ spec:
image: postgres:11.6
command: ['sh', '-c',
until pg_isready -h {{ include "ui-api-db.postgresql.fullname" . }} -p {{ .Values.postgresql.auth.port}};
do echo waiting for database; sleep 2; done;]
do echo waiting for database; sleep 2; done;]
resources:
{{- toYaml .Values.api.resources | nindent 12 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
Expand Down

0 comments on commit 8add680

Please sign in to comment.