* Allow notifications controller to notify on all namespaces
This adds functionality to the notifications controller to be notified
of and send notifications for applications in any namespace. The
namespaces to watch are controlled by the same --application-namespaces
and ARGOCD_APPLICATION_NAMESPACES variables as in the application
controller.
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au>
* Add SEEK to users.md
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au>
* Remove unused fields
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au>
* Revert changes to Procfile
Signed-off-by: Nik Skoufis <n.skoufis@gmail.com>
* Fix unit tests
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au>
* - add argocd namespaces environment variable to notifications controller
Signed-off-by: Stewart Thomson <sthomson@wynshop.com>
* - add example cluster role rbac
Signed-off-by: Stewart Thomson <sthomson@wynshop.com>
* - only look for projects in the controller's namespace (argocd by default)
Signed-off-by: Stewart Thomson <sthomson@wynshop.com>
* - update base manifest
Signed-off-by: Stewart Thomson <sthomson@wynshop.com>
* - skip app processing in notification controller
Signed-off-by: Stewart Thomson <sthomson@wynshop.com>
* added unit test and updated doc
Signed-off-by: May Zhang <may_zhang@intuit.com>
* added unit test and updated doc
Signed-off-by: May Zhang <may_zhang@intuit.com>
* updated examples/k8s-rbac/argocd-server-applications/kustomization.yaml's resources
Signed-off-by: May Zhang <may_zhang@intuit.com>
---------
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au>
Signed-off-by: Nik Skoufis <n.skoufis@gmail.com>
Signed-off-by: Stewart Thomson <sthomson@wynshop.com>
Signed-off-by: May Zhang <may_zhang@intuit.com>
Co-authored-by: Nikolas Skoufis <nskoufis@seek.com.au>
Co-authored-by: Nik Skoufis <n.skoufis@gmail.com>
Co-authored-by: Stewart Thomson <sthomson@wynshop.com>
* Adding unit tests for the Init function: for the notification controller
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* Adding unit tests for getAppProj function: for the notification controller
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* fixing linting errors for indexer.Add in build
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* rm appProj test(s) to assess linting issue
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* adding first test case for getAppProj
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* add happy path for getAppProj func()
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* updating test function to reduce duplication
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* sanity test fot getAppProj: rm test struct pattern to test generic scenarios
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* verifies that getAppProj gracefully handles input with missing "project" field and returns nil
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* chore: isAppSyncStatusRefreshed test for improved coverage
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
---------
Signed-off-by: zhaque44 <haque.zubair@gmail.com>