Commit Graph

571 Commits

Author SHA1 Message Date
Andreas Kupries 91b77df57a added separate printout of request id for quick and easy access in case of problems.
also added marker for login origin
2025-09-04 10:43:31 +02:00
Pedro Tashima 786e0eaf75
update rancher to v2.9.11 (#465) 2025-08-27 20:14:02 -03:00
Enrico Candino 4a858896b8
chore: Bump rancher dependencies to v2.9.11-alpha2 (#463) 2025-08-21 18:57:11 +02:00
Peter Matseykanets 3ef7cea2e6
[v2.9] Bump Go to 1.23.12 (#460)
* Bump Go to 1.23.12
* Bump bci-micro to 15.7
* Remove replace for golang.org/x/net
2025-08-20 09:26:29 -04:00
Pedro Tashima c46428d828
update rancher dependencies (#440) 2025-05-22 15:11:06 -03:00
Peter Matseykanets 8f3f367e8d
[v2.9] Bump rancher/rancher to v2.9.10-alpha1 (#437) 2025-05-14 16:58:32 -04:00
Pedro Tashima 88f5061f3c
bump refs v2.9.9 (#433) 2025-04-24 12:36:10 -03:00
Peter Matseykanets 677b570e6d
[v2.9] Pre-release bump of dependencies for v2.9.9 (#429)
* Bump rancher/rancher to v2.9.9-alpha1
* Force golang.org/x/net to v0.38.0
2025-04-17 14:50:22 -04:00
Peter Matseykanets f8aae9ba1d
[v2.9] Bump rancher/rancher to v2.9.8 (#423) 2025-03-31 16:26:22 -04:00
Peter Matseykanets 3cfd515eea
[v2.9] Bump dependencies (#417)
* Bump rancher/rancher to v2.9 head
* Force golang.org/x/net v0.36.0
* Force k8s.io/kubernetes v1.30.10
2025-03-27 07:54:55 -04:00
Peter Matseykanets 86ae028f1a
[v2.9] Bump rancher to v2.9.5 (#408) 2024-12-19 12:35:02 -05:00
Harrison 112531d6ce
[2.9] Avoid permissions errors on Windows (#400) 2024-11-26 13:22:26 -05:00
Peter Matseykanets 231527b428
[v2.9] Bump dependencies for v2.9.2 (#394) 2024-09-19 18:15:55 -04:00
Enrico Candino ea1e7f03cf
revert error message (#390) (#392) 2024-09-09 18:24:49 +02:00
Enrico Candino 95f73b5722
Fix panic on `context switch` (#386) (#387)
* added bool check for missing focused server, fixed panic

* added main branch to FOSSA workflow

* return error instead of bool
2024-09-04 15:05:45 +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
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 a12fd3b597
Merge pull request #348 from enrichman/44332-cli-panics
Fix panics in `rancher token` and `rancher server current` commands
2024-02-08 12:59:51 +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 2cc3438cba
Merge pull request #343 from eliyamlevy/v2.8
[v2.8] Update saml auth login endpoint to point toward dashboard endpoint
2023-09-28 12:32:48 -04:00
Eliyam Levy ca506bc19d
Merge pull request #342 from eliyamlevy/v2.7
[v2.7] Update saml auth login endpoint to point toward dashboard endpoint
2023-09-28 12:18:38 -04: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