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
While copy and pasting the example policy from the documentation, the policy creation was failed with the below error,
`Error from server (BadRequest): error when creating "host.yaml": NetworkPolicy in version "v1" cannot be handled as a NetworkPolicy: json: cannot unmarshal string into Go struct field LabelSelector.spec.ingress.from.namespaceSelector.matchLabels of type map[string]string`
There was a indentation error in spec.ingress.from.namespaceSelector.matchLabels
policy-group.network.openshift.io/ingress:""
policy-group.network.openshift.io/host-network:""
0 commit comments