diff --git a/openshift/release/download_release_artifacts.sh b/openshift/release/download_release_artifacts.sh index 3cde7a013e..58bb02ba50 100755 --- a/openshift/release/download_release_artifacts.sh +++ b/openshift/release/download_release_artifacts.sh @@ -41,7 +41,6 @@ function resolve_file() { } readonly YAML_OUTPUT_DIR="openshift/release/artifacts/" -readonly NETWORK_POLICY_YAML=${YAML_OUTPUT_DIR}/net-istio-netpolicies-mesh.yaml readonly NET_ISTIO_YAML=${YAML_OUTPUT_DIR}/net-istio-core.yaml readonly patches_path="${SCRIPT_DIR}/../patches" @@ -54,4 +53,3 @@ git apply -R "${patches_path}"/* || true git apply "${patches_path}"/* resolve_resources "config/" "$NET_ISTIO_YAML" -resolve_resources "openshift/release/extra/" "$NETWORK_POLICY_YAML" diff --git a/openshift/release/extra/net-istio-netpolicies-mesh.yaml b/openshift/release/extra/net-istio-netpolicies-mesh.yaml deleted file mode 100644 index ceef9b420c..0000000000 --- a/openshift/release/extra/net-istio-netpolicies-mesh.yaml +++ /dev/null @@ -1,48 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: webhook - labels: - app: webhook - app.kubernetes.io/version: devel - networking.knative.dev/ingress-provider: istio -spec: - podSelector: - matchLabels: - app: webhook - ingress: - - {} ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: net-istio-webhook - labels: - app: net-istio-webhook - app.kubernetes.io/version: devel - networking.knative.dev/ingress-provider: istio -spec: - podSelector: - matchLabels: - app: net-istio-webhook - ingress: - - {} ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-from-openshift-monitoring-ns - namespace: knative-serving - labels: - app.kubernetes.io/version: devel - networking.knative.dev/ingress-provider: istio -spec: - ingress: - - from: - - namespaceSelector: - matchLabels: - kubernetes.io/metadata.name: "openshift-monitoring" - podSelector: {} - policyTypes: - - Ingress ----