Skip to content

Commit

Permalink
validate spq create only when image provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Adnan Baruni committed Dec 11, 2024
1 parent 66000bf commit 1db5d03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/webhook/storage_quota_webhook_configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ webhooks:
resources:
- virtualmachines
sideEffects: None
matchConditions:
- expression: has(object.spec.image)
name: has-image
- admissionReviewVersions:
- v1
- v1beta1
Expand Down

0 comments on commit 1db5d03

Please sign in to comment.