Skip to content

Commit

Permalink
Add more labels for job (based on the ones of the deployment)
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickEvers committed Apr 23, 2024
1 parent f47476b commit 48b7804
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,23 @@ kind: Job
metadata:
name: pg-calendar-init-job-{{ 1000000 | random | hash('md5') }}
namespace: {{ NAMESPACE }}
labels:
app: calendar-postgres-init
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/name: calendar-postgres-init
app.kubernetes.io/component: calendar
app.kubernetes.io/managed-by: ansible
git.repo: {{ SCHULCLOUD_CALENDAR_REPO_NAME }}
spec:
template:
metadata:
labels:
app: calendar-postgres-init
app.kubernetes.io/part-of: schulcloud-verbund
app.kubernetes.io/name: calendar-postgres-init
app.kubernetes.io/component: calendar
app.kubernetes.io/managed-by: ansible
git.repo: {{ SCHULCLOUD_CALENDAR_REPO_NAME }}
spec:
volumes:
- name: config-script
Expand Down

0 comments on commit 48b7804

Please sign in to comment.