Skip to content

Commit

Permalink
Merge pull request #110 from Nordix/default-to-fail
Browse files Browse the repository at this point in the history
set default failure policy to fail
  • Loading branch information
zshi-redhat authored Aug 4, 2021
2 parents b1714b3 + 5461e71 commit abbff3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/installer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
func main() {
namespace := flag.String("namespace", "kube-system", "Namespace in which all Kubernetes resources will be created.")
prefix := flag.String("name", "network-resources-injector", "Prefix added to the names of all created resources.")
failurePolicy := flag.String("failure-policy", "Ignore", "K8 admission controller failure policy to handle unrecognized errors and timeout errors")
failurePolicy := flag.String("failure-policy", "Fail", "K8 admission controller failure policy to handle unrecognized errors and timeout errors")
flag.Parse()

glog.Info("starting webhook installation")
Expand Down

0 comments on commit abbff3c

Please sign in to comment.