Commit Graph

722 Commits

Author SHA1 Message Date
Mary 49c06c746e
removing tls environment var (#1151)
* removing var

* fixing unused variable - CI failure
2025-10-30 17:46:37 -03:00
Andreas Kupries 1eb8e54c24
fix: validate the new project state for consistency (#1118)
chore: additional unit tests
2025-10-24 10:28:04 +02:00
renovate-rancher[bot] 616e4dd70f
Update docker/login-action action to v3.6.0 (#1119)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-10-21 08:30:35 -04:00
Jake Hyde 948e9a55a4
Ensure operation is update when validating RKEConfig (#1145) 2025-10-17 14:47:17 -04:00
rancher-pr-and-push-webhook[bot] 24f0f6ca52
Sync dependencies (#1146)
Co-authored-by: rancher-pr-and-push-webhook[bot] <181785884+rancher-pr-and-push-webhook[bot]@users.noreply.github.com>
2025-10-17 13:22:51 -04:00
Chad Roberts 8be8bcfe1c
Add GHA to publish head images (#1141)
* Add GHA to publish head images

* Use full SHA instead of short version
2025-10-16 10:05:55 -04:00
Peter Matseykanets 92a5c0672b
Fix the check for the password matching username (#1138) 2025-10-14 07:34:55 -04:00
Jake Hyde 99ad1f7b0a
[52223] Validate RKEConfig for provisioning cluster (#1137)
* Validate RKEConfig for provisioning cluster

* Wait for azure config crd in testing

* go generate
2025-10-13 14:58:11 -04:00
Raul Cabello Martin 0142fa39cc
fix admin can't deactivate itself (#1129)
request.UserInfo.Username contains the user.Name not the user.Username

Enabled defaults to true if not initialized
2025-10-07 17:04:05 +02:00
Eric Promislow 672996f014
52095 bump dependencies (#1126)
* Bump dependencies stemming from lasso-v0.2.5-rc.1

* Backout golangci bump brought in by a renovate PR -- too early for that.
2025-10-03 14:09:42 -07:00
Apoorva Jagtap 9aaf74a4c0
Remove keyValueArgs dependency and preserve user-defined kube-apiserver-arg (#1096) 2025-10-01 00:13:48 +05:30
Eric Promislow bc51791b04
Bump to lasso v0.2.5-rc.1 and k8s v0.34.1 (#1116) 2025-09-23 12:52:57 -07:00
Mary 268431122b
bump dynamiclistener v0.7.2-rc1 (#1114) 2025-09-22 11:02:51 -03:00
Jake Hyde ff31a0075a
Fix crash when rancherd patches local cluster (#1100) (#1105)
Fix crash when rancherd patches local cluster
2025-09-19 11:44:30 -04:00
rancher-pr-and-push-webhook[bot] a742607933
[main] Sync webhook dependencies (#1098)
* Sync dependencies

* Manual rebase

---------

Co-authored-by: rancher-pr-and-push-webhook[bot] <181785884+rancher-pr-and-push-webhook[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-09-18 13:51:03 -07:00
renovate-rancher[bot] b5863c8693
Update actions/create-github-app-token digest to 6701853 (#1089)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 13:06:04 -07:00
renovate-rancher[bot] ca00d9e764
Update module github.com/rancher/dynamiclistener to v0.7.1 (#1067)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 13:05:07 -07:00
renovate-rancher[bot] a54f47d29e
Update actions/setup-go action to v6 (#1054)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 13:04:16 -07:00
renovate-rancher[bot] 234f01ccdd
Update module github.com/stretchr/testify to v1.11.1 (#1047)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 13:03:07 -07:00
renovate-rancher[bot] 1d883babca
Update module go.uber.org/mock to v0.6.0 (#1035)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 12:39:59 -07:00
renovate-rancher[bot] ab63a017dc
Update module github.com/rancher/rke to v1.8.6 (main) (#1010)
* Update module github.com/rancher/rke to v1.8.6

* Remove the replace directive for rke.

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-09-18 12:38:35 -07:00
renovate-rancher[bot] da77215fcb
Update module github.com/go-ldap/ldap/v3 to v3.4.11 (#893)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 12:02:02 -07:00
renovate-rancher[bot] 7ac219ffda
Update dependency golangci/golangci-lint to v2 (main) (#841)
* Update dependency golangci/golangci-lint to v2

* Migrate the golangci config file.

* Fix golangci-lint-flagged problems

Most of them fall in these categories:

* stop ignoring returned errors from function calls

* Apply deMorgan's law to complex negative boolean expressions

* Delete unused local variables and struct fields

* Successfully get the linter to stop complaining about
  uncommented global names

* If one import in a block has an import prefix, all must

* Deal with deprecated code

* Prefer switch-blocks to if/else if/...

* Remove unnecessary intermediate struct fields.

* Orphans are now deleted only via propagation-policy

* Stop checking goimports on generated files.

* Remove unused field comment

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-09-18 11:39:45 -07:00
renovate-rancher[bot] 4f0a47e07e
Update wrangler-lasso (#1057)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-18 06:38:12 -04:00
renovate-rancher[bot] cba5829cab
Update dependency helm/helm to v3.19.0 (#805)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-17 12:09:24 -07:00
renovate-rancher[bot] bdf9fbb612
Update dependency golangci/golangci-lint to v1.64.8 (#794)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-17 12:06:54 -07:00
renovate-rancher[bot] 8f5df9c7e5
Update module golang.org/x/tools to v0.37.0 (#767)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-09-17 12:04:24 -07:00
Mary cefc4a0c0f
48484 bug webhook error msg (#1046)
* new env variable IGNORE_TLS_HANDSHAKE_ERROR

* bump dynamiclistener v0.7.1-rc1
2025-09-09 16:48:02 -03:00
Jonathan Crowther 863afa796c
Extend the username uniqueness check to updates as well as creates (#1053)
* Add the check and tests

* Update docs
2025-09-03 13:00:26 -04:00
renovate-rancher[bot] ac1634825c
Update module github.com/rancher/wrangler/v3 to v3.2.3 (#1032)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-08-21 18:29:45 -04:00
renovate-rancher[bot] e929522a49
Update GitHub Actions (#856)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-08-13 15:41:06 -04:00
renovate-rancher[bot] e1306e5670
Update GitHub Actions (#803)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-08-12 08:25:35 -04:00
Tom Lebreux 9b2c3d11c9
Bump rancher-version (#1007) 2025-08-11 14:05:16 -04:00
Raul Cabello Martin 97b8962de8
validate password for local users (#1015)
- hash password
- check username does not exists
- user can't delete himself
- user can't deactivate himself
2025-08-11 18:00:16 +02:00
Jack Luo a25920ab95
[2.13] add validation for etcd s3 cloud credential (#985) 2025-08-08 09:17:38 -07:00
Julia Bier caf743e29b
[main] Label admission-configuration-psact secret to be backed up (#998)
* Label admission-configuration-psact secret to be backed up

* Include backup label in tests
2025-08-07 23:21:25 -04:00
Luiz Rosa, ローザ b443bc7703
fix: removing imported cluster warning (#990)
* fix: removing imported cluster warning

* removing test verification

* nit: adjust of commentaries and tests

* nit: updating comment and moving line

* updated validator comment
2025-08-07 12:45:13 -03:00
Jonathan Crowther 2bafe7a2f5
Move username validation to happen before manage-users check (#1016) 2025-08-07 10:16:43 -04:00
renovate-rancher[bot] fc2e283b64
Migrate config .github/renovate.json (#980)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-22 08:03:14 -04:00
Tom Lebreux 0d773715de
Update branch following rancher/rancher branching (#989)
* Update branch

* Update rancher/rancher/pkg/apis
2025-07-21 15:13:46 -04:00
Jonathan Crowther fb2a59c99c
Add update validation for User.UserName (#943)
* Add update validation for User.UserName

* Fix unit test
2025-07-18 09:08:13 -04:00
rancher-pr-and-push-webhook[bot] db9a379df2
[main] Sync webhook dependencies (#973)
* Sync dependencies

* Rename RKEClusterSpecCommon to ClusterConfiguration

---------

Co-authored-by: rancher-pr-and-push-webhook[bot] <181785884+rancher-pr-and-push-webhook[bot]@users.noreply.github.com>
Co-authored-by: Tom Lebreux <tom.lebreux@suse.com>
2025-07-16 10:47:51 -04:00
renovate-rancher[bot] 3b529c157b
Update module github.com/rancher/wrangler/v3 to v3.2.2 (#966)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-09 15:12:09 -04:00
Harrison 326880feb8
Identify and block malformed NO_PROXY values (#962) 2025-07-02 18:52:04 -04:00
Josh Meranda e1e25ee742
[main] register AuditPolicy webhook validation handler (#961)
* register AuditPolicy webhook validation handler

* satisfy golangci-lint

---------

Co-authored-by: joshmeranda <joshua.meranda@gmail.com>
2025-07-01 17:47:13 -04:00
Josh Meranda aea1b7c94d
[main] Validate auditlog (#960)
* add AuditPolicy to codegen

* go generate

* add validation checks and tests

* use external dependencies
2025-06-30 11:43:20 -04:00
renovate-rancher[bot] a14c2cec5b
Update registry.suse.com/bci/bci-micro Docker tag to v15.7 (#946)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-06-24 11:01:01 -04:00
rancher-pr-and-push-webhook[bot] d2cb2718a4
Sync dependencies (#959)
Co-authored-by: rancher-pr-and-push-webhook[bot] <181785884+rancher-pr-and-push-webhook[bot]@users.noreply.github.com>
2025-06-24 10:07:58 -04:00
Chad Roberts e6bbb437fd
Bump wrangler to v3.2.2-rc.3 (#958) 2025-06-23 21:19:07 -04:00
Sakala Venkata Krishna Rohit 9336245088
Add support for k8s 1.33 (#954)
* Add support for k8s 1.33

* Use unique ns for each test

The CI is failing with terminating namespaces with finalizer kubernetes. This has nothing to with the logic of integration tests
2025-06-23 11:04:11 -07:00