Repository navigation
[Automated] Draft docs (kagent): controller/push: preserve signing key handoffs across restarts - #770
Merged
Merged
Conversation
…y handoffs across restarts Signed-off-by: GitHub Action <action@github.com>
Contributor
Author
Docs preview
Both are uploaded Worker versions and serve no production traffic. |
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Rachael-Graham
approved these changes
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The target's own content scan fails where the base build passed (docs-theme-extras
markdown-leaks/built-html-integrity):kagent-dev/kagent#3782 — controller/push: preserve signing key handoffs across restarts
Docs versions:
mainNo code-path rule covers 6 touched file(s). The planner could route these only by identifier search, so the candidate pages may miss what they changed, including in the other mode:
go/api/gen/kagent/config/v1/config.pb.gogo/core/cmd/controller/main.gogo/core/internal/service/session/push_jwt.gogo/core/pkg/app/app.gogo/core/pkg/config/defaults.goproto/kagent/config/v1/config.protoWhat changes for users: Operators can rotate push notification signing keys without losing the activation delay across controller restarts by setting
controller.push.signing.previousSecretNameorconfig.push.previousSigningPrivateKeyFile. The current key still usescontroller.push.signing.secretNameorconfig.push.signingPrivateKeyFile, and the delay remainsconfig.push.signingKeyActivationDelayplus the fixed 30-second buffer.What the docs now say: The operational considerations page now shows a push-signing rotation workflow, documents the previous-key fields, and replaces the old warning that all controller replicas must restart on one key.
How
kagent-3782was draftedPlan, and what changed it
operational-considerations.mdalready owns push notification signing and contained the stale all-replicas restart warning;upgrade-from-0x.mdandinstallation.mdare broader workflows.operational-considerations.mdwith the previous-key fields, a rotation procedure, and the new restart behavior.Why a documentation change is necessary
The pull request adds
controller.push.signing.previousSecretNameandconfig.push.previousSigningPrivateKeyFileso a controller that restarts during a signing-key rotation can keep signing with the previous key until the activation delay finishes. The existing operational page documented push notification signing, but told readers to restart all controller pods on the same key because replicas on different keys published different JWKS responses. That statement is no longer correct for the configured handoff path.How to verify this change
controller.push.signing.secretName,controller.push.signing.previousSecretName, andconfig.push.signingKeyActivationDelayset.kubectl rollout status deployment/kagent-controller -n kagent --timeout=300s; the rollout should finish successfully.kagent-controllerConfigMap; it should includesigningPrivateKeyFile: /etc/kagent/secrets/push-private-key.pemandpreviousSigningPrivateKeyFile: /etc/kagent/secrets/push-previous-private-key.pem./.well-known/jwks.jsonfrom the controller endpoint; the response should include the previous public key and the new public key.Proposed release note
Push signing key rotation can preserve the activation delay across controller restarts when a previous key is configured.
Files in this pull request
docs-site/content/kagent/main/operations/operational-considerations.mdHow the pages were chosen (triage report)
New configuration: no page mentions it yet
kagent-dev/kagent#3782 — controller/push: preserve signing key handoffs across restarts
kagent-dev/websitego/api/gen/kagent/config/v1/config.pb.gogo/core/cmd/controller/main.gogo/core/internal/service/session/push_jwt.gogo/core/pkg/app/app.gogo/core/pkg/config/defaults.goproto/kagent/config/v1/config.protoDraft branch:
pr-tracker-draft-kagent-3782Important
The test suite has not run on this pull request. It was opened by
github-actions[bot], and GitHub does not start workflows for pull requests opened with the repository's own token. This repository's checks are held asaction_requireduntil somebody presses Approve and run on the Checks tab. Checks that come from GitHub Apps rather than Actions, such as DCO, run on their own.Please approve the checks before reviewing the content: an absence of failures here means the tests have not run, not that they passed.