From aeb56b3eb9f48266d20d101d270beb95d9f1e145 Mon Sep 17 00:00:00 2001 From: Bakery Admin Date: Fri, 23 Jan 2026 19:10:50 +0100 Subject: [PATCH] Fix issues 3 --- .../tekton-helm/templates/task-update-gitops.yaml | 12 ++++++++---- .../migrations/ai-insights-migration-job.yaml | 6 +++--- .../migrations/alert-processor-migration-job.yaml | 6 +++--- .../auth/migrations/auth-migration-job.yaml | 6 +++--- .../migrations/demo-session-migration-job.yaml | 6 +++--- .../migrations/distribution-migration-job.yaml | 6 +++--- .../external/migrations/external-migration-job.yaml | 6 +++--- .../migrations/forecasting-migration-job.yaml | 6 +++--- .../migrations/inventory-migration-job.yaml | 6 +++--- .../migrations/notification-migration-job.yaml | 6 +++--- .../migrations/orchestrator-migration-job.yaml | 6 +++--- .../orders/migrations/orders-migration-job.yaml | 6 +++--- .../pos/migrations/pos-migration-job.yaml | 6 +++--- .../migrations/procurement-migration-job.yaml | 6 +++--- .../migrations/production-migration-job.yaml | 6 +++--- .../recipes/migrations/recipes-migration-job.yaml | 6 +++--- .../sales/migrations/sales-migration-job.yaml | 6 +++--- .../migrations/suppliers-migration-job.yaml | 6 +++--- .../tenant/migrations/tenant-migration-job.yaml | 6 +++--- .../training/migrations/training-migration-job.yaml | 6 +++--- 20 files changed, 65 insertions(+), 61 deletions(-) diff --git a/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml b/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml index 270bfacc..b5ffbf7e 100644 --- a/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml +++ b/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml @@ -155,8 +155,10 @@ spec: if [ -f "$MIGRATION_JOB_PATH" ]; then # Update migration job image reference sed -i "s|image: registry.bakewise.ai/bakery-admin/${IMAGE_NAME}:.*|image: $(params.registry)/${IMAGE_NAME}:$(params.git-revision)|g" "$MIGRATION_JOB_PATH" - # Update job name to include commit hash (makes it unique and avoids immutable field issues) - sed -i "s|name: ${service_dir}-migration|name: ${service_dir}-migration-$(params.git-revision)|g" "$MIGRATION_JOB_PATH" + # Update job name to include short commit hash (makes it unique and avoids immutable field issues) + # Use first 7 characters to stay under 63 character limit + SHORT_HASH=$(echo "$(params.git-revision)" | cut -c 1-7) + sed -i "s|name: ${service_dir}-migration|name: ${service_dir}-migration-${SHORT_HASH}|g" "$MIGRATION_JOB_PATH" echo "Updated migration job: $MIGRATION_JOB_PATH -> $(params.registry)/${IMAGE_NAME}:$(params.git-revision)" echo "Updated job name to include commit hash for immutability" else @@ -164,8 +166,10 @@ spec: if [ -f "infrastructure/services/microservices/$service_dir/migrations/${service}-migration-job.yaml" ]; then MIGRATION_JOB_PATH="infrastructure/services/microservices/$service_dir/migrations/${service}-migration-job.yaml" sed -i "s|image: registry.bakewise.ai/bakery-admin/${IMAGE_NAME}:.*|image: $(params.registry)/${IMAGE_NAME}:$(params.git-revision)|g" "$MIGRATION_JOB_PATH" - # Update job name to include commit hash (makes it unique and avoids immutable field issues) - sed -i "s|name: ${service}-migration|name: ${service}-migration-$(params.git-revision)|g" "$MIGRATION_JOB_PATH" + # Update job name to include short commit hash (makes it unique and avoids immutable field issues) + # Use first 7 characters to stay under 63 character limit + SHORT_HASH=$(echo "$(params.git-revision)" | cut -c 1-7) + sed -i "s|name: ${service}-migration|name: ${service}-migration-${SHORT_HASH}|g" "$MIGRATION_JOB_PATH" echo "Updated migration job: $MIGRATION_JOB_PATH -> $(params.registry)/${IMAGE_NAME}:$(params.git-revision)" echo "Updated job name to include commit hash for immutability" else diff --git a/infrastructure/services/microservices/ai-insights/migrations/ai-insights-migration-job.yaml b/infrastructure/services/microservices/ai-insights/migrations/ai-insights-migration-job.yaml index 87d7220a..fa879d3b 100644 --- a/infrastructure/services/microservices/ai-insights/migrations/ai-insights-migration-job.yaml +++ b/infrastructure/services/microservices/ai-insights/migrations/ai-insights-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: ai-insights-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: ai-insights-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: ai-insights-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: ai-insights-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: ai-insights-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: ai-insights-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/alert-processor/migrations/alert-processor-migration-job.yaml b/infrastructure/services/microservices/alert-processor/migrations/alert-processor-migration-job.yaml index 0dd7e1db..55da398a 100644 --- a/infrastructure/services/microservices/alert-processor/migrations/alert-processor-migration-job.yaml +++ b/infrastructure/services/microservices/alert-processor/migrations/alert-processor-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: alert-processor-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: alert-processor-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: alert-processor-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: alert-processor-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: alert-processor-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: alert-processor-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/auth/migrations/auth-migration-job.yaml b/infrastructure/services/microservices/auth/migrations/auth-migration-job.yaml index 40053163..d32680ef 100644 --- a/infrastructure/services/microservices/auth/migrations/auth-migration-job.yaml +++ b/infrastructure/services/microservices/auth/migrations/auth-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: auth-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: auth-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: auth-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: auth-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: auth-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: auth-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/demo-session/migrations/demo-session-migration-job.yaml b/infrastructure/services/microservices/demo-session/migrations/demo-session-migration-job.yaml index 58cb9ef1..bfc794b6 100644 --- a/infrastructure/services/microservices/demo-session/migrations/demo-session-migration-job.yaml +++ b/infrastructure/services/microservices/demo-session/migrations/demo-session-migration-job.yaml @@ -1,10 +1,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: demo-session-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: demo-session-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: demo-session-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: demo-session-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -12,7 +12,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: demo-session-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: demo-session-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/distribution/migrations/distribution-migration-job.yaml b/infrastructure/services/microservices/distribution/migrations/distribution-migration-job.yaml index 8d2439fe..fc8911aa 100644 --- a/infrastructure/services/microservices/distribution/migrations/distribution-migration-job.yaml +++ b/infrastructure/services/microservices/distribution/migrations/distribution-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: distribution-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: distribution-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: distribution-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: distribution-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: distribution-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: distribution-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/external/migrations/external-migration-job.yaml b/infrastructure/services/microservices/external/migrations/external-migration-job.yaml index 4ec80789..85fa4749 100644 --- a/infrastructure/services/microservices/external/migrations/external-migration-job.yaml +++ b/infrastructure/services/microservices/external/migrations/external-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: external-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: external-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: external-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: external-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: external-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: external-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/forecasting/migrations/forecasting-migration-job.yaml b/infrastructure/services/microservices/forecasting/migrations/forecasting-migration-job.yaml index 43d1d133..26379f3f 100644 --- a/infrastructure/services/microservices/forecasting/migrations/forecasting-migration-job.yaml +++ b/infrastructure/services/microservices/forecasting/migrations/forecasting-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: forecasting-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: forecasting-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: forecasting-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: forecasting-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: forecasting-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: forecasting-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/inventory/migrations/inventory-migration-job.yaml b/infrastructure/services/microservices/inventory/migrations/inventory-migration-job.yaml index 33746244..31998aed 100644 --- a/infrastructure/services/microservices/inventory/migrations/inventory-migration-job.yaml +++ b/infrastructure/services/microservices/inventory/migrations/inventory-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: inventory-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: inventory-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: inventory-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: inventory-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: inventory-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: inventory-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/notification/migrations/notification-migration-job.yaml b/infrastructure/services/microservices/notification/migrations/notification-migration-job.yaml index d1d304ca..325dd0de 100644 --- a/infrastructure/services/microservices/notification/migrations/notification-migration-job.yaml +++ b/infrastructure/services/microservices/notification/migrations/notification-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: notification-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: notification-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: notification-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: notification-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: notification-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: notification-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/orchestrator/migrations/orchestrator-migration-job.yaml b/infrastructure/services/microservices/orchestrator/migrations/orchestrator-migration-job.yaml index 143a129f..fc9b7352 100644 --- a/infrastructure/services/microservices/orchestrator/migrations/orchestrator-migration-job.yaml +++ b/infrastructure/services/microservices/orchestrator/migrations/orchestrator-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: orchestrator-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: orchestrator-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: orchestrator-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: orchestrator-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: orchestrator-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: orchestrator-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/orders/migrations/orders-migration-job.yaml b/infrastructure/services/microservices/orders/migrations/orders-migration-job.yaml index 2aeb250d..ee869c0a 100644 --- a/infrastructure/services/microservices/orders/migrations/orders-migration-job.yaml +++ b/infrastructure/services/microservices/orders/migrations/orders-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: orders-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: orders-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: orders-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: orders-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: orders-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: orders-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/pos/migrations/pos-migration-job.yaml b/infrastructure/services/microservices/pos/migrations/pos-migration-job.yaml index eb7848e3..3073cec6 100644 --- a/infrastructure/services/microservices/pos/migrations/pos-migration-job.yaml +++ b/infrastructure/services/microservices/pos/migrations/pos-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: pos-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: pos-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: pos-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: pos-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: pos-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: pos-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/procurement/migrations/procurement-migration-job.yaml b/infrastructure/services/microservices/procurement/migrations/procurement-migration-job.yaml index c2bd29a1..9e1b39b6 100644 --- a/infrastructure/services/microservices/procurement/migrations/procurement-migration-job.yaml +++ b/infrastructure/services/microservices/procurement/migrations/procurement-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: procurement-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: procurement-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: procurement-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: procurement-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: procurement-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: procurement-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/production/migrations/production-migration-job.yaml b/infrastructure/services/microservices/production/migrations/production-migration-job.yaml index 8b6b886f..218a170c 100644 --- a/infrastructure/services/microservices/production/migrations/production-migration-job.yaml +++ b/infrastructure/services/microservices/production/migrations/production-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: production-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: production-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: production-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: production-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: production-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: production-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/recipes/migrations/recipes-migration-job.yaml b/infrastructure/services/microservices/recipes/migrations/recipes-migration-job.yaml index 475c6051..1b6d6963 100644 --- a/infrastructure/services/microservices/recipes/migrations/recipes-migration-job.yaml +++ b/infrastructure/services/microservices/recipes/migrations/recipes-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: recipes-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: recipes-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: recipes-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: recipes-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: recipes-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: recipes-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/sales/migrations/sales-migration-job.yaml b/infrastructure/services/microservices/sales/migrations/sales-migration-job.yaml index afb165e8..e8fb2ed0 100644 --- a/infrastructure/services/microservices/sales/migrations/sales-migration-job.yaml +++ b/infrastructure/services/microservices/sales/migrations/sales-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: sales-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: sales-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: sales-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: sales-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: sales-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: sales-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/suppliers/migrations/suppliers-migration-job.yaml b/infrastructure/services/microservices/suppliers/migrations/suppliers-migration-job.yaml index 1e64a1af..c5e0fa92 100644 --- a/infrastructure/services/microservices/suppliers/migrations/suppliers-migration-job.yaml +++ b/infrastructure/services/microservices/suppliers/migrations/suppliers-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: suppliers-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: suppliers-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: suppliers-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: suppliers-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: suppliers-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: suppliers-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/tenant/migrations/tenant-migration-job.yaml b/infrastructure/services/microservices/tenant/migrations/tenant-migration-job.yaml index b2f87a5e..e8492c30 100644 --- a/infrastructure/services/microservices/tenant/migrations/tenant-migration-job.yaml +++ b/infrastructure/services/microservices/tenant/migrations/tenant-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: tenant-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: tenant-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: tenant-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: tenant-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: tenant-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: tenant-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: diff --git a/infrastructure/services/microservices/training/migrations/training-migration-job.yaml b/infrastructure/services/microservices/training/migrations/training-migration-job.yaml index 4f377a83..3d484aba 100644 --- a/infrastructure/services/microservices/training/migrations/training-migration-job.yaml +++ b/infrastructure/services/microservices/training/migrations/training-migration-job.yaml @@ -2,10 +2,10 @@ apiVersion: batch/v1 kind: Job metadata: - name: training-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + name: training-migration-6f282eff namespace: bakery-ia labels: - app.kubernetes.io/name: training-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: training-migration-6f282eff app.kubernetes.io/component: migration app.kubernetes.io/part-of: bakery-ia spec: @@ -13,7 +13,7 @@ spec: template: metadata: labels: - app.kubernetes.io/name: training-migration-6f282eff4c253e49a5ed4e8ba8be8b1e57280f8c + app.kubernetes.io/name: training-migration-6f282eff app.kubernetes.io/component: migration spec: initContainers: