Update acl-method command example
This commit is contained in:
parent
35c4efd220
commit
2ce398b62a
|
@ -37,7 +37,7 @@ Usage: consul acl auth-method <subcommand> [options] [args]
|
|||
-name "my-k8s" \
|
||||
-description "This is an example kube auth method" \
|
||||
-kubernetes-host "https://apiserver.example.com:8443" \
|
||||
-kubernetes-ca-file /path/to/kube.ca.crt \
|
||||
-kubernetes-ca-cert @/path/to/kube.ca.crt \
|
||||
-kubernetes-service-account-jwt "JWT_CONTENTS"
|
||||
|
||||
List all auth methods:
|
||||
|
@ -49,7 +49,7 @@ Usage: consul acl auth-method <subcommand> [options] [args]
|
|||
$ consul acl auth-method update -name "my-k8s" \
|
||||
-description "new description" \
|
||||
-kubernetes-host "https://new-apiserver.example.com:8443" \
|
||||
-kubernetes-ca-file /path/to/new-kube.ca.crt \
|
||||
-kubernetes-ca-cert @/path/to/new-kube.ca.crt \
|
||||
-kubernetes-service-account-jwt "NEW_JWT_CONTENTS"
|
||||
|
||||
Read an auth method:
|
||||
|
|
|
@ -269,6 +269,6 @@ Usage: consul acl auth-method create -name NAME -type TYPE [options]
|
|||
-name "my-k8s" \
|
||||
-description "This is an example kube method" \
|
||||
-kubernetes-host "https://apiserver.example.com:8443" \
|
||||
-kubernetes-ca-file /path/to/kube.ca.crt \
|
||||
-kubernetes-ca-cert @/path/to/kube.ca.crt \
|
||||
-kubernetes-service-account-jwt "JWT_CONTENTS"
|
||||
`
|
||||
|
|
|
@ -333,6 +333,5 @@ Usage: consul acl auth-method update -name NAME [options]
|
|||
$ consul acl auth-method update -name "my-k8s" \
|
||||
-description "new description" \
|
||||
-kubernetes-host "https://new-apiserver.example.com:8443" \
|
||||
-kubernetes-ca-file /path/to/new-kube.ca.crt \
|
||||
-kubernetes-ca-cert @/path/to/new-kube.ca.crt \
|
||||
-kubernetes-service-account-jwt "NEW_JWT_CONTENTS"
|
||||
`
|
||||
|
|
|
@ -50,7 +50,7 @@ $ consul acl auth-method create -type "kubernetes" \
|
|||
-name "my-k8s" \
|
||||
-description "This is an example kube auth method" \
|
||||
-kubernetes-host "https://apiserver.example.com:8443" \
|
||||
-kubernetes-ca-file /path/to/kube.ca.crt \
|
||||
-kubernetes-ca-cert @/path/to/kube.ca.crt \
|
||||
-kubernetes-service-account-jwt "JWT_CONTENTS"
|
||||
```
|
||||
|
||||
|
@ -66,7 +66,7 @@ Update all editable fields of the auth method:
|
|||
$ consul acl auth-method update -name "my-k8s" \
|
||||
-description "new description" \
|
||||
-kubernetes-host "https://new-apiserver.example.com:8443" \
|
||||
-kubernetes-ca-file /path/to/new-kube.ca.crt \
|
||||
-kubernetes-ca-cert @/path/to/new-kube.ca.crt \
|
||||
-kubernetes-service-account-jwt "NEW_JWT_CONTENTS"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue