we had an opensource Mutating Webhook at hand, and want to add another webhook before the one mentioned above. Does anybody has an idea of the execution order of different mutating webhooks, and how could we specify one mutating webhook executes before another?
CodePudding user response:
No! You can't.
Admission is divided into two phases. In the first phase, only mutating admission plugins run. In the second phase, only validating admission plugins run. The order of plugins in which they are passed to this flag does not matter.
Ref:
CodePudding user response:
If you really want to order the webhook
, you can change the name of these webhook
, I believe they are in alphabetical order when invoke.