Skip to content

Commit

Permalink
add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed Jan 7, 2025
1 parent 174818d commit 1ea385a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/migrate-db/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: migrate-db
labels:
name-prefix: migrate-db
spec:
template:
spec:
Expand Down
2 changes: 2 additions & 0 deletions jobs/migrate-s3/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions jobs/refresh-db/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: refresh-db
labels:
name-prefix: refresh-db
spec:
template:
spec:
Expand Down

0 comments on commit 1ea385a

Please sign in to comment.