cli
cli copied to clipboard
Rancher CLI
This PR allows us to pass the username as a flag to the `rancher token` command so it does not need to be input each time. This is helpful in...
This PR migrates the CI to Drone to GitHub Actions. It also removes `dapper`. Secrets were already migrated and tested with https://github.com/rancher/cli/pull/365. In order to use the `golangci/golangci-lint-action` the `validate`...
Ref: - https://github.com/rancher/rancher/issues/44282 - https://github.com/rancher/rancher/pull/45191 Backport of https://github.com/rancher/cli/pull/346 **Note:** the PR needs an update to drop the `enrichman` replace after the merge of the Rancher PR.
Support for apple M1 silicon
Now, add a `--insecure` option to skip the SSL certificate validation. When the SSL certificate used by the rancher server is invalid, it will prompt `FATA[0000] Get "https://rancher.example.com/v3": x509: “dynamic”...
Use Case: Allow rancher cli (and kubectl by proxy) to request a token from Rancher Management Server using azureADProvider. Currently falls back to localProvider since azureADProvider is not on the...
This MR allows to define a local executable via the flag `--config-helper` or EnvVar `RANCHER_CONFIG_HELPER` to store the rancher config. The methods to `load` and `write` the config are intercepted...
Enables the `--generate-bash-completion` flag provided by `urfave/cli` Documentation can be found at https://github.com/urfave/cli/blob/main/docs/v2/examples/bash-completions.md Completion scripts can be found at https://github.com/urfave/cli/tree/main/autocomplete
Small QOL improvement which automatically opens the browser during `rancher token` if an oidc provider is selected.
On Rancher's cluster registration page, the one that shows you de node registration command, you have the options (Step 2) to add both node labels and taints. However, the cli...