mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
support for Disallow pod exec operation (#2138)
This commit is contained in:
parent
081cca8f23
commit
b1861081be
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ func (wrc *Register) constructDefaultDebugValidatingWebhookConfig(caData []byte)
|
|||
[]string{"*/*"},
|
||||
"*",
|
||||
"*",
|
||||
[]admregapi.OperationType{admregapi.Create, admregapi.Update, admregapi.Delete},
|
||||
[]admregapi.OperationType{admregapi.Create, admregapi.Update, admregapi.Delete, admregapi.Connect},
|
||||
),
|
||||
},
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ func (wrc *Register) constructDefaultValidatingWebhookConfig(caData []byte) *adm
|
|||
[]string{"*/*"},
|
||||
"*",
|
||||
"*",
|
||||
[]admregapi.OperationType{admregapi.Create, admregapi.Update, admregapi.Delete},
|
||||
[]admregapi.OperationType{admregapi.Create, admregapi.Update, admregapi.Delete, admregapi.Connect},
|
||||
),
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue