Skip to content

Commit

Permalink
Add reinvocationPolicy to the labeling webhook (#385)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Short <todd.short@me.com>
  • Loading branch information
tmshort committed Sep 9, 2024
1 parent 40cb322 commit b2d75b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/base/manager/webhook/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
value:
- name: MissingOrIncorrectMetadataNameLabel
expression: "'name' in object.metadata && (!has(object.metadata.labels) || !('olm.operatorframework.io/metadata.name' in object.metadata.labels) || object.metadata.labels['olm.operatorframework.io/metadata.name'] != object.metadata.name)"
- op: add
path: /webhooks/0/reinvocationPolicy
value: IfNeeded

0 comments on commit b2d75b8

Please sign in to comment.