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

Add object kind to messages #124

Merged
merged 2 commits into from
Jan 20, 2021

Conversation

somtochiama
Copy link
Member

@somtochiama somtochiama commented Jan 19, 2021

This pull request adds the object kind of the source of the notification to the message.
The format is <kind>/<name>.<namespaces>
Fixes #120

Signed-off-by: Somtochi Onyekwere somtochionyekwere@gmail.com

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
@phillebaba
Copy link
Member

phillebaba commented Jan 19, 2021

Should we mimic the current implementation of the git notifications? In those providers the kind is already included and we lowercase all of the text.

 kustomization/apps-dev — reconciliation succeeded

@somtochiama
Copy link
Member Author

Should we mimic the current implementation of the git notifications? In those providers the kind is already included and we lowercase all of the text.

 kustomization/apps-dev — reconciliation succeeded

@stefanprodan What do you think? We should definitely maintain a consistent format

@stefanprodan
Copy link
Member

Yes the kind should be lowercase, this is also consistent with kustomize-controller apply logs.

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @somtochiama

@stefanprodan stefanprodan merged commit 9d4ef07 into fluxcd:main Jan 20, 2021
@somtochiama somtochiama deleted the object-kind-messages branch March 3, 2021 06: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.

Adding object kind to notifications
3 participants