Skip to content

Commit

Permalink
set default failurePolicy to Fail
Browse files Browse the repository at this point in the history
Signed-off-by: Periyasamy Palanisamy <[email protected]>
  • Loading branch information
pperiyasamy committed Jul 28, 2021
1 parent b1714b3 commit 5461e71
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 5461e71

Please sign in to comment.