From 1c6dbca85624b5a007c44aec8ece421a21af2aea Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Mon, 5 May 2025 14:04:24 +0800 Subject: [PATCH] feat(gotosocial): proxy-body-size for media uploads --- kube/deploy/apps/gotosocial/app/hr.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/kube/deploy/apps/gotosocial/app/hr.yaml b/kube/deploy/apps/gotosocial/app/hr.yaml index 2f70b504..fe717f0f 100644 --- a/kube/deploy/apps/gotosocial/app/hr.yaml +++ b/kube/deploy/apps/gotosocial/app/hr.yaml @@ -132,15 +132,26 @@ spec: external-dns.alpha.kubernetes.io/cloudflare-proxied: "true" hosts: - host: *host - paths: &paths - - path: / + paths: + - &path + path: / pathType: Prefix service: identifier: gotosocial port: http - tls: + tls: &tls - hosts: [*host] secretName: gotosocial-tls + media: + className: nginx-public + annotations: + nginx.ingress.kubernetes.io/proxy-body-size: "10M" + hosts: + - host: *host + paths: + - <<: *path + path: /api/v1/media + tls: *tls persistence: tmp: type: emptyDir