You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for using wildcard chars in sourceNamespaces for ArgoCD Operator (#1218)
* adding a new variable in ReconcileArgoCD struct call SourceNamespaces which store all the SourceNamespaces defined in Argocd Spec. sourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* range r.SourceNamespaces instead of cr.Spec.SourceNamespaces, cr.Spec.SourceNamespaces might contain wildcard which will lead to error i.e. Namespace * not found
Signed-off-by: Mangaal <[email protected]>
* range r.SourceNamespaces instead of cr.Spec.SourceNamespaces, cr.Spec.SourceNamespaces might contain wildcard which will lead to error i.e. Namespace * not found
Signed-off-by: Mangaal <[email protected]>
* adding func containsWildcard
Signed-off-by: Mangaal <[email protected]>
* adding func setManagedNamespaces
Signed-off-by: Mangaal <[email protected]>
* range r.SourceNamespaces instead of cr.Spec.SourceNamespaces, cr.Spec.SourceNamespaces might contain wildcard which will lead to error i.e. Namespace * not found
Signed-off-by: Mangaal <[email protected]>
* adding unit test for func setSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* adding unit test for func sourceNamespacemapper
Signed-off-by: Mangaal <[email protected]>
* update unit test for func reconcileRoleForApplicationSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* update func SetupWithManager to watch newly created ns
Signed-off-by: Mangaal <[email protected]>
* adding func sourceNamespacemapper which filter newly created ns
Signed-off-by: Mangaal <[email protected]>
* update func setResourceWatches to watch newly created ns. added func sourceNamespaceFilterPredicate
Signed-off-by: Mangaal <[email protected]>
* go.mod/go.sum
Signed-off-by: Mangaal <[email protected]>
* unit tests func update
Signed-off-by: Mangaal <[email protected]>
* adding func getSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* adding unit test for func getSourceNamespaces. TestGetSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* remove SourceNamespaces from ReconcileArgoCD struct and use func getSourceNamespaces to get SourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* add to reviewers (#1196)
Signed-off-by: saumeya <[email protected]>
Signed-off-by: Mangaal <[email protected]>
* fix: Operator doesn't reflect deletion of SA from repo setting (#1169)
Signed-off-by: Jayendra Parsai <[email protected]>
Co-authored-by: Jayendra Parsai <[email protected]>
Signed-off-by: Mangaal <[email protected]>
* feat: Notification service monitor (#1187)
* feat: Expose notifications controller metrics to prometheus monitoring
---------
Signed-off-by: iam-veeramalla <[email protected]>
Signed-off-by: Mangaal <[email protected]>
* Fix status operation value to allow less than 10 (#1198)
* fix logic to allow processor operation to be less than default
---------
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Mangaal <[email protected]>
* comment remove
Signed-off-by: Mangaal <[email protected]>
* fix goimports
Signed-off-by: Mangaal <[email protected]>
* undo changes in generated codes
Signed-off-by: Mangaal <[email protected]>
* Revert "comment remove"
This reverts commit c5d2f57.
Signed-off-by: Mangaal <[email protected]>
* remove comments and rename sourceNamespacemapper function to sourceNamespaceMapper
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for source namespace without wildcard
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for source namespace with wildcard pattern
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for source namespace with wildcard '*'
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for sourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* update with master branch and remove verbs from role in e2e test assert and errors
Signed-off-by: Mangaal <[email protected]>
* comment for sourceNamespaceMapper function
Signed-off-by: Mangaal <[email protected]>
* Change the variable name sourceNamespacemapper to sourceNamespaceMapper
Signed-off-by: Mangaal <[email protected]>
* Removed unwanted blank lines in this function.
Signed-off-by: Mangaal <[email protected]>
* adeed comment for sourceNamespaceFilterPredicate and getSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* adding a new variable in ReconcileArgoCD struct call SourceNamespaces which store all the SourceNamespaces defined in Argocd Spec. sourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* range r.SourceNamespaces instead of cr.Spec.SourceNamespaces, cr.Spec.SourceNamespaces might contain wildcard which will lead to error i.e. Namespace * not found
Signed-off-by: Mangaal <[email protected]>
* range r.SourceNamespaces instead of cr.Spec.SourceNamespaces, cr.Spec.SourceNamespaces might contain wildcard which will lead to error i.e. Namespace * not found
Signed-off-by: Mangaal <[email protected]>
* adding func containsWildcard
Signed-off-by: Mangaal <[email protected]>
* adding func setManagedNamespaces
Signed-off-by: Mangaal <[email protected]>
* range r.SourceNamespaces instead of cr.Spec.SourceNamespaces, cr.Spec.SourceNamespaces might contain wildcard which will lead to error i.e. Namespace * not found
Signed-off-by: Mangaal <[email protected]>
* adding unit test for func setSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* adding unit test for func sourceNamespacemapper
Signed-off-by: Mangaal <[email protected]>
* update unit test for func reconcileRoleForApplicationSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* update func SetupWithManager to watch newly created ns
Signed-off-by: Mangaal <[email protected]>
* adding func sourceNamespacemapper which filter newly created ns
Signed-off-by: Mangaal <[email protected]>
* update func setResourceWatches to watch newly created ns. added func sourceNamespaceFilterPredicate
Signed-off-by: Mangaal <[email protected]>
* go.mod/go.sum
Signed-off-by: Mangaal <[email protected]>
* unit tests func update
Signed-off-by: Mangaal <[email protected]>
* adding func getSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* adding unit test for func getSourceNamespaces. TestGetSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* remove SourceNamespaces from ReconcileArgoCD struct and use func getSourceNamespaces to get SourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* Fix status operation value to allow less than 10 (#1198)
* fix logic to allow processor operation to be less than default
---------
Signed-off-by: Anand Kumar Singh <[email protected]>
Signed-off-by: Mangaal <[email protected]>
* comment remove
Signed-off-by: Mangaal <[email protected]>
* fix goimports
Signed-off-by: Mangaal <[email protected]>
* undo changes in generated codes
Signed-off-by: Mangaal <[email protected]>
* Revert "comment remove"
This reverts commit c5d2f57.
Signed-off-by: Mangaal <[email protected]>
* remove comments and rename sourceNamespacemapper function to sourceNamespaceMapper
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for source namespace without wildcard
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for source namespace with wildcard pattern
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for source namespace with wildcard '*'
Signed-off-by: Mangaal <[email protected]>
* e2e test to valitade role and rolebinding for sourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* update with master branch and remove verbs from role in e2e test assert and errors
Signed-off-by: Mangaal <[email protected]>
* comment for sourceNamespaceMapper function
Signed-off-by: Mangaal <[email protected]>
* Change the variable name sourceNamespacemapper to sourceNamespaceMapper
Signed-off-by: Mangaal <[email protected]>
* Removed unwanted blank lines in this function.
Signed-off-by: Mangaal <[email protected]>
* adeed comment for sourceNamespaceFilterPredicate and getSourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* resolve merge conficts
Signed-off-by: Mangaal <[email protected]>
* resolve merge conficts
Signed-off-by: Mangaal <[email protected]>
* removed unwanted blank lines
Signed-off-by: Mangaal <[email protected]>
* removed unwanted blank lines
Signed-off-by: Mangaal <[email protected]>
* added unit test cases for getSourceNamespaces and sourceNamespaceMapper func
Signed-off-by: Mangaal <[email protected]>
* added unit test for multiple sourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* added e2e test for multiple sourceNamespaces
Signed-off-by: Mangaal <[email protected]>
* eremoved extra lines from sourceNamespaceMapper
Signed-off-by: Mangaal <[email protected]>
* documentation for supporting wildcard
Signed-off-by: Mangaal <[email protected]>
* documentation for supporting wildcard
Signed-off-by: Mangaal <[email protected]>
* documentation for supporting wildcard
Signed-off-by: Mangaal <[email protected]>
* documentation for supporting wildcard and Link for Allowing additional namespaces in an AppProject
Signed-off-by: Mangaal <[email protected]>
* remove placeholder code
Signed-off-by: Mangaal <[email protected]>
* removed additional lines
Signed-off-by: Mangaal <[email protected]>
* remote extra watch on namespace resource
Signed-off-by: Mangaal <[email protected]>
* remote sourceNamespaceFilterPredicate func
Signed-off-by: Mangaal <[email protected]>
* update TestReconcileApplicationSet_Deployments_Command func. getSourceNamespaces expect ns must exist
Signed-off-by: Mangaal <[email protected]>
* remove extra lines
Signed-off-by: Mangaal <[email protected]>
* small update on documentation
Signed-off-by: Mangaal <[email protected]>
* remove extra lines
Signed-off-by: Mangaal <[email protected]>
* remove extra lines
Signed-off-by: Mangaal <[email protected]>
* add e2e test to validate labels,role and rolebinding,after removing namespace from sourcenamespace
Signed-off-by: Mangaal <[email protected]>
* update e2e test to check for labels in ns which is in sourceNamespace
Signed-off-by: Mangaal <[email protected]>
---------
Signed-off-by: Mangaal <[email protected]>
Signed-off-by: saumeya <[email protected]>
Signed-off-by: Jayendra Parsai <[email protected]>
Signed-off-by: iam-veeramalla <[email protected]>
Signed-off-by: Anand Kumar Singh <[email protected]>
Co-authored-by: Saumeya Katyal <[email protected]>
Co-authored-by: Jayendra Parsai <[email protected]>
Co-authored-by: Jayendra Parsai <[email protected]>
Co-authored-by: Abhishek Veeramalla <[email protected]>
Co-authored-by: Anand Kumar Singh <[email protected]>
0 commit comments