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

[Feature]: Add a field for a secret to the Sink Type #316

Closed
wants to merge 5 commits into from

Conversation

phillipahereza
Copy link
Contributor

PR is the same as #313 that was accidentally deleted 🤦

Closes #309

📑 Description

This change allows developers to configure the sink with secrets.
Additionally, it allows developers to create sinks where the authentication is separate from the endpoint.

apiVersion: core.k8sgpt.ai/v1alpha1
kind: K8sGPT
metadata:
  name: k8sgpt
  namespace: gpt
spec:
  ai:
    enabled: true
    backend: noopai
  sink:
    type: slack
    secret:
      name: slack-webhook
      key: url

✅ 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 PR breaks/affects #303

phillipahereza and others added 5 commits January 11, 2024 19:10
…itionally, it allows developers to create sinks where the authentication is separate from the endpoint

Signed-off-by: Phillip Ahereza <pahereza@gmail.com>
Signed-off-by: Phillip Ahereza <pahereza@gmail.com>
Signed-off-by: Phillip Ahereza <pahereza@gmail.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Phillip Ahereza <pahereza@gmail.com>
* feat: add mattermost sink

Signed-off-by: tozastation <tozastation@gmail.com>

* feat: add mattermost sink on README.md

Signed-off-by: tozastation <tozastation@gmail.com>

---------

Signed-off-by: tozastation <tozastation@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
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.

[Feature]: Add a field for a secret to the Sink Type
2 participants