-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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!: remove list and watch on secrets. Fixes #8534 #8555
Merged
alexec
merged 23 commits into
argoproj:master
from
basanthjenuhb:fix/remove-secret-list
May 13, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e6afd37
fix: remove secrets
c06ea3e
feat: remove list and watch on secrets
65ac3e9
fix: lint
e096ce8
feat: initial draft of timed cache
fa5a098
feat: initial draft of timed cache
7a56851
feat: merge
ada3ef4
feat: add tests
c8772ec
feat: merge
41830bd
fix: remove generics to fix build
83ed08b
feat: rename variables
1155102
feat: rename variables
901ea65
feat: rename variables
8b0b362
fix: remove sso-namespace option
56e064c
fix: set cache TTL to 1m
0e57a32
fix: docs
22e6bdb
feat: fix namespaces
17a649f
fix: rename variable
629f3dd
fix: minor
edc69b3
feat: start informerFactory in a separate method
56fbaaf
feat: fix time tests
e232df4
fix: resolve ssonamespace in
91271eb
fix: pass ctx as function argument
d0541c1
fix: pass ctx as function argument
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this actually is different from the logic on line 151 and line 160 below. Those set the SSO namespace to the installation namespace when using a managed namespace. That makes sense, since your Argo configuration and Argo Server are in the installation namespace. Only your Workflows are in the managed namespace.
This change is actually quite confusing as a result, as due to this, with a managed namespace you now configure SSO RBAC there and not in the installation namespace. Normally that only happens when you enable SSO namespace delegation, which is named fairly explicitly.
This resulted in an undocumented breaking change that caused a regression too: #9989 (comment) 😕