mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Update admission control args
Use '--admission-control-config-file' rather than '--admission-controler-config-file'
This commit is contained in:
parent
a57c33bd28
commit
8646f79aa2
@ -184,7 +184,7 @@ func (a *imagePolicyWebhook) admitPod(pod *api.Pod, attributes admission.Attribu
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewImagePolicyWebhook a new imagePolicyWebhook from the provided config file.
|
// NewImagePolicyWebhook a new imagePolicyWebhook from the provided config file.
|
||||||
// The config file is specified by --admission-controller-config-file and has the
|
// The config file is specified by --admission-control-config-file and has the
|
||||||
// following format for a webhook:
|
// following format for a webhook:
|
||||||
//
|
//
|
||||||
// {
|
// {
|
||||||
|
Loading…
Reference in New Issue
Block a user