[EV-6485] fix(istio): set correct CA_TRUSTED_NODE_ACCOUNTS namespace on OpenShift#4538
Open
electricjesus wants to merge 1 commit intorelease-v1.40from
Open
[EV-6485] fix(istio): set correct CA_TRUSTED_NODE_ACCOUNTS namespace on OpenShift#4538electricjesus wants to merge 1 commit intorelease-v1.40from
electricjesus wants to merge 1 commit intorelease-v1.40from
Conversation
…ft [EV-6485] (#4510) The embedded Istio Helm chart's OpenShift platform profile hardcodes trustedZtunnelNamespace to "kube-system", but the operator deploys ztunnel to calico-system. This causes istiod to reject ztunnel impersonation requests, preventing certificate issuance for ambient mesh workloads and breaking all mesh traffic with connection resets. Explicitly set trustedZtunnelNamespace in the istiod Helm values to IstioNamespace (calico-system) so it overrides the profile default.
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.
Summary
trustedZtunnelNamespace: "kube-system", but the operator deploys ztunnel tocalico-systemCA_TRUSTED_NODE_ACCOUNTS=kube-system/ztunnel, so it rejects all ztunnel impersonation requests with"request impersonation authentication failure"trustedZtunnelNamespacein the istiod Helm values toIstioNamespace(calico-system), overriding the OpenShift profile defaultChanges
pkg/render/istio/config.go: AddTrustedZtunnelNamespacefield toIstiodOptsstructpkg/render/istio/istio.go: SetTrustedZtunnelNamespace: IstioNamespacein istiod chart valuespkg/render/istio/istio_test.go: Update OpenShift test assertion fromkube-system/ztunneltocalico-system/ztunnelRelease Note
Fixes: https://tigera.atlassian.net/browse/EV-6485
Test plan
CA_TRUSTED_NODE_ACCOUNTS=calico-system/ztunnelon istiod