-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Fix: Enable users to use Archived Workflows functionality when RBAC is Namespace delegated #10399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Enable users to use Archived Workflows functionality when RBAC is Namespace delegated #10399
Conversation
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
} | ||
message ListArchivedWorkflowLabelValuesRequest { | ||
k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions listOptions = 1; | ||
string namespace = 2; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't absolutely sure whether to add namespace
to these last two. These seem to be used for populating the drop downs. The requests themselves don't need that information, but I figured if somebody has selected a user namespace this will allow them to get this information in the case of namespace-delegated RBAC.
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
…mespace Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @juliev0!
…s Namespace delegated (argoproj#10399) Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com>
…s Namespace delegated (argoproj#10399) Signed-off-by: Julie Vogelmani <julie_vogelman@intuit.com> Signed-off-by: Rajshekar Reddy <reddymh@gmail.com>
Fixes #8498
Implementation is based on the recommendations by Jesse here. Each archives request (not just "list") now includes a namespace parameter, and implements GetNamespace(), enabling the existing gateway functionality to locate the right Service Account based on the caller's claims.
For backward compatibility with existing client libraries, the existing field selector method of selecting namespace is also supported.