Commit Graph

585 Commits

Author SHA1 Message Date
Andreas Kupries d564b189f0 added separate printout of request id for quick and easy access in case of problems.
added marker for login origin
2025-09-04 15:05:14 +02:00
Peter Matseykanets d638bc3191
Bump Go to 1.24.6 (#456)
* Bump Go toolchain to 1.24.6
* Bump bci-micro to 15.7
* Remove replace for golang.org/x/net
2025-08-20 09:22:36 -04:00
Peter Matseykanets 4d57ace593
Pre-release bump of dependencies for v2.12.0 (#448) 2025-07-17 10:08:06 -04:00
Ben Rexin 12848fbb29
Support linux/arm64 platform (#447) 2025-07-09 14:30:51 -04:00
Peter Matseykanets b197247cd1
Bump rancher/rancher to v2.12.0-alpha11 (#444)
* Bump rancher/rancher to v2.12.0-alpha11
* Force golang.org/x/net to v0.38.0
2025-06-18 13:36:20 -04:00
Peter Matseykanets ecfd5d93d2
[main] Bump dependencies (#420)
* Bump rancher/rancher to main head
* Force k8s.io/kubernetes v1.32.2
2025-03-31 11:22:17 -04:00
Peter Matseykanets 1987673671 Revert "Bump rancher/rancher to main head"
This reverts commit a5a13deb1b that was accidentally pushed directly to main.
2025-03-28 13:43:36 -04:00
Peter Matseykanets 0176fc4e16 Revert "Force k8s.io/kubernetes v1.32.2"
This reverts commit a283772e57 that was accidentally pushed directly to main.
2025-03-28 13:42:42 -04:00
Peter Matseykanets a283772e57 Force k8s.io/kubernetes v1.32.2 2025-03-28 13:24:49 -04:00
Peter Matseykanets a5a13deb1b Bump rancher/rancher to main head 2025-03-28 13:23:36 -04:00
Peter Matseykanets 6c774cf59a
Bump dependencies for v2.11 (#414) 2025-03-12 15:29:36 -04:00
Peter Matseykanets 265074fced
Bump Go toolchain to 1.23.7 (#413) 2025-03-12 14:00:31 -04:00
Meza c8ce6179b2
Update README.md docker image usage (#409)
Signed-off-by: Meza <meza-xyz@proton.me>
2025-02-20 15:24:12 +01: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 1291873119
Bump Go toolchain to 1.23.5 (#411) 2025-02-03 09:20:54 -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
Harrison f0fe6d33f6
[2.11] Avoid permissions errors on Windows (#398) 2024-12-06 13:08:31 -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 dd2591cc7c
Bump rancher to main HEAD (#404) 2024-11-25 16:42:30 -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
Peter Matseykanets 0267f06985
Bump Go to 1.23.1 (#396) 2024-09-23 16:07:12 -04:00
Enrico Candino 22506409fb
revert error message (#390) 2024-09-09 17:03:39 +02: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
Sam Cornwell d231ad19d1
Update README.md for Linux binary build command (#385) 2024-08-22 17:38:41 +02: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 6db3e90cdd
[v2.9] Upload CLI assets to GCS (#379)
* upload assets to gcs

* fix upload path
2024-07-12 16:46:25 +02: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 7ea22d868e
use Rancher org FOSSA secret (#373) 2024-05-30 18:31:01 +02:00
Jonathan Crowther 902726c28e
Merge pull request #369 from JonCrowther/2.9-add-codeowners
[v2.9] add codeowners file
2024-05-24 11:44:58 -04:00
Jonathan Crowther fb0bef34b9 add codeowners file 2024-05-23 15:18:05 -04:00
Enrico Candino e2015650fa
avoid recursive find and inclusion of sha256sum.txt file in shasum (#368) 2024-05-08 17:38:49 +02:00
Enrico Candino b2896566b2
Fix GitHub Action permission to publish assets (#367)
* added contents write permission to publish assets in release

* added comment
2024-05-08 13:10:30 +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 a85cc1096a
GHA migration: secrets check (#365)
* added steps to read migrated secrets

* fixed indentation and naming
2024-04-24 17:03:25 +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 fa7abaaf3e
[v2.9] Updated `k8s.io/client-go` and `rancher/norman` dependencies (#358)
* bumped/replaced kubernetes/client-go with rancher fork

* bump of rancher norman

* bump of k8s.io/client-go
2024-04-12 12:42:59 +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 67b632b21e
bump to go1.22 (#355) 2024-03-29 10:35:54 +01: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 834388eaee
Merge pull request #326 from bakito/v2.7
fix: make the cli runnable on windows
2024-02-09 11:16:32 -05:00
Harrison 8e4a8c2361
Merge branch 'v2.9' into v2.7 2024-02-09 11:05:49 -05:00