Skip to content

[chart/v1-2x-test] Document how to rotate the Fernet key with the Helm chart (#70242) - #70644

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

[chart/v1-2x-test] Document how to rotate the Fernet key with the Helm chart (#70242)#70644
Miretpl merged 1 commit into
chart/v1-2x-testfrom
backport-88f95c7-chart/v1-2x-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Document how to rotate the Fernet key with the Helm chart

The Helm chart docs explained how to point at a custom Fernet key
Secret but never how to safely rotate one. The chart also generates
the Fernet key Secret via a pre-install hook, which means it cannot be
updated through helm upgrade, so a self-managed Secret plus the
standard prepend/rotate/trim procedure is required. Document that gap
so operators aren't left guessing or reverse-engineering the chart
templates.

closes: #18509

  • Address review feedback on Fernet key rotation docs

Reviewers pointed out three gaps: the plaintext-key warning didn't
explicitly say not to commit values.yaml to version control, the
kubectl-created Secret example didn't mention that it needs to be
managed as infrastructure so it survives a cluster migration or
redeploy, and the rotation steps described updating the Secret's
value without ever showing the command to do it.

Rename the newsfragment to the PR number (70242) instead of the issue
number (18509) per towncrier convention.

  • Address review feedback on Fernet key rotation docs

Tighten the wording per reviewer suggestions and drop the newsfragment,
since a docs-only addition does not need one.
(cherry picked from commit 88f95c7)

Co-authored-by: Aaryan Mahajan aaryanmhjn@gmail.com

…m chart (#70242)

* Document how to rotate the Fernet key with the Helm chart

The Helm chart docs explained how to point at a custom Fernet key
Secret but never how to safely rotate one. The chart also generates
the Fernet key Secret via a pre-install hook, which means it cannot be
updated through helm upgrade, so a self-managed Secret plus the
standard prepend/rotate/trim procedure is required. Document that gap
so operators aren't left guessing or reverse-engineering the chart
templates.

closes: #18509

* Address review feedback on Fernet key rotation docs

Reviewers pointed out three gaps: the plaintext-key warning didn't
explicitly say not to commit values.yaml to version control, the
kubectl-created Secret example didn't mention that it needs to be
managed as infrastructure so it survives a cluster migration or
redeploy, and the rotation steps described updating the Secret's
value without ever showing the command to do it.

Rename the newsfragment to the PR number (70242) instead of the issue
number (18509) per towncrier convention.

* Address review feedback on Fernet key rotation docs

Tighten the wording per reviewer suggestions and drop the newsfragment,
since a docs-only addition does not need one.
(cherry picked from commit 88f95c7)

Co-authored-by: Aaryan Mahajan <aaryanmhjn@gmail.com>
@Miretpl
Miretpl marked this pull request as ready for review July 28, 2026 21:05
@Miretpl
Miretpl merged commit d1a97e1 into chart/v1-2x-test Jul 28, 2026
2 checks passed
@Miretpl
Miretpl deleted the backport-88f95c7-chart/v1-2x-test branch July 28, 2026 21:05
@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