You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happens on Kiali master.
Start the Kiali when K8s GW CRDs are not created.
Apply K8s GW CRDs.
Immediately refresh the Kiali page.
Runtime panic nil pointer error in logs, on any of those methods kube_cache.GetK8sGateways.
Happens on Kiali master.
Start the Kiali when K8s GW CRDs are not created.
Apply K8s GW CRDs.
Immediately refresh the Kiali page.
Runtime panic nil pointer error in logs, on any of those methods
kube_cache.GetK8sGateways
.This is because the
userClient.IsGatewayAPI()
return 'true' when the CRDs exist, but in fact thek8sgatewayLister
was not created while starting the Kiali first time.https://github.com/kiali/kiali/blob/master/kubernetes/cache/kube_cache.go#L397
And any call to
k8sgatewayLister
causes nil error.https://github.com/kiali/kiali/blob/master/kubernetes/cache/kube_cache.go#L1504
The text was updated successfully, but these errors were encountered: