mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-03-22 05:39:51 +00:00
fix(rook-ceph): netpol allow CNPG to RGW
Signed-off-by: JJGadgets <git@jjgadgets.tech>
This commit is contained in:
@@ -23,11 +23,8 @@ spec:
|
||||
- toCIDRSet:
|
||||
- cidr: "${IP_PVE_CEPH_CIDR}"
|
||||
# k8s apiserver
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: default
|
||||
component: apiserver
|
||||
provider: kubernetes
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
---
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
@@ -48,6 +45,21 @@ spec:
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6953"
|
||||
# allow CNPG to connect
|
||||
- fromEndpoints:
|
||||
- matchExpressions:
|
||||
- key: cnpg.io/cluster
|
||||
operator: Exists
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6953"
|
||||
protocol: TCP
|
||||
- port: "6953"
|
||||
protocol: UDP
|
||||
- port: "8080"
|
||||
protocol: TCP
|
||||
- port: "8080"
|
||||
protocol: UDP
|
||||
egress:
|
||||
# ingress controller webhook admission
|
||||
- toServices:
|
||||
|
||||
Reference in New Issue
Block a user