Skip to content

[chart/v1-2x-test] Allow configuring key names in database credential secrets (#69954) - #70646

Merged
Miretpl merged 1 commit into
chart/v1-2x-testfrom
backport-dc75103-chart/v1-2x-test
Jul 28, 2026
Merged

[chart/v1-2x-test] Allow configuring key names in database credential secrets (#69954)#70646
Miretpl merged 1 commit into
chart/v1-2x-testfrom
backport-dc75103-chart/v1-2x-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Allow configuring key names in database credential secrets

The chart hardcoded 'key: connection' in the secretKeyRef for the metadata, result backend, and broker URL env vars, so externally managed secrets using a different key (e.g. CloudNativePG's 'uri') could not be used with metadataSecretName and friends.

Add data.metadataSecretKey, data.resultBackendSecretKey and data.brokerUrlSecretKey, defaulting to 'connection'. The custom key only applies when the corresponding *SecretName is provided, since chart-created secrets always write the 'connection' key.

  • Address review comments: clarify values and docs wording
    (cherry picked from commit dc75103)

Co-authored-by: Preetham Sanji 141400461+PreethamSanji@users.noreply.github.com

… secrets (#69954)

* Allow configuring key names in database credential secrets

The chart hardcoded 'key: connection' in the secretKeyRef for the metadata, result backend, and broker URL env vars, so externally managed secrets using a different key (e.g. CloudNativePG's 'uri') could not be used with metadataSecretName and friends.

Add data.metadataSecretKey, data.resultBackendSecretKey and data.brokerUrlSecretKey, defaulting to 'connection'. The custom key only applies when the corresponding *SecretName is provided, since chart-created secrets always write the 'connection' key.

* Address review comments: clarify values and docs wording
(cherry picked from commit dc75103)

Co-authored-by: Preetham Sanji <141400461+PreethamSanji@users.noreply.github.com>
@Miretpl
Miretpl marked this pull request as ready for review July 28, 2026 21:22
@Miretpl
Miretpl merged commit 509c2fe into chart/v1-2x-test Jul 28, 2026
3 checks passed
@Miretpl
Miretpl deleted the backport-dc75103-chart/v1-2x-test branch July 28, 2026 21:23
@Miretpl Miretpl added this to the Airflow Helm Chart 1.23.0 milestone Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants