Closed ngearhart closed 6 months ago
This error also exists in Kiali version 1.78.0 and Istio version 1.19.6. I encountered the issue in these older versions and upgraded as far as I possibly can in my environment and saw no change.
This feature was added in Istio 1.19.0: https://istio.io/latest/news/releases/1.19.x/announcing-1.19/
We also added enhancements to security configurations. For example, you can configure OPTIONAL_MUTUAL for your Istio ingress gateway’s TLS settings, which allows optional use and validation of a client certificate.
So this should be supported by Kiali.
I'm fairly sure this is caused by Kiali not bumping the istio client libraries appropriately. When new fields get added to the istio APIs and Kiali doesn't bump the client version, it can lead to unmarshaling issues when you use those new fields. The versions were updated recently and the next release (1.84) should work with the new fields although we should confirm that and possibly backport the client bump to whatever version(s) of Kiali need to support 1.19.
@ngearhart thank you for logging the issue. As Nick confirmed the issue is gone with upcoming Kiali release v1.84. In a case of errors or issues feel free to open a discussion or log an issue here, I see you were facing this issue for a longer time.
However I have added the missing tls option into our wizards: https://github.com/kiali/kiali/pull/7318
Thank you @hhovsepy @nrfox for your help here! I will test Kiali 1.84 in my environment when it's released.
Describe the bug
When an Istio gateway has
spec.servers[*].tls.mode: OPTIONAL_MUTUAL
, Kiali will output the following then crash:Expected Behavior
What are the steps to reproduce this bug?
spec.servers[*].tls.mode: OPTIONAL_MUTUAL
enabled. For example:Environment
Learn about how to determine versions here.