Peter Matseykanets
98b8b76a64
Migrate to /v1-public endpoints ( #544 )
...
Ref: https://github.com/rancher/rancher/issues/52503
2026-02-04 13:17:08 -05:00
Peter Matseykanets
53d0528387
Fix login command ( #522 )
2026-01-09 13:35:55 -05:00
Peter Matseykanets
e4c778e8dd
Use staticcheck linter ( #511 )
...
- Enable staticcheck linter
- Fix identified issues
2025-12-08 22:44:39 -05:00
Andreas Kupries
792397c052
added separate printout of request id for quick and easy access in case of problems. ( #476 )
...
added marker for login origin
2025-09-04 15:48:41 +02:00
Peter Matseykanets
6c774cf59a
Bump dependencies for v2.11 ( #414 )
2025-03-12 15:29:36 -04:00
Peter Matseykanets
9a0c462f62
Fix expected http status codes for different auth methods in token command ( #412 )
2025-02-11 16:33:31 -05:00
Peter Matseykanets
818a52f66d
Respect proxy settings and timeout in token command ( #410 )
...
Ref: https://github.com/rancher/rancher/issues/48631
2025-01-27 09:47:46 -05:00
Peter Matseykanets
80099f6ea0
Respect proxy settings and set http timeout in login and ssh commands ( #406 )
...
Ref: https://github.com/rancher/rancher/issues/48321
2024-12-09 12:55:26 -05:00
Sakala Venkata Krishna Rohit
0b6ae1f01b
Remove app, catalog, multiclusterapp commands ( #405 )
...
Ref: https://github.com/rancher/rancher/issues/48252
2024-12-03 14:59:06 -05:00
Kai-Hsiang Hsu
2cf4939754
Add format option to server ls command ( #383 )
...
Ref: https://github.com/rancher/rancher/issues/48169
2024-11-26 10:17:05 -05:00
Peter Matseykanets
9cc12a4399
Remove globaldns subcommand ( #403 )
2024-11-19 08:49:41 -05:00
idogada-akamai
f5d2eaabeb
Avoid overwriting entire KubeCredentials block ( #397 )
...
* Avoid overwriting entire KubeCredentials block
* Add test for cached credentials (credit to @bigkevmcd)
* Add field name
* Reuse existing context
2024-11-11 11:57:57 -05:00
Peter Matseykanets
3d831ec6cf
Improve cluster|project list-members subcommands ( #399 )
...
Ref: https://github.com/rancher/rancher/issues/47692
2024-11-01 14:46:29 -04:00
Chad Roberts
eca4a72c8c
Ensure that localProvider is always the 0th provider listed in the provider selection prompt. ( #389 )
2024-09-07 09:50:06 -04:00
Enrico Candino
11d795b557
Fix panic on context switch ( #386 )
...
* added bool check for missing focused server, fixed panic
* added main branch to FOSSA workflow
* return error instead of bool
2024-08-22 15:58:43 +02:00
Peter Matseykanets
fbbf20571a
[v2.9] Bump dependencies ( #377 )
...
* Bump bci image to 15.6
* Bump rancher api and client-go packages
* Remove PodSecurityPolicy references
* Bump rancher to v2.9 head
2024-07-17 17:41:08 -04:00
Enrico Candino
93aad721b3
[v2.9][forwardport] Small refactor (error messages) ( #375 )
...
* small refactor for requested changes
* added error to error message
* used ErrorContains in tests
2024-05-31 16:37:45 +02:00
Enrico Candino
192a95e4ed
[v2.9] Migrate from Drone to Github Actions, remove Dapper and add Darwin/arm64 support ( #362 )
...
* enabled gofmt linter, added lint scripts, removed dapper from Makefile
* added build (with arm64 support), package steps, and fossa job
* github tag, and envs
* upload assets
* removed dapper and google cloud storage
* moved checkout steps
* removed drone.yml
* requested changes
- removed extra Test step
- added check for run on PRs
- added FOSSA check on release
* moved fossa in its own workflow
* remove manual trigger and tag check on release
2024-05-06 12:31:58 +02:00
Enrico Candino
36d1121f95
Azuread support ( #346 )
...
* azuread support
* import of rancher types
* fixes and cleanup
* removed unused func
bump rancher
added dashboard implementation
* added device auth flow
updated login request
removed unused import
removed prompt flag
* updated go.mod, removed pkce package
go mod fix
* added cluster specific kubeconfig
* go mod update
* bump of rancher client-go
* dropped rancher fork of client-go
* fix lint and errors
* added getClient func
- added getClient func to create once the HTTP client with the same TLS configuration.
- added tests for the getAuthProviders func
* insecureRequest
* removed personal references
* revert name
2024-04-23 15:02:14 +02:00
Enrico Candino
0e8a1106be
Added linter and removed deprecated and unused packages ( #357 )
...
* Create go.yml
* updated golangci config file
* renamed action file
* removed unused prompt command
* fixed SA6005 (staticcheck): used strings.EqualFold
* removed unused monitor package
* removed unused funcs and fields
* fixed SA1019 (staticcheck): removed deprecations
* added missing error checking
* fixed linter
* removed unused (and unimplemented) commands
* added error to getClusterK8sOptions
* oneliner err check in displayListServers
* removed unused docker dependency
2024-04-10 11:52:59 +02:00
Enrico Candino
457fa11905
Merge pull request #349 from enrichman/44374-rfe-cli-server-command-cleanup
...
Cleanup of `rancher server` command
2024-02-13 15:22:56 +01:00
Enrico Candino
8349461de9
added test to serverLs, edded config to tabwriter
2024-02-12 17:32:04 +01:00
Enrico Candino
52441bfdeb
added serverDelete tests, fix for delete current
2024-02-12 15:50:32 +01:00
Enrico Candino
7d8aff605e
changed visibility of server commands funcs
2024-02-12 15:39:34 +01:00
Enrico Candino
e44ed8a41d
moved cfg to server command
2024-02-12 15:36:25 +01:00
Harrison
8e4a8c2361
Merge branch 'v2.9' into v2.7
2024-02-09 11:05:49 -05:00
Enrico Candino
dfc1e76c9e
added parallel test
2024-02-08 15:52:10 +01:00
Enrico Candino
a8f52a0e69
updated tests
2024-02-08 15:41:15 +01:00
Enrico Candino
ed8d91870d
validate as beforeFunc
2024-02-08 15:36:25 +01:00
Enrico Candino
649548a89a
added tests
2024-02-08 15:36:24 +01:00
Enrico Candino
bb9f0a46b2
fix server current panic, server commands refactor
2024-02-08 15:36:24 +01:00
Enrico Candino
e09dfcac5a
fix panic
2024-02-08 15:34:55 +01:00
Enrico Candino
49f30d1d26
fix panics
2024-02-08 10:09:15 +01:00
Marc Brugger
c23b0e68be
Merge branch 'rancher:v2.7' into v2.7
2023-12-07 20:51:34 +01:00
Marc Brugger
36f631a436
make runnable on windows
...
Signed-off-by: bakito <github@bakito.ch >
2023-12-07 20:45:29 +01:00
Eliyam Levy
726ffd2a7a
Update saml auth login endpoint to dashboard endpoint
2023-09-28 11:52:12 -04:00
Eliyam Levy
6b577d1a5c
Update saml auth login endpoint to dashboard endpoint
2023-09-28 11:11:18 -04:00
Tom Lebreux
938f1840d3
Move config loading to config/config.go
2023-09-20 15:25:10 -04:00
Daniel Southward-Ellis
bd803b2d40
Fix cluster create --import flag ( #332 )
...
Co-authored-by: Daniel Southward-Ellis <danielsouthwardellis@catalyst.net.nz >
2023-07-13 13:37:55 -07:00
Caleb Bron
b3fca8431a
Revert "Adds cluster-name flag instead of implied ( #325 )"
...
This reverts commit 80d8bdfb11 .
2023-04-10 09:42:21 -07:00
Steffan Tucker
80d8bdfb11
Adds cluster-name flag instead of implied ( #325 )
...
Updates cluster commands to require an explicit flag if using a cluster
name instead of a cluster id. This could be a breaking change, as
previously you could pass either the id or name
2022-11-21 08:17:46 -07:00
Harrison Affel
142054bc6c
update errors and usage for add-node
2022-08-30 15:13:57 -04:00
Harrison
4196225776
Merge pull request #316 from HarrisonWAffel/check-for-no-servers
...
Display message when no servers are available
2022-06-08 11:06:23 -04:00
Steven Crespo
81f702dc3b
Fix index out of bounds when installing hidden chart
2022-06-07 12:23:00 -07:00
Harrison Affel
e5566acfd5
if no servers are configured, state such when running servers ls, switch, or delete
2022-06-01 11:21:41 -04:00
Harrison Affel
e402eff6ac
improve clusters create description
2022-05-17 11:24:15 -04:00
Jiaqi Luo
ee24d42b01
fix the issue that RKE2 or K3S clusters are recognized properly in the output of the 'cluster list' command
2022-05-10 17:45:04 -07:00
Max Sokolovsky
baa08d8d18
Escape quotes in username, password, responseType for an auth request
2022-04-18 17:37:30 -04:00
Max Sokolovsky
27cb4fdbd2
Merge pull request #310 from maxsokolovsky/properly_unmarshal_rke_config_settings
...
Transform all keys to JSON format for RKE config values
2022-02-18 15:28:45 -05:00
Max Sokolovsky
67e64fb210
Transform all keys to JSON format as specified by struct tags for RKE config values
2021-11-24 12:07:29 -05:00