-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add namespace label filter #151
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
base: main
Are you sure you want to change the base?
Changes from all commits
3f40660
edbc21a
436de77
ff85926
9ef8d40
276e609
60f53e6
d98b479
c91f064
f5a3acb
f3610ea
19a7185
2299d7c
5dd0efa
acdac47
29f9408
5912354
d3944f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ API_KEY: "Random APIKEY", | |
|
|
||
| type ControllerConfig struct { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason why we don't extract the common fields into their own shared config? Or why not have 1 config struct?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The controller and scheduler were designed to be as loosely coupled as possible, so we didn't want to mix the configs. It would also be too unnecessarily complicated to create another struct for just a few values. |
||
| Namespace string | ||
| NsLabel string | ||
| TimeLabel string | ||
| NotifLabel string | ||
| TimeFormat string | ||
|
|
@@ -38,6 +39,7 @@ type ControllerConfig struct { | |
|
|
||
| type SchedulerConfig struct { | ||
| Namespace string | ||
| NsLabel string | ||
| TimeLabel string | ||
| NotifLabel string | ||
| TimeFormat string | ||
|
|
||
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 git diff looks weird but all I've done is wrap the red code inside the block above