1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules
Anand R 67eabe4069 typo fix nw-networkpolicy-about.adoc
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:""
2023-10-03 15:35:15 +00:00
..
2023-10-02 15:00:45 +00:00
2023-09-29 18:07:43 +00:00