|
| 1 | +# liqoctl authenticate |
| 2 | + |
| 3 | +Authenticate with a provider cluster |
| 4 | + |
| 5 | +## Description |
| 6 | + |
| 7 | +### Synopsis |
| 8 | + |
| 9 | +Authenticate with a provider cluster. |
| 10 | + |
| 11 | +This command allows a consumer cluster to communicate with a remote provider cluster |
| 12 | +to obtain slices of resources from. At the end of the process, the consumer cluster will |
| 13 | +be able to replicate ResourceSlices resources to the provider cluster, and to receive |
| 14 | +an associated Identity to consume the provided resources. |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +``` |
| 19 | +liqoctl authenticate [flags] |
| 20 | +``` |
| 21 | + |
| 22 | +### Examples |
| 23 | + |
| 24 | + |
| 25 | +```bash |
| 26 | + $ liqoctl authenticate --remote-kubeconfig <provider> |
| 27 | +``` |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +### Options |
| 34 | +`--cluster` _string_: |
| 35 | + |
| 36 | +>The name of the kubeconfig cluster to use |
| 37 | +
|
| 38 | +`--context` _string_: |
| 39 | + |
| 40 | +>The name of the kubeconfig context to use |
| 41 | +
|
| 42 | +`--in-band` |
| 43 | + |
| 44 | +>Use in-band authentication. Use it only if required and if you know what you are doing |
| 45 | +
|
| 46 | +`--kubeconfig` _string_: |
| 47 | + |
| 48 | +>Path to the kubeconfig file to use for CLI requests |
| 49 | +
|
| 50 | +`-n`, `--namespace` _string_: |
| 51 | + |
| 52 | +>The namespace where Liqo is installed in **(default "liqo")** |
| 53 | +
|
| 54 | +`--proxy-url` _string_: |
| 55 | + |
| 56 | +>The URL of the proxy to use for the communication with the remote cluster |
| 57 | +
|
| 58 | +`--remote-cluster` _string_: |
| 59 | + |
| 60 | +>The name of the kubeconfig cluster to use (in the remote cluster) |
| 61 | +
|
| 62 | +`--remote-context` _string_: |
| 63 | + |
| 64 | +>The name of the kubeconfig context to use (in the remote cluster) |
| 65 | +
|
| 66 | +`--remote-kubeconfig` _string_: |
| 67 | + |
| 68 | +>Path to the kubeconfig file to use for CLI requests (in the remote cluster) |
| 69 | +
|
| 70 | +`--remote-namespace` _string_: |
| 71 | + |
| 72 | +>The namespace where Liqo is installed in (in the remote cluster) **(default "liqo")** |
| 73 | +
|
| 74 | +`--remote-user` _string_: |
| 75 | + |
| 76 | +>The name of the kubeconfig user to use (in the remote cluster) |
| 77 | +
|
| 78 | +`--timeout` _duration_: |
| 79 | + |
| 80 | +>Timeout for completion **(default 2m0s)** |
| 81 | +
|
| 82 | +`--user` _string_: |
| 83 | + |
| 84 | +>The name of the kubeconfig user to use |
| 85 | +
|
| 86 | +`-v`, `--verbose` |
| 87 | + |
| 88 | +>Enable verbose logs (default false) |
| 89 | +
|
| 90 | + |
| 91 | +### Global options |
| 92 | + |
| 93 | +`--global-annotations` _stringToString_: |
| 94 | + |
| 95 | +>Global annotations to be added to all created resources (key=value) |
| 96 | +
|
| 97 | +`--global-labels` _stringToString_: |
| 98 | + |
| 99 | +>Global labels to be added to all created resources (key=value) |
| 100 | +
|
| 101 | +`--skip-confirm` |
| 102 | + |
| 103 | +>Skip the confirmation prompt (suggested for automation) |
| 104 | +
|
0 commit comments