From 247989099f1173ec667e253a4bfb77bf92aa3851 Mon Sep 17 00:00:00 2001 From: Jory Irving Date: Wed, 31 Jul 2024 13:57:07 -0600 Subject: [PATCH] feat: add labels for psql workloads --- .gitignore | 2 ++ kubernetes/main/apps/default/lubelog/app/helmrelease.yaml | 2 ++ kubernetes/main/apps/default/paperless/app/helmrelease.yaml | 1 + kubernetes/main/apps/downloads/bazarr/app/helmrelease.yaml | 1 + kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml | 2 ++ kubernetes/main/apps/downloads/radarr/app/helmrelease.yaml | 1 + kubernetes/main/apps/downloads/readarr/app/helmrelease.yaml | 1 + kubernetes/main/apps/media/kyoo/app/helmrelease.yaml | 3 ++- kubernetes/main/apps/observability/gatus/app/helmrelease.yaml | 2 ++ 9 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2762577b73..0f8a21b676 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ Brewfile.lock.json terraform.tfstate* backend.tf *.tfvars +# Other +*.psql diff --git a/kubernetes/main/apps/default/lubelog/app/helmrelease.yaml b/kubernetes/main/apps/default/lubelog/app/helmrelease.yaml index fce529a81a..4d012d465c 100644 --- a/kubernetes/main/apps/default/lubelog/app/helmrelease.yaml +++ b/kubernetes/main/apps/default/lubelog/app/helmrelease.yaml @@ -30,6 +30,8 @@ spec: values: controllers: lubelog: + labels: + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: diff --git a/kubernetes/main/apps/default/paperless/app/helmrelease.yaml b/kubernetes/main/apps/default/paperless/app/helmrelease.yaml index 94faaaa27e..273f17befe 100644 --- a/kubernetes/main/apps/default/paperless/app/helmrelease.yaml +++ b/kubernetes/main/apps/default/paperless/app/helmrelease.yaml @@ -31,6 +31,7 @@ spec: paperless: labels: nfsMount: "true" + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: diff --git a/kubernetes/main/apps/downloads/bazarr/app/helmrelease.yaml b/kubernetes/main/apps/downloads/bazarr/app/helmrelease.yaml index b9c719a959..ac88009c4d 100644 --- a/kubernetes/main/apps/downloads/bazarr/app/helmrelease.yaml +++ b/kubernetes/main/apps/downloads/bazarr/app/helmrelease.yaml @@ -31,6 +31,7 @@ spec: bazarr: labels: nfsMount: "true" + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: diff --git a/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml b/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml index b740e9fdd7..e3bb6b5624 100644 --- a/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml +++ b/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml @@ -27,6 +27,8 @@ spec: values: controllers: prowlarr: + labels: + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: diff --git a/kubernetes/main/apps/downloads/radarr/app/helmrelease.yaml b/kubernetes/main/apps/downloads/radarr/app/helmrelease.yaml index 2d7ae02b46..250ac30b58 100644 --- a/kubernetes/main/apps/downloads/radarr/app/helmrelease.yaml +++ b/kubernetes/main/apps/downloads/radarr/app/helmrelease.yaml @@ -31,6 +31,7 @@ spec: radarr: labels: nfsMount: "true" + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: diff --git a/kubernetes/main/apps/downloads/readarr/app/helmrelease.yaml b/kubernetes/main/apps/downloads/readarr/app/helmrelease.yaml index 35da1df176..889d4e9c96 100644 --- a/kubernetes/main/apps/downloads/readarr/app/helmrelease.yaml +++ b/kubernetes/main/apps/downloads/readarr/app/helmrelease.yaml @@ -31,6 +31,7 @@ spec: readarr: labels: nfsMount: "true" + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: diff --git a/kubernetes/main/apps/media/kyoo/app/helmrelease.yaml b/kubernetes/main/apps/media/kyoo/app/helmrelease.yaml index 49d41fa7ab..7a659defa0 100644 --- a/kubernetes/main/apps/media/kyoo/app/helmrelease.yaml +++ b/kubernetes/main/apps/media/kyoo/app/helmrelease.yaml @@ -27,6 +27,7 @@ spec: meilisearch: labels: nfsMount: "true" + postgres: "true" annotations: reloader.stakater.com/auto: "true" containers: @@ -218,7 +219,7 @@ spec: topologyKey: kubernetes.io/hostname nodeSelector: intel.feature.node.kubernetes.io/gpu: "true" - + defaultPodOptions: securityContext: runAsNonRoot: true diff --git a/kubernetes/main/apps/observability/gatus/app/helmrelease.yaml b/kubernetes/main/apps/observability/gatus/app/helmrelease.yaml index 55d9a1bc24..a06104f8e8 100644 --- a/kubernetes/main/apps/observability/gatus/app/helmrelease.yaml +++ b/kubernetes/main/apps/observability/gatus/app/helmrelease.yaml @@ -27,6 +27,8 @@ spec: gatus: replicas: 3 strategy: RollingUpdate + labels: + postgres: "true" annotations: reloader.stakater.com/auto: "true" initContainers: