Skip to content

Commit

Permalink
fix: Ignore the failure (#996)
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege authored and k8s-ci-robot committed Jan 6, 2020
1 parent 59a4880 commit f3e8405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/webhook/v1alpha3/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func register(manager manager.Manager, server *webhook.Server) error {
WithManager(manager).
ForType(&v1.Pod{}).
Handlers(pod.NewSidecarInjector(manager.GetClient())).
FailurePolicy(admissionregistrationv1beta1.Ignore).
Build()
if err != nil {
return err
Expand Down

0 comments on commit f3e8405

Please sign in to comment.