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 #313

Closed
wants to merge 3 commits into from
Closed

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

wants to merge 3 commits into from

Commits on Jan 8, 2024

  1. This change allows developers to configure the sink with secrets. Add…

    …itionally, it allows developers to create sinks where the authentication is separate from the endpoint
    
    ```yaml
    apiVersion: core.k8sgpt.ai/v1alpha1
    kind: K8sGPT
    metadata:
      name: k8sgpt
      namespace: gpt
    spec:
      ai:
        enabled: true
        backend: noopai
      sink:
        type: telegram
        webhook: https://api.telegram.org/bot
        secret:
          name: telegram-bot-token
          key: token
    ```
    
    Signed-off-by: Phillip Ahereza <pahereza@gmail.com>
    phillipahereza committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    bdcab56 View commit details
    Browse the repository at this point in the history
  2. regenerate manifests

    Signed-off-by: Phillip Ahereza <pahereza@gmail.com>
    phillipahereza committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    343546d View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    ba34f6b View commit details
    Browse the repository at this point in the history