-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved search for network addresses within a given string (#355)
* Also check suffixes of value for being a network address * e2e test * A few more tests Signed-off-by: ZIV NEVO <[email protected]>
- Loading branch information
Showing
4 changed files
with
152 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
items: | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
creationTimestamp: null | ||
name: catalog-operator-netpol | ||
namespace: openshift-operator-lifecycle-manager | ||
spec: | ||
ingress: | ||
- from: | ||
- podSelector: {} | ||
ports: | ||
- port: 8443 | ||
protocol: TCP | ||
podSelector: | ||
matchLabels: | ||
app: catalog-operator | ||
policyTypes: | ||
- Ingress | ||
- Egress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
creationTimestamp: null | ||
name: collect-profiles-netpol | ||
namespace: openshift-operator-lifecycle-manager | ||
spec: | ||
egress: | ||
- ports: | ||
- port: 8443 | ||
protocol: TCP | ||
to: | ||
- podSelector: | ||
matchLabels: | ||
app: catalog-operator | ||
- ports: | ||
- port: 8443 | ||
protocol: TCP | ||
to: | ||
- podSelector: | ||
matchLabels: | ||
app: olm-operator | ||
- ports: | ||
- port: 53 | ||
protocol: UDP | ||
to: | ||
- namespaceSelector: {} | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- Egress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
creationTimestamp: null | ||
name: olm-operator-netpol | ||
namespace: openshift-operator-lifecycle-manager | ||
spec: | ||
ingress: | ||
- from: | ||
- podSelector: {} | ||
ports: | ||
- port: 8443 | ||
protocol: TCP | ||
podSelector: | ||
matchLabels: | ||
app: olm-operator | ||
policyTypes: | ||
- Ingress | ||
- Egress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
creationTimestamp: null | ||
name: packageserver-netpol | ||
namespace: openshift-operator-lifecycle-manager | ||
spec: | ||
podSelector: | ||
matchLabels: | ||
app: packageserver | ||
policyTypes: | ||
- Ingress | ||
- Egress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
creationTimestamp: null | ||
name: default-deny-in-namespace-openshift-operator-lifecycle-manager | ||
namespace: openshift-operator-lifecycle-manager | ||
spec: | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- Egress | ||
kind: NetworkPolicyList | ||
metadata: {} |