linkerd2
linkerd2 copied to clipboard
Helm upgrade always changing due to trust root?
What is the issue?
#4017 was closed as solved, but if I understand the issue properly I am still having the same problem.
Running helm upgrade ...
directly after running helm install ...
, i.e. without any changes due to helm chart versions etc., always does something and is not idempotent.
How can it be reproduced?
Run this command:
helm install linkerd-control-plane -n linkerd \
--set-file identityTrustAnchorsPEM=ca.crt \
--set-file identity.issuer.tls.crtPEM=issuer.crt \
--set-file identity.issuer.tls.keyPEM=issuer.key \
linkerd/linkerd-control-plane
Then immediately run this command (that uses upgrade
instead of install
):
helm upgrade linkerd-control-plane -n linkerd \
--set-file identityTrustAnchorsPEM=ca.crt \
--set-file identity.issuer.tls.crtPEM=issuer.crt \
--set-file identity.issuer.tls.keyPEM=issuer.key \
linkerd/linkerd-control-plane
You end up with changes and two versions in the helm history, even though nothing should have changed. The files are the same, no chart updates have been found in the mean time.
Logs, error output, etc
Only the normal helm output when a chart is being installed/updated.
output of linkerd check -o short
Status check results are √
Environment
- Kubernetes v1.29.5+k3s1
Possible solution
No response
Additional context
No response
Would you like to work on fixing this bug?
None