Skip to content

Commit

Permalink
Fix NetworkPolicy keycloakx-infinispan is not conditional to networkP…
Browse files Browse the repository at this point in the history
…olicy.enabled

The NetworkPolicy keycloakx-infinispan is not conditional to networkPolicy.enabled https://github.com/projectsyn/component-keycloak/blob/master/component/main.jsonnet#L205. If it's the only network policy it stops the hole network traffic for Keycloak.
  • Loading branch information
Gabriel Mainberger committed Dec 8, 2022
1 parent b64d757 commit 88329f3
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 113 deletions.
2 changes: 1 addition & 1 deletion component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ local k8up_schedule =
// Define outputs below
{
'00_namespace': namespace,
[if params.replicas >= 2 then '01_networkpolicy_infinispan']: networkpolicy_infinispan,
[if params.helm_values.networkPolicy.enabled && params.replicas >= 2 then '01_networkpolicy_infinispan']: networkpolicy_infinispan,
[if params.ingress.enabled && params.helm_values.networkPolicy.enabled then '01_ingress_controller_ns_patch']: ns_patch,
'10_admin_secret': admin_secret,
'11_db_secret': db_secret,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 88329f3

Please sign in to comment.