diff --git a/config/config.go b/config/config.go index 6692f924ca..f99ed6ea92 100644 --- a/config/config.go +++ b/config/config.go @@ -286,7 +286,7 @@ type KubernetesConfig struct { CacheDuration int `yaml:"cache_duration,omitempty"` // Enable cache for kubernetes and istio resources // TODO: Remove once all services are migrated to use the cache. - CacheEnabled bool `yaml:"cache_enabled,omitempty"` + CacheEnabled bool `yaml:"-,omitempty"` // Kiali can cache VirtualService,DestinationRule,Gateway and ServiceEntry Istio resources if they are present // on this list of Istio types. Other Istio types are not yet supported. CacheIstioTypes []string `yaml:"cache_istio_types,omitempty"`