Commit 8646f79a authored by FengyunPan's avatar FengyunPan

Update admission control args

Use '--admission-control-config-file' rather than '--admission-controler-config-file'
parent a57c33bd
...@@ -184,7 +184,7 @@ func (a *imagePolicyWebhook) admitPod(pod *api.Pod, attributes admission.Attribu ...@@ -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:
// //
// { // {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment