From d2da1e37b9cee12a7d03b42afe5c4425d1e508c3 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 22 Apr 2025 14:24:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A(helm)=20specify=20unique=20compone?= =?UTF-8?q?nt=20names=20for=20all=20backend=20jobs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update backend job configurations to use distinct component names instead of sharing names with deployments. Prevents conflicts during cluster updates and migrations that were causing unexpected behavior. Improves deployment reliability and resource identification. --- src/helm/meet/templates/backend_job_createsuperuser.yaml | 2 +- src/helm/meet/templates/backend_job_migrate.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helm/meet/templates/backend_job_createsuperuser.yaml b/src/helm/meet/templates/backend_job_createsuperuser.yaml index b39f8417..b93d59ae 100644 --- a/src/helm/meet/templates/backend_job_createsuperuser.yaml +++ b/src/helm/meet/templates/backend_job_createsuperuser.yaml @@ -1,6 +1,6 @@ {{- $envVars := include "meet.common.env" (list . .Values.backend) -}} {{- $fullName := include "meet.backend.fullname" . -}} -{{- $component := "backend" -}} +{{- $component := "backend-createsuperuser" -}} apiVersion: batch/v1 kind: Job metadata: diff --git a/src/helm/meet/templates/backend_job_migrate.yaml b/src/helm/meet/templates/backend_job_migrate.yaml index a522da0c..2ef6b6c5 100644 --- a/src/helm/meet/templates/backend_job_migrate.yaml +++ b/src/helm/meet/templates/backend_job_migrate.yaml @@ -1,6 +1,6 @@ {{- $envVars := include "meet.common.env" (list . .Values.backend) -}} {{- $fullName := include "meet.backend.fullname" . -}} -{{- $component := "backend" -}} +{{- $component := "backend-migrate" -}} apiVersion: batch/v1 kind: Job metadata: