Skip to content

Commit

Permalink
Add label filter to job resource
Browse files Browse the repository at this point in the history
  • Loading branch information
ambersun1234 committed Feb 5, 2025
1 parent 14e2ca7 commit aaa9348
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/kueue/templates/webhook/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ webhooks:
path: /mutate-batch-v1-job
failurePolicy: Fail
name: mjob.kb.io
objectSelector:
matchLabels:
app.kubernetes.io/managed-by: kueue
rules:
- apiGroups:
- batch
Expand Down Expand Up @@ -432,6 +435,9 @@ webhooks:
path: /validate-batch-v1-job
failurePolicy: Fail
name: vjob.kb.io
objectSelector:
matchLabels:
app.kubernetes.io/managed-by: kueue
rules:
- apiGroups:
- batch
Expand Down

0 comments on commit aaa9348

Please sign in to comment.