Skip to content

Commit

Permalink
remove initContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Jan 17, 2024
1 parent 2181232 commit f3d18b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion charts/queen/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.5.0
version: 0.5.1
appVersion: "4.0.0"
6 changes: 0 additions & 6 deletions charts/queen/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ spec:
serviceAccountName: {{ include "queen.api.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.api.podSecurityContext | nindent 8 }}
initContainers:
- name: check-db-ready
image: postgres:16.1
command: ['sh', '-c',
until pg_isready -h {{ include "queen.postgresql.fullname" . }} -p {{ .Values.postgresql.auth.port}};
do echo waiting for database; sleep 2; done;]
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down

0 comments on commit f3d18b7

Please sign in to comment.