Skip to content

Commit

Permalink
Hide key-per-node flag.
Browse files Browse the repository at this point in the history
Signed-off-by: viktor-kurchenko <[email protected]>
  • Loading branch information
viktor-kurchenko authored and michi-covalent committed Feb 19, 2024
1 parent 560c01a commit c0f1125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/cli/cmd/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func newCmdIPsecRotateKey() *cobra.Command {
}
cmd.Flags().StringVarP(&params.IPsecKeyAuthAlgo, "auth-algo", "", "", "IPsec key authentication algorithm (optional parameter, if omitted the current settings will be used). One of: gcm-aes, hmac-md5, hmac-sha1, hmac-sha256, hmac-sha512")
cmd.Flags().StringVarP(&params.IPsecKeyPerNode, "key-per-node", "", "", "IPsec key per cluster node (optional parameter, if omitted the current settings will be used). One of: true, false")
_ = cmd.Flags().MarkHidden("key-per-node")
cmd.Flags().DurationVar(&params.WaitDuration, "wait-duration", 1*time.Minute, "Maximum time to wait for result, default 1 minute")
return cmd
}
Expand Down

0 comments on commit c0f1125

Please sign in to comment.