feat: Add flexible PagerDuty configuration via values.yaml or Kubernetes secrets #1838
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds flexible PagerDuty configuration options to the Sentry Helm chart, allowing users to configure PagerDuty integration either directly through values.yaml or by referencing existing Kubernetes secrets.
Changes Made
1. Enhanced PagerDuty Configuration Options
pagerduty.appId
directly in values.yaml for simple deploymentspagerduty.existingSecret
to reference existing Kubernetes secrets containing PagerDuty credentialspagerduty.existingSecretAppId
(defaults to "app-id")2. Template Updates
_helper-sentry.tpl
: Added logic to handle both configuration methods_helper.tpl
: Added environment variable injection for secret-based configuration3. Configuration Examples
Benefits
Documentation
Updated values.yaml with comprehensive examples and references to Sentry's PagerDuty integration documentation.