Skip to content

Commit f110536

Browse files
committed
Add networkpolicy for Keycloak
1 parent 6272cd7 commit f110536

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎packages/apps/tenant/templates/networkpolicy.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@ spec:
159159
---
160160
apiVersion: cilium.io/v2
161161
kind: CiliumNetworkPolicy
162+
metadata:
163+
name: allow-to-keycloak
164+
namespace: {{ include "tenant.name" . }}
165+
spec:
166+
endpointSelector: {}
167+
egress:
168+
- toEndpoints:
169+
- matchLabels:
170+
"k8s:io.kubernetes.pod.namespace": cozy-keycloak
171+
---
172+
apiVersion: cilium.io/v2
173+
kind: CiliumNetworkPolicy
162174
metadata:
163175
name: allow-to-cdi-upload-proxy
164176
namespace: {{ include "tenant.name" . }}

0 commit comments

Comments
 (0)