-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: Applications in any namespace #9755
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
6aac75e
feat: Applications in any namespace
jannfis 3f20a8b
Fix typo in CI
jannfis e71d320
Create argocd-e2e-external namespace
jannfis 6a2193b
Update from codegen
jannfis 46f8bd0
Remove debug code
jannfis 60a1225
Update help text for -N option to app create
jannfis 04cbff0
Wrap error when retrieving AppProject from cache
jannfis 84b196c
Check for controller namespace first before matching on additional ns
jannfis 5f17811
Improve TestAppProjectIsSourceNamespacePermitted unit test
jannfis 7509db8
Get rid of some debug leftovers
jannfis dcf0749
Better error wrapping; return IsNotFound as-is
jannfis 7d91ece
Updates from codegen
jannfis 49485f3
We don't need AppShortName() anymore
jannfis afa5787
Update end-to-end tests to use annotation methods
jannfis 0bdea96
Add e2e tests to test for app creation in not permitted ns
jannfis bb7c0f0
Remove deprecated code
jannfis e2242ea
Remove dead code
jannfis b57f289
Add RBACName() method to application type
jannfis b096cb3
Update from codegen
jannfis 50f48b9
Fix e2e test
jannfis 81f6da1
Update codegen
jannfis 0d9eea7
Move RBAC name generation to an application receiver
jannfis 45b482a
Fix sync window status in UI
jannfis 52b5027
Fix pod logs viewer
jannfis 1dd0120
Fix application events in UI
jannfis b5a4941
Fix application search in UI
jannfis 716b458
Fix yarn lint
jannfis 2161698
Merge branch 'master' of github.com:argoproj/argo-cd into feat/apps-i…
jannfis b873029
Only set up cluster-wide application informer when additional namespa…
jannfis de825d1
Merge branch 'master' of github.com:argoproj/argo-cd into feat/apps-i…
jannfis 5d99371
Adapt e2e test to a changed error message
jannfis 194da5d
Application namespace should be taken into account for create
jannfis dcde56c
Use non-qualified application name as Helm release name
jannfis 360d267
Support --app-namespace in e2e tests
jannfis 77d3658
Enable more e2e tests
jannfis 4f0f27e
Merge branch 'master' of github.com:argoproj/argo-cd into feat/apps-i…
jannfis c10a381
Increase e2e timeout for newly added tests
jannfis File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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
Oops, something went wrong.
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.
Looks like this isn't making use of the
ARGOCD_APPLICATION_NAMESPACES
env var. Should it be?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.
Maybe this setting should just live in
argocd-cm
, since it's shared by multiple components (the controller and the API)?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 think we could make the env var
ARGOCD_APPLICATION_NAMESPACES
live inargocd-cmd-params-cm
ConfigMap and have it consumed by both, argocd-server and argocd-application-controller in the Cobra commands instead of putting it in theargocd-cm
ConfigMap.A change to this setting would require restart of both, server and controller, so I think
argocd-cm
might not be the right place for it.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.
Makes sense to me!