Skip to content

Commit

Permalink
Merge pull request #24 from Bolodya1997/deployments-k8s#906/token-tim…
Browse files Browse the repository at this point in the history
…eout

[deployments-k8s#906] Decrease default token timeout to 10m
  • Loading branch information
edwarnicke authored Jul 21, 2021
2 parents 8c377b7 + 03f6069 commit 920021e
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 @@ -81,7 +81,7 @@ type Config struct {
Name string `default:"firewall-server" desc:"Name of Firewall Server"`
ListenOn string `default:"listen.on.sock" desc:"listen on socket" 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"`
ServiceName string `default:"" desc:"Name of providing service" split_words:"true"`
Labels map[string]string `default:"" desc:"Endpoint labels"`
ACLConfigPath string `default:"/etc/vppagent-firewall/config.yaml" desc:"Path to ACL config file" split_words:"true"`
Expand Down

0 comments on commit 920021e

Please sign in to comment.