Skip to content

Commit

Permalink
docs: Update tls.md (#2813)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Apr 24, 2020
1 parent 0dbd78f commit 8151f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/argo/commands/client/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func AddArgoServerFlagsToCmd(cmd *cobra.Command) {
// "-e" for encrypted - like zip
cmd.PersistentFlags().BoolVarP(&argoServerOpts.Secure, "secure", "e", os.Getenv("ARGO_SECURE") == "true", "Whether or not the server is using TLS with the Argo Server. Defaults to the ARGO_SECURE environment variable.")
// "-k" like curl
cmd.PersistentFlags().BoolVarP(&argoServerOpts.InsecureSkipVerify, "insecure-skip-verify", "k", os.Getenv("ARGO_INSECURE_SKIP_VERIFY") == "true", "If true, the Argo Server's certificate will not be checked for validity. This will make your HTTPS connections insecure. Defaults to the ARGO_SECURE environment variable.")
cmd.PersistentFlags().BoolVarP(&argoServerOpts.InsecureSkipVerify, "insecure-skip-verify", "k", os.Getenv("ARGO_INSECURE_SKIP_VERIFY") == "true", "If true, the Argo Server's certificate will not be checked for validity. This will make your HTTPS connections insecure. Defaults to the ARGO_INSECURE_SKIP_VERIFY environment variable.")
}

func NewAPIClient() (context.Context, apiclient.Client) {
Expand Down
4 changes: 2 additions & 2 deletions docs/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![alpha](assets/alpha.svg)

> v2.9 and after
> v2.8 and after
If you're running Argo Server you have three options with increasing transport security (note - you should also be running [authentication](argo-server.md#auth-mode)):

Expand Down Expand Up @@ -64,5 +64,5 @@ argo --secure list

```
export ARGO_SECURE=true
argo --secure --insecure-skip-verify list
argo list
```

0 comments on commit 8151f0c

Please sign in to comment.