1
0
Fork 0
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:
Vyankatesh Kudtarkar 2021-07-15 00:12:10 +05:30 committed by GitHub
parent 081cca8f23
commit b1861081be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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},
),
},
}