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

Support Secret References in Subscription Recipients #350

Open
yanp opened this issue Dec 30, 2024 · 0 comments
Open

Support Secret References in Subscription Recipients #350

yanp opened this issue Dec 30, 2024 · 0 comments

Comments

@yanp
Copy link

yanp commented Dec 30, 2024

Currently we can reference secrets in service configurations using the $secret-name syntax, but it is not available for subscription recipients. This makes it difficult to manage recipient information (like private Slack channels or distribution lists) through K8s secrets.

Current Behavior

  • Service Configurations: Support referencing secrets using $secret-name syntax.
    Example:
    service.slack: |
      token: $slack-token
  • Subscriptions: Do not support secret references. Recipient information (e.g., Slack channels, email distribution lists) must be hardcoded.
    Example:
    subscriptions: |
      recipients:
        slack: private-channel-name  # Hardcoded
        email: team-list@company.com  # Hardcoded

Desired Behavior

  • Extend secret reference functionality to subscription recipients.
    Example:
    subscriptions: |
      recipients:
        slack: $slack-channel
        email: $team-email

Use Cases

  • Storing private/sensitive recipient information (e.g., Slack channels) in secrets.
  • Managing different recipients per environment using secrets.
  • Centralizing recipient management alongside other configurations.
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

No branches or pull requests

1 participant