feat(wiki): deploy Wiki.js in the suite (#0048) — waits on the DB secret
Wiki.js + a dedicated Postgres + public ingress for wiki.axion1337.chat, added to the production kustomization so Flux applies it. Both pods intentionally wait on the SOPS secret `wikijs-postgres-secret` (username/password) until sorb creates it — same loud-but-visible pattern as the concierge bot. NetworkPolicy: Traefik -> wikijs:http, wikijs -> wikijs-postgres:postgres (ingress-only, named container ports). Ingress/Cert mirror the authentik pattern (letsencrypt-prod). Native OIDC login (#0049, guide 10) and git-storage are configured post-start. All manifests validated server-side (kubectl --dry-run=server).
This commit is contained in:
@@ -359,3 +359,45 @@ spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: http
|
||||
---
|
||||
# wiki.axion1337.chat (Traefik) -> Wiki.js (ADR-0014, #0048)
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-ingress-wikijs
|
||||
namespace: matrix
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: wikijs
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: kube-system
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: http
|
||||
---
|
||||
# Wiki.js -> sein eigener Postgres (nur von Wiki.js-Pods erreichbar)
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-ingress-wikijs-postgres
|
||||
namespace: matrix
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: wikijs-postgres
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: wikijs
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: postgres
|
||||
|
||||
Reference in New Issue
Block a user