forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update rbac validation to support applications in different name…
…spaces (argoproj#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 <[email protected]> * fix: update verbiage of failing test Signed-off-by: Bryce Lowe <[email protected]> * feedback: test for policy and project Signed-off-by: Bryce Lowe <[email protected]> * fix: update test name Signed-off-by: Bryce Lowe <[email protected]> --------- Signed-off-by: Bryce Lowe <[email protected]>
- Loading branch information
Showing
3 changed files
with
72 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters