diff --git a/charts/substra-backend/CHANGELOG.md b/charts/substra-backend/CHANGELOG.md index 055154be3..b999ac203 100644 --- a/charts/substra-backend/CHANGELOG.md +++ b/charts/substra-backend/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog +## [26.15.0] - 2024-12-16 + +Bump app version to 1.0.0 ## [26.14.2] - 2024-10-14 diff --git a/charts/substra-backend/Chart.yaml b/charts/substra-backend/Chart.yaml index 16beb60c6..16cf4c80d 100644 --- a/charts/substra-backend/Chart.yaml +++ b/charts/substra-backend/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: substra-backend home: https://github.com/Substra -version: 26.14.2 +version: 26.15.0 appVersion: 1.0.0 kubeVersion: '>= 1.19.0-0' description: Main package for Substra diff --git a/charts/substra-backend/README.md b/charts/substra-backend/README.md index e75d4f3b3..a45f6eb60 100644 --- a/charts/substra-backend/README.md +++ b/charts/substra-backend/README.md @@ -418,6 +418,17 @@ See Bitnami documentation: https://bitnami.com/stack/postgresql/helm | `hooks.deleteComputePods.image.repository` | Image repository for the hook image | `bitnami/kubectl` | | `hooks.deleteComputePods.image.tag` | Image tag for the hook image | `latest` | +### Images + +| Name | Description | Value | +| ---------------------------------- | ----------------------------------------- | ------------------- | +| `initImages.dockerize.repository` | Dockerize image | `jwilder/dockerize` | +| `initImages.dockerize.tag` | Dockerize injector tag | `0.6.1` | +| `initImages.dockerize.registry` | The registry to pull the Dockerize image | `docker.io` | +| `initImages.postgresql.repository` | PostgreSQL image | `postgres` | +| `initImages.postgresql.tag` | PostgreSQL tag | `17` | +| `initImages.postgresql.registry` | The registry to pull the PostgreSQL image | `docker.io` | + ## Usage diff --git a/charts/substra-backend/templates/_helpers.tpl b/charts/substra-backend/templates/_helpers.tpl index 76737d87a..6dae651f3 100644 --- a/charts/substra-backend/templates/_helpers.tpl +++ b/charts/substra-backend/templates/_helpers.tpl @@ -242,7 +242,7 @@ The hostname we should connect to (external is defined, otherwise integrated) {{- define "common.waitMinIOContainer" -}} {{- if or .Values.minio.enabled .Values.localstack.enabled }} - name: wait-minio - image: jwilder/dockerize:0.6.1 + image: {{ include "common.images.name" $.Values.initImages.dockerize }} securityContext: allowPrivilegeEscalation: false runAsNonRoot: true @@ -257,7 +257,7 @@ The hostname we should connect to (external is defined, otherwise integrated) {{- define "common.waitRedisInitContainer" -}} {{- if .Values.redis.enabled }} - name: wait-redis - image: jwilder/dockerize:0.6.1 + image: {{ include "common.images.name" $.Values.initImages.dockerize }} securityContext: allowPrivilegeEscalation: false runAsNonRoot: true @@ -274,7 +274,7 @@ The hostname we should connect to (external is defined, otherwise integrated) */}} {{- define "common.waitPostgresqlInitContainer" -}} - name: wait-postgresql - image: postgres + image: {{ include "common.images.name" $.Values.initImages.postgresql }} securityContext: allowPrivilegeEscalation: false runAsNonRoot: true diff --git a/charts/substra-backend/templates/deployment-registry-prepopulate.yaml b/charts/substra-backend/templates/deployment-registry-prepopulate.yaml index 17f201fd2..8b27b2ffb 100644 --- a/charts/substra-backend/templates/deployment-registry-prepopulate.yaml +++ b/charts/substra-backend/templates/deployment-registry-prepopulate.yaml @@ -24,7 +24,7 @@ spec: spec: initContainers: - name: wait-registry - image: jwilder/dockerize:0.6.1 + image: {{ include "common.images.name" $.Values.initImages.dockerize }} securityContext: allowPrivilegeEscalation: false runAsNonRoot: false diff --git a/charts/substra-backend/values.yaml b/charts/substra-backend/values.yaml index 82ba81610..e40675bc0 100644 --- a/charts/substra-backend/values.yaml +++ b/charts/substra-backend/values.yaml @@ -1185,3 +1185,21 @@ hooks: image: repository: bitnami/kubectl tag: latest + +## @section Images +## +initImages: + dockerize: + ## @param initImages.dockerize.repository Dockerize image + ## @param initImages.dockerize.tag Dockerize injector tag + ## @param initImages.dockerize.registry The registry to pull the Dockerize image + registry: docker.io + repository: jwilder/dockerize + tag: "0.6.1" + postgresql: + ## @param initImages.postgresql.repository PostgreSQL image + ## @param initImages.postgresql.tag PostgreSQL tag + ## @param initImages.postgresql.registry The registry to pull the PostgreSQL image + registry: docker.io + repository: postgres + tag: "17" \ No newline at end of file