Files
unkin-agent c090015686 Deploy coroot behind oauth2-proxy (#605)
Coroot gives eBPF-based service maps, tracing and RCA for the cluster; the community edition has no OIDC, so it sits behind oauth2-proxy.

- add coroot-operator chart 0.10.8 in coroot-system (platform)
- add a Coroot CR: 2 replicas on CNPG, ClickHouse 2 + keeper 3, metrics via vmcluster/main, pinned images
- agents send keyless; Coroot binds an empty key to its single default project
- front coroot.unkin.net with oauth2-proxy (Authentik, akP-coroot-admin); Coroot grants Admin to anonymous
- restrict Coroot ingress to oauth2-proxy and the agents; PDBs, anti-affinity, DNS, wildcard cert, schema

Requires IUCLabs/terraform-artifactapi#7 and IUCLabs/terraform-authentik#7.

Reviewed-on: #605
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-27 07:55:38 +11:00

31 lines
833 B
YAML

---
# authAnonymousRole is Admin, so only oauth2-proxy and the coroot agents may reach the UI/API.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: coroot-ingress
namespace: coroot
spec:
podSelector:
matchLabels:
app.kubernetes.io/part-of: coroot
app.kubernetes.io/component: coroot
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
app: coroot-oauth2
- podSelector:
matchLabels:
app.kubernetes.io/part-of: coroot
app.kubernetes.io/component: coroot-node-agent
- podSelector:
matchLabels:
app.kubernetes.io/part-of: coroot
app.kubernetes.io/component: coroot-cluster-agent
ports:
- protocol: TCP
port: 8080