From 3761052005dc3958c988d4ea507808c111465c6f Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Tue, 17 Sep 2024 13:16:40 +0800 Subject: [PATCH] fix(gotosocial): use HTTPS scheme the config option is for URL generation, not to set server listen mode --- kube/deploy/apps/gotosocial/app/hr.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kube/deploy/apps/gotosocial/app/hr.yaml b/kube/deploy/apps/gotosocial/app/hr.yaml index 8dd4d0f7..aef56128 100644 --- a/kube/deploy/apps/gotosocial/app/hr.yaml +++ b/kube/deploy/apps/gotosocial/app/hr.yaml @@ -37,15 +37,11 @@ spec: tag: "0.16.0@sha256:54c0e2833f426b810861d8bc7b5633ca8119f2fa234a4ddaeb422519c04fca97" env: &env TZ: "${CONFIG_TZ}" - # tmp - GTS_LOG_LEVEL: trace - GTS_LOG_DB_QUERIES: "true" - # tmp GTS_APPLICATION_NAME: "The JJGadgets Hut" GTS_LANDING_PAGE_USER: "jj" GTS_HOST: &host "social.jjgadgets.tech" GTS_ACCOUNT_DOMAIN: "jjgadgets.tech" - GTS_PROTOCOL: "http" + GTS_PROTOCOL: "https" # not HTTP server listen mode, but used for generating URLs etc GTS_PORT: "8080" GTS_TRUSTED_PROXIES: "${IP_POD_CIDR_V4}" GTS_ACCOUNTS_REGISTRATION_OPEN: "false" @@ -56,7 +52,7 @@ spec: GTS_DB_TYPE: "postgres" GTS_DB_TLS_MODE: "enable" GTS_DB_TLS_CA_CERT: &pgca /secrets/pg/ca.crt - GTS_DB_ADDRESS: "pg-gotosocial-primary.gotosocial.svc.cluster.local" + GTS_DB_ADDRESS: "pg-gotosocial-pgbouncer.gotosocial.svc.cluster.local" # valueFrom: # secretKeyRef: # name: &pgsec "pg-gotosocial-pguser-gotosocial"