Skip to content

Commit

Permalink
fix(kubernetes): disable network policy for things
Browse files Browse the repository at this point in the history
By default these don't filter for in-cluster IPs, and our Pod IPs are
globally routable, so we don't want them to override the default Cilium
one that we deploy
  • Loading branch information
oliver-ni committed Aug 27, 2024
1 parent fe334eb commit 84acb53
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions kubernetes/core/rabbitmq-operator.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
sha256 = "8QwU58eWyWPIU2Xy4Z1Vx6TOf+CQRtjIOTx22EI4Nik=";
};

values = {
clusterOperator.networkPolicy.enabled = false;
msgTopologyOperator.networkPolicy.enabled = false;
};

includeCRDs = true;
};
};
Expand Down
1 change: 1 addition & 0 deletions kubernetes/guiduck/redis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
};
};
metrics.enabled = true;
networkPolicy.enabled = false;
};
};
};
Expand Down
1 change: 1 addition & 0 deletions kubernetes/outline/outline.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ in
architecture = "standalone";
master.persistence.size = "1Gi";
metrics.enabled = true;
networkPolicy.enabled = false;
};
};

Expand Down
5 changes: 2 additions & 3 deletions kubernetes/poketwo/keycloak.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ transpire, ... }:

let
downloadResources = ''
downloadResources = ''
mkdir -p /keycloak/providers /keycloak/themes/keywind \
&& wget -nc -O /keycloak/providers/keycloak-discord-0.4.0.jar \
https://github.com/wadahiro/keycloak-discord/releases/download/v0.4.1/keycloak-discord-0.4.1.jar \
Expand Down Expand Up @@ -130,6 +130,7 @@ in
replicaCount = 1;
metrics.enabled = true;
postgresql.enabled = false;
networkPolicy.enabled = false;

initContainers = [{
name = "download-resources";
Expand Down Expand Up @@ -203,5 +204,3 @@ in
};
};
}


1 change: 1 addition & 0 deletions kubernetes/poketwo/redis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
};
};
metrics.enabled = true;
networkPolicy.enabled = false;
};
};
};
Expand Down

0 comments on commit 84acb53

Please sign in to comment.