Updated hapi fhir version and all dependencies in the helm chart (#835)

Co-authored-by: chgl <5307555+chgl@users.noreply.github.com>
This commit is contained in:
chgl
2025-06-26 15:46:10 +02:00
committed by GitHub
parent 89ff121754
commit b126457e2d
6 changed files with 45 additions and 19 deletions

View File

@@ -150,3 +150,13 @@ Create the JDBC URL from the host, port and database name.
{{- $appName := .Release.Name -}}
{{ printf "jdbc:postgresql://%s:%d/%s?ApplicationName=%s" $host (int $port) $name $appName }}
{{- end -}}
{{/*
Get the container image for the wait-for-db init container t
*/}}
{{- define "hapi-fhir-jpaserver.waitForDatabaseInitContainerImage" -}}
{{- $registry := .Values.waitForDatabaseInitContainer.image.registry -}}
{{- $repository := .Values.waitForDatabaseInitContainer.image.repository -}}
{{- $tag := .Values.waitForDatabaseInitContainer.image.tag -}}
{{ printf "%s/%s:%s" $registry $repository $tag}}
{{- end -}}

View File

@@ -31,7 +31,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: wait-for-db-to-be-ready
image: docker.io/bitnami/postgresql:17.4.0-debian-12-r10@sha256:7b9af9dd759055265998bbf12368e6d7d6326e6fd23f8157be841fad0915c1a1
image: {{ include "hapi-fhir-jpaserver.waitForDatabaseInitContainerImage" . }}
imagePullPolicy: IfNotPresent
{{- with .Values.restrictedContainerSecurityContext }}
securityContext:
@@ -99,7 +99,7 @@ spec:
- name: SPRING_DATASOURCE_DRIVERCLASSNAME
value: org.postgresql.Driver
- name: spring.jpa.properties.hibernate.dialect
value: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect
value: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgresDialect
- name: HAPI_FHIR_USE_APACHE_ADDRESS_STRATEGY
value: "true"
- name: MANAGEMENT_ENDPOINT_HEALTH_PROBES_ADD_ADDITIONAL_PATHS