argo-cd/pkg
Bryce Lowe c2dfab5560
fix: update rbac validation to support applications in different namespaces (#17777)
* fix: policies in namespaces

The introduction of applications in any namespace doesn't appear to include support for specifying namespaces in rbac policy objects.  This causes valid rbac objects (like `some-project/some-namespace/some-application`) to fail when they are really valid.  Update the regex to include the ability to specify a namespace.

Signed-off-by: Bryce Lowe <blowe@patreon.com>

* fix: update verbiage of failing test

Signed-off-by: Bryce Lowe <blowe@patreon.com>

* feedback: test for policy and project

Signed-off-by: Bryce Lowe <blowe@patreon.com>

* fix: update test name

Signed-off-by: Bryce Lowe <blowe@patreon.com>

---------

Signed-off-by: Bryce Lowe <blowe@patreon.com>
2024-04-09 21:52:54 -04:00
..
apiclient feat: support grpc message size as env (#17728) 2024-04-06 04:19:05 +03:00
apis fix: update rbac validation to support applications in different namespaces (#17777) 2024-04-09 21:52:54 -04:00
client chore(deps): upgrade k8s version and client-go (#15852) 2023-10-18 08:17:00 -07:00
ratelimiter fix: disable rate limiting sompletely by default (#17355) 2024-03-04 10:46:55 -05:00