mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
67eabe40691530ee370d5a4c1c8ef700bb7f6ec2
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:""
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
= OpenShift Documentation Welcome to the OpenShift documentation GitHub repository. To contribute to OpenShift docs, see https://github.com/openshift/openshift-docs/blob/master/contributing_to_docs/contributing.adoc
Description
Languages
HTML
33.5%
CSS
24%
Python
23.6%
JavaScript
10.8%
Shell
7%
Other
0.9%