Open
Conversation
Addresses the #1 finding from the 2026-02-19 security audit: zero NetworkPolicies across 19 namespaces (flat network). This PR adds 29 Cilium network policies: - 6 default-deny ingress policies (database, security, home-automation, selfhosted, ai, roundtable) - 5 cluster-wide policies (DNS, ingress controllers, Prometheus scraping) - 18 app-specific allow policies mapping actual traffic flows Architecture: - Default deny on high-value namespaces (databases, secrets, AI) - Explicit allow rules based on actual dependency mapping - CiliumClusterwideNetworkPolicy for cross-cutting concerns - Namespace-scoped CiliumNetworkPolicy for app-specific rules - Separate Flux Kustomization (cilium-network-policies) with Cilium dependency Namespaces covered: database, security, home-automation, selfhosted, ai, roundtable Not yet covered (lower risk): media, observability, kube-system, cert-manager⚠️ DEPLOY NOTE: Review policies before merging. Default-deny policies will break traffic that isn't explicitly allowed. Recommend deploying one namespace at a time and monitoring with Hubble.
Added: - default-deny-media: isolate *arr apps, Plex, Sabnzbd - default-deny-observability: isolate Grafana, Loki, Prometheus - allow-media-apps: autobrr→postgres, media apps→external (indexers/usenet) - allow-observability-apps: grafana→postgres/loki/prometheus, alertmanager→external (notifications), gatus→health checks Now covers ALL application namespaces: ai, database, home-automation, media, observability, roundtable, security, selfhosted (8/8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.