Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROX-23749: allow indexer and scanner egress to kube API #1886

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ spec:
cidr: ::/0
except:
{{- include "localNetworkCidrRangesIPv6" . | nindent 14 }}
- to: # Allow egress to Kube API for mTLS setup for OpenShift monitoring
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: openshift-kube-apiserver
podSelector:
matchLabels:
app: openshift-kube-apiserver
ports:
- port: 443
protocol: TCP
vladbologa marked this conversation as resolved.
Show resolved Hide resolved
- port: 6443
protocol: TCP
policyTypes:
- Ingress
- Egress
Expand Down Expand Up @@ -100,6 +112,18 @@ spec:
ports:
- port: 8443
protocol: TCP
- to: # Allow egress to Kube API for mTLS setup for OpenShift monitoring
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: openshift-kube-apiserver
podSelector:
matchLabels:
app: openshift-kube-apiserver
ports:
- port: 443
protocol: TCP
- port: 6443
protocol: TCP
policyTypes:
- Ingress
- Egress
Expand Down
Loading