From a215522f2445cca5dabe5882c9ead30e5e915418 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 6 Nov 2023 15:08:51 -0600 Subject: [PATCH] Update peertube mounts and update postgres hba allowed hosts. --- kubernetes/apps/fediverse/peertube/app/helmrelease.yaml | 4 ++-- kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/fediverse/peertube/app/helmrelease.yaml b/kubernetes/apps/fediverse/peertube/app/helmrelease.yaml index 3c2a7e4..108d61c 100644 --- a/kubernetes/apps/fediverse/peertube/app/helmrelease.yaml +++ b/kubernetes/apps/fediverse/peertube/app/helmrelease.yaml @@ -72,13 +72,13 @@ spec: type: configMap name: peertube-configmap globalMounts: - - path: /app/config + - path: /config # media: # existingClaim: nas-storage # advancedMounts: # main: # main: - # - path: /app/storage + # - path: /data resources: requests: diff --git a/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml b/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml index 5d360ac..c773826 100644 --- a/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml +++ b/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml @@ -12,6 +12,9 @@ spec: synchronous_mode: true postgresql: synchronous_commit: "on" + pg_hba: + - host peertube peertube 10.244.0.0/16 md5 + instances: - name: postgres replicas: 2