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
TMC allows for not defining a pod selector to apply a network policy to which in turn means it applies to all pods in the relevant namespace/workspace. the TMC resource requires supplying the to_pod_labels field and it is a map type, however when providing an empty map eg to_pod_labels = {} this fails as well as it complains about requiring the data structure to be an array in the API but it is being passed a value of null.
Describe the bug
TMC allows for not defining a pod selector to apply a network policy to which in turn means it applies to all pods in the relevant namespace/workspace. the TMC resource requires supplying the to_pod_labels field and it is a map type, however when providing an empty map eg
to_pod_labels = {}
this fails as well as it complains about requiring the data structure to be an array in the API but it is being passed a value of null.Reproduction steps
to_pod_labels = {}
Expected behavior
network policy should allow not specifying the to_pod_labels and or allow an empty selector
Additional context
No response
The text was updated successfully, but these errors were encountered: