Correct Kubernetes filtering steps if the discovery is not for all NamespacesDescriptionRunning Kubernetes discovery not for all Namespaces (like for a single Namespace or a list of Namespaces) results in the following error on step "Filter services based on the namespace":2021-11-02 10:43:30: class java.lang.String cannot be cast to class java.util.List (java.lang.String and java.util.List are in module java.base of loader 'bootstrap')java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.List (java.lang.String and java.util.List are in module java.base of loader 'bootstrap')at com.snc.sw.kb.lang.closure.MergeTableClosure.function(MergeTableClosure.java:92)at com.snc.sw.kb.lang.closure.MergeTableClosure.function(MergeTableClosure.java:33)at com.snc.sw.kb.lang.closure.IfClosure.function(IfClosure.java:50)at com.snc.sw.kb.lang.closure.IfClosure.function(IfClosure.java:14)at com.snc.sw.pattern.AbstractPatternExecutor.executeStep(AbstractPatternExecutor.java:782)at com.snc.sw.pattern.DefaultPatternExecutor.executeNormalStep(DefaultPatternExecutor.java:119)at com.snc.sw.pattern.DefaultPatternExecutor.executeStepsImpl(DefaultPatternExecutor.java:45)at com.snc.sw.pattern.DefaultPatternExecutor.executeNonConditionalLibrary(DeSteps to Reproduce 1. Install Discovery and Service Mapping Patterns plugin version 85 (November release 2021)2. Run Kubernetes discovery with a single Namespace 3. Observe the bellow error reported in the discovery log:2021-11-02 10:43:30: class java.lang.String cannot be cast to class java.util.List (java.lang.String and java.util.List are in module java.base of loader 'bootstrap')java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.List (java.lang.String and java.util.List are in module java.base of loader 'bootstrap')WorkaroundThis problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to. It is necessary to install the December 2021 release of "Discovery and Service Mapping Patterns" plugin, and then manually update all filter steps where the table name is "$namespace" to "$namespaces".Related Problem: PRB1537457