Skip to content

Commit

Permalink
Merge pull request #260 from Bolodya1997/deployments-k8s#906/token-ti…
Browse files Browse the repository at this point in the history
…meout

[deployments-k8s#906] Decrease default token timeout to 10m
  • Loading branch information
edwarnicke authored Jul 27, 2021
2 parents f9ca95f + d61b730 commit 972d66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type Config struct {
Name string `default:"icmp-server" desc:"Name of ICMP Server"`
BaseDir string `default:"./" desc:"base directory" split_words:"true"`
ConnectTo url.URL `default:"unix:///var/lib/networkservicemesh/nsm.io.sock" desc:"url to connect to" split_words:"true"`
MaxTokenLifetime time.Duration `default:"24h" desc:"maximum lifetime of tokens" split_words:"true"`
MaxTokenLifetime time.Duration `default:"10m" desc:"maximum lifetime of tokens" split_words:"true"`
ServiceNames []string `default:"icmp-responder" desc:"Name of provided services" split_words:"true"`
Payload string `default:"ETHERNET" desc:"Name of provided service payload" split_words:"true"`
Labels map[string]string `default:"" desc:"Endpoint labels"`
Expand Down

0 comments on commit 972d66a

Please sign in to comment.