Document updating the trust bundle ConfigMap when rotating certs via kubectl#5249
Open
MyMirelHub wants to merge 2 commits into
Open
Document updating the trust bundle ConfigMap when rotating certs via kubectl#5249MyMirelHub wants to merge 2 commits into
MyMirelHub wants to merge 2 commits into
Conversation
MyMirelHub
force-pushed
the
docs-mtls-kubectl-configmap
branch
from
July 15, 2026 11:41
eb6a58a to
11f673d
Compare
Signed-off-by: MyMirelHub <15373565+MyMirelHub@users.noreply.github.com>
MyMirelHub
force-pushed
the
docs-mtls-kubectl-configmap
branch
from
July 15, 2026 11:46
11f673d to
ce479af
Compare
MyMirelHub
marked this pull request as ready for review
July 15, 2026 11:47
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.
Description
The
kubectlcertificate-update steps under "Custom certificates (bring your own)" only update thedapr-trust-bundleSecret. The trust bundle also lives in adapr-trust-bundleConfigMap (public root cert), and Sentry validates the two as a pair: if the ConfigMap'sca.crtdoesn't match the Secret's, Sentry discards the bundle and silently regenerates a self-signed 1-year CA, overwriting the user's certificates. This also breaks the section's zero-downtime promise whenever the root cert changes — even when signed with the same private key.This PR restructures that passage into numbered steps (matching the sibling self-signed subsection):
Root and issuer certs not found: generating self signed CA), since the failure is otherwise silentOnly the manual-
kubectlpath is affected; Helm anddapr mtls renew-certificateupdate both objects atomically.Issue reference
Fixes #5248
Checklist
pkg/sentry/server/ca/kube.go(v1.14.4 andmaster)