Skip to content
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

Notification Self Service Namespaced Config #191

Merged
merged 39 commits into from
Jul 12, 2023
Merged

Conversation

zachaller
Copy link
Contributor

@zachaller zachaller commented Jul 5, 2023

This PR adds support for notification engine to be able to pull it's config maps and secret information from multiple namespaces. The main driver is this is in argo rollouts we want to enable a self service model to notifications. This PR will allow argo rollouts to have notification configuration live both in the namespace of the rollouts object and the controller. It will run both notification configs.

@zachaller zachaller changed the title Self service zaller Notification Self Service Namespace Config Jul 5, 2023
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Patch coverage: 66.07% and project coverage change: +0.03 🎉

Comparison is base (71003c9) 53.53% compared to head (2264742) 53.57%.

❗ Current head 2264742 differs from pull request most recent head ba8bd6e. Consider uploading reports for the commit ba8bd6e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
+ Coverage   53.53%   53.57%   +0.03%     
==========================================
  Files          34       34              
  Lines        3026     3091      +65     
==========================================
+ Hits         1620     1656      +36     
- Misses       1166     1188      +22     
- Partials      240      247       +7     
Impacted Files Coverage Δ
pkg/services/pagerduty.go 31.42% <0.00%> (ø)
pkg/api/factory.go 54.54% <58.33%> (+0.69%) ⬆️
pkg/controller/controller.go 67.51% <81.57%> (-1.48%) ⬇️
pkg/api/config.go 51.42% <100.00%> (+0.46%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

zachaller added 7 commits July 5, 2023 13:42
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
zachaller added 3 commits July 6, 2023 14:50
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
zachaller added 7 commits July 7, 2023 08:20
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
}
return f.api, nil

if len(errors) > 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder to myself: need to discuss this with you.

@zachaller zachaller marked this pull request as ready for review July 12, 2023 13:31
Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zachaller zachaller changed the title Notification Self Service Namespace Config Notification Self Service Namespaced Config Jul 12, 2023
@zachaller zachaller merged commit 39dfcb6 into master Jul 12, 2023
@zachaller zachaller deleted the self-service-zaller branch July 12, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants