From 1ea385a7d4a2f96a9f7da7dcd6d35ef36e5729fb Mon Sep 17 00:00:00 2001 From: George Taylor Date: Tue, 7 Jan 2025 11:26:43 +0000 Subject: [PATCH] add labels --- jobs/migrate-db/templates/job.yaml | 2 ++ jobs/migrate-s3/templates/job.yaml | 2 ++ jobs/refresh-db/templates/job.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/jobs/migrate-db/templates/job.yaml b/jobs/migrate-db/templates/job.yaml index 02e685c..2a6f9e1 100644 --- a/jobs/migrate-db/templates/job.yaml +++ b/jobs/migrate-db/templates/job.yaml @@ -28,6 +28,8 @@ apiVersion: batch/v1 kind: Job metadata: name: migrate-db + labels: + name-prefix: migrate-db spec: template: spec: diff --git a/jobs/migrate-s3/templates/job.yaml b/jobs/migrate-s3/templates/job.yaml index 1e88b13..d4616bf 100644 --- a/jobs/migrate-s3/templates/job.yaml +++ b/jobs/migrate-s3/templates/job.yaml @@ -20,6 +20,8 @@ apiVersion: batch/v1 kind: Job metadata: name: migrate-s3-{{ . | toString | replace "/" "-" | replace "." "" | trimSuffix "-" }} + labels: + name-prefix: migrate-s3 spec: template: spec: diff --git a/jobs/refresh-db/templates/job.yaml b/jobs/refresh-db/templates/job.yaml index 1d3a837..d739544 100644 --- a/jobs/refresh-db/templates/job.yaml +++ b/jobs/refresh-db/templates/job.yaml @@ -43,6 +43,8 @@ apiVersion: batch/v1 kind: Job metadata: name: refresh-db + labels: + name-prefix: refresh-db spec: template: spec: