Skip to content
Merged
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
4 changes: 3 additions & 1 deletion charts/gitjobs/templates/server_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ spec:
- {{- include "chart.checkDbIsReadyInitContainer" . | nindent 10 }}
{{- if .Release.IsInstall }}
- name: check-dbmigrator-run
image: "bitnami/kubectl:{{ template "chart.KubernetesVersion" . }}"
{{ $kubeVersion := include "chart.KubernetesVersion" . }}
{{ $kubectlImageVersion := ternary "1.33" $kubeVersion (semverCompare ">=1.34.0-0" (printf "%s.0" $kubeVersion)) }}
image: "docker.io/bitnamilegacy/kubectl:{{ $kubectlImageVersion }}"
imagePullPolicy: IfNotPresent
command: ['kubectl', 'wait', '--namespace={{ .Release.Namespace }}', '--for=condition=complete', 'job/{{ include "chart.resourceNamePrefix" . }}dbmigrator-install', '--timeout=60s']
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/gitjobs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ postgresql:
password: postgres
database: gitjobs
image:
repository: bitnami/postgresql
repository: bitnamilegacy/postgresql
tag: 17.2.0-debian-12-r3
postgresqlDataDir: /data/pgdata
primary:
Expand Down