Skip to content

Commit a780ec7

Browse files
committed
fix kk-configure
1 parent 21c291c commit a780ec7

2 files changed

Lines changed: 25 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
@@ -180,4 +180,16 @@ spec:
180180
- toEndpoints:
181181
- matchLabels:
182182
cozystack.io/service: ingress
183+
---
184+
apiVersion: cilium.io/v2
185+
kind: CiliumNetworkPolicy
186+
metadata:
187+
name: allow-to-keycloak
188+
namespace: {{ include "tenant.name" . }}
189+
spec:
190+
endpointSelector: {}
191+
egress:
192+
- toEndpoints:
193+
- matchLabels:
194+
"k8s:io.kubernetes.pod.namespace": cozy-keycloak
183195
{{- end }}

‎packages/system/keycloak-configure/templates/configure-kk.yaml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,16 @@ data:
174174
- --cookie-secure=false
175175
- --scope=openid email groups
176176
- --oidc-issuer-url=https://keycloak.{{ $host }}/realms/cozy
177+
178+
---
179+
180+
apiVersion: v1.edp.epam.com/v1
181+
kind: KeycloakRealmGroup
182+
metadata:
183+
name: kubeapps-admin
184+
namespace: cozy-dashboard
185+
spec:
186+
name: kubeapps-admin
187+
realmRef:
188+
name: keycloakrealm-cozy
189+
kind: ClusterKeycloakRealm

0 commit comments

Comments
 (0)