-
Notifications
You must be signed in to change notification settings - Fork 204
Enable to filter suggested applications when you add an application from controlplane #3320
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
Conversation
|
Code coverage for golang is
|
docs/content/en/docs-dev/operator-manual/piped/configuration-reference.md
Outdated
Show resolved
Hide resolved
|
Nice. Just a nit about the release note:
|
…eference.md Co-authored-by: Le Van Nghia <[email protected]>
|
Code coverage for golang is
|
|
Thank you. |
| | eventWatcher | [EventWatcher](/docs/operator-manual/piped/configuration-reference/#eventwatcher) | Optional Event watcher settings. | No | | ||
| | secretManagement | [SecretManagement](/docs/operator-manual/piped/configuration-reference/#secretmanagement) | The using secret management method. | No | | ||
| | notifications | [Notifications](/docs/operator-manual/piped/configuration-reference/#notifications) | Sending notifications to Slack, Webhook... | No | | ||
| | appSelector | map[string]string | List of labels to filter all applications this piped will handle. Currently, it is only be used to filter the applications suggested for adding from the control plane. | No | |
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.
not really related to this pull but I just realized that this is List of ... so should we change the name as appSelectors?
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 is based on k8s selector.
But it seems good to combine appSelectors with labels. wdyt?
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.
Then it will be appLabelsSelector right? 😄
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.
on the second thought, I guess labels is unnecessary, so I think we should keep it as is. Sorry for the interruption 🙏
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.
Umm.., It took me a while to think appSelector is okay.
Do you feel a bit strange?
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.
Yep, so lets keep it as is, thank you 🙌
|
Nice work, thanks |
What this PR does / why we need it:
If you want piped to monitor only certain applications,
appSelectoris useful.If not specified, all application will be suggested when you add an application.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: