One of the network policy examples has incorrect indentation in its YAML. See fix in https://github.com/openshift/console/pull/1603
Network Policy example 'web-allow-production' has correct indentation apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: web-allow-production namespace: yapei1 spec: podSelector: matchLabels: app: web ingress: - from: - namespaceSelector: matchLabels: env: production Verified on 4.1.0-0.nightly-2019-06-20-015058
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1589