Skip to content

feat: add K8sGPT Custom Resource name as a prefix to slack messages#221

Merged
arbreezy merged 3 commits intok8sgpt-ai:mainfrom
arbreezy:feat/add-cr-prefix-toslack
Sep 17, 2023
Merged

feat: add K8sGPT Custom Resource name as a prefix to slack messages#221
arbreezy merged 3 commits intok8sgpt-ai:mainfrom
arbreezy:feat/add-cr-prefix-toslack

Conversation

@arbreezy
Copy link
Member

Closes #

📑 Description

In order to avoid having multiple slack channels to forward messages from k8sgpt operator we add a prefix to our slack messages, so it's more transparent which k8sgpt deployment is responsible for each analysis report.
e.g naming your K8sGPT CR with the name of your clusters you can track down easier where the problem is located and using a single pane of glass aka a single slack channel.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

This was requested on slack and I think it adds value. Unfortunately is not yet feasible to discern the name of your K8s cluster from within the cluster so there is no way to add it programmatically..

Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
@arbreezy arbreezy requested review from a team as code owners September 17, 2023 12:59
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
@arbreezy arbreezy merged commit 5b5fd2f into k8sgpt-ai:main Sep 17, 2023
@arbreezy arbreezy deleted the feat/add-cr-prefix-toslack branch September 17, 2023 13:47
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