Route komposthaufen to verified read-only Copyparty service

This commit is contained in:
feedc0de committed 2026-11-04 15:21:01 +01:00
1 parent d6d3e013cf
commit c9af05cac4
4 files changed
+8 -5

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ Anonymous users receive only `r` (read/list/download) permission. No account
has upload, move, delete or admin permission. The non-root container also mounts
`/komposthaufen` recursively read-only. Symlinks cannot escape the exported
volume. HTML is served as text and embedded directory prologues are disabled.
The Traefik route preserves the URL prefix; Copyparty's `rp-loc` handles it.
The Traefik-owned route keeps its name but moves from `default` to `copyparty`
to avoid enabling cross-namespace routing globally. It preserves the URL prefix; Copyparty's `rp-loc` handles it.
Direct downloads, HEAD and HTTP byte ranges retain their normal URL shape.
The writable RBD PVC contains rebuildable SQLite search indexes, thumbnails and
@@ -3,7 +3,7 @@
"kind": "IngressRoute",
"metadata": {
"name": "komposthaufen",
"namespace": "default"
"namespace": "copyparty"
},
"spec": {
"entryPoints": [
@@ -12,11 +12,11 @@
"routes": [
{
"kind": "Rule",
"match": "Host(`brunner.ninja`) && PathPrefix(`/komposthaufen`)",
"match": "Host(`brunner.ninja`) && (Path(`/komposthaufen`) || PathPrefix(`/komposthaufen/`))",
"services": [
{
"kind": "Service",
"name": "legacy-apache-service",
"name": "copyparty",
"port": "http"
}
]
+1 -1
View File
@@ -22,5 +22,5 @@ spec:
syncPolicy:
automated:
enabled: true
prune: false
prune: true
selfHeal: true
+2
View File
@@ -9,6 +9,8 @@ spec:
- https://traefik.github.io/charts
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
destinations:
- namespace: copyparty
server: https://kubernetes.default.svc
- namespace: default
server: https://kubernetes.default.svc
- namespace: garrysmod