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

fix SMS provider huawei: support more placeholders #94

Merged

Conversation

zhu733756
Copy link
Contributor

Signed-off-by: zhu733756 [email protected]

  • support more placeholders

/cc @wanjunlei @benjaminhuo

@zhu733756 zhu733756 force-pushed the support-for-huaweicloud-sms branch from c747966 to 5392fde Compare August 2, 2021 01:57
README.md Outdated
For a detailed description, if you have a template like this:
```
[KubeSphere alerts] alertname = ${TEXT}, alerttype = ${TEXT}, severity = ${TEXT}, message = ${TEXT}, summary = ${TEXT}
[KubeSphere alerts] alertname = ${TEXT}, alerttype = ${TEXT}, node = ${TEXT}, namespace = ${TEXT}, pod = ${TEXT}, cluster = ${TEXT}, workload = ${TEXT}, severity = ${TEXT}, message = ${TEXT}, summary = ${TEXT}
Copy link
Member

@benjaminhuo benjaminhuo Aug 2, 2021

Choose a reason for hiding this comment

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

The order could be adjusted like below to put the most important messages to the front and rearrange the labels in a more logical way:

alertname = ${TEXT}, severity = ${TEXT}, message = ${TEXT}, summary = ${TEXT}, alerttype = ${TEXT}, cluster = ${TEXT}, node = ${TEXT}, namespace = ${TEXT}, workload = ${TEXT}, pod = ${TEXT}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@benjaminhuo benjaminhuo requested a review from wanjunlei August 2, 2021 02:41
@benjaminhuo benjaminhuo merged commit 303a1c1 into kubesphere:master Aug 2, 2021
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.

2 participants