From 2ba3d3db348c01f464d1cfa8b92df5b569670967 Mon Sep 17 00:00:00 2001 From: LarryGF Date: Wed, 25 Oct 2023 20:01:53 +0200 Subject: [PATCH] adding authelia to several endpoints --- argocd/nextcloud/values.common.yaml | 2 +- terraform/applications.yaml | 2 +- .../applications/bazarr/values.yaml | 1 + .../applications/kaizoku/values.yaml | 14 +++++++------- .../applications/nextcloud/values.yaml | 1 + .../applications/portainer/values.yaml | 1 + 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/argocd/nextcloud/values.common.yaml b/argocd/nextcloud/values.common.yaml index 563e417b..21abfbc2 100644 --- a/argocd/nextcloud/values.common.yaml +++ b/argocd/nextcloud/values.common.yaml @@ -50,7 +50,7 @@ nextcloud: enabled: true password: 'nextcloud' replica: - replicaCount: 1 + replicaCount: 0 ## Cronjob to execute Nextcloud background tasks ## ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron diff --git a/terraform/applications.yaml b/terraform/applications.yaml index 742eb8ed..2cb66240 100644 --- a/terraform/applications.yaml +++ b/terraform/applications.yaml @@ -264,7 +264,7 @@ kaizoku: name: kaizoku namespace: services priority: high - deploy: true + deploy: false volumes: config: create: false diff --git a/terraform/modules/argocd_application/applications/bazarr/values.yaml b/terraform/modules/argocd_application/applications/bazarr/values.yaml index db9aa3a7..789d555a 100644 --- a/terraform/modules/argocd_application/applications/bazarr/values.yaml +++ b/terraform/modules/argocd_application/applications/bazarr/values.yaml @@ -13,6 +13,7 @@ bazarr: annotations: cert-manager.io/cluster-issuer: letsencrypt traefik.ingress.kubernetes.io/router.entrypoints: websecure-ext + traefik.ingress.kubernetes.io/router.middlewares: authelia-forwardauth-authelia@kubernetescrd gethomepage.dev/enabled: "true" gethomepage.dev/name: "Bazarr" gethomepage.dev/description: "Bazarr is a companion application to Sonarr and Radarr that manages and downloads subtitles" diff --git a/terraform/modules/argocd_application/applications/kaizoku/values.yaml b/terraform/modules/argocd_application/applications/kaizoku/values.yaml index 5ed3c327..fdf2a127 100644 --- a/terraform/modules/argocd_application/applications/kaizoku/values.yaml +++ b/terraform/modules/argocd_application/applications/kaizoku/values.yaml @@ -36,10 +36,10 @@ app-template: # port: websocket # # -- Configure persistence settings for the chart under this key. - # persistence: - # config: - # enabled: true - # type: persistentVolumeClaim - # accessMode: ReadWriteOnce - # size: 1Gi - # mountPath: /config + persistence: + config: + enabled: true + type: persistentVolumeClaim + accessMode: ReadWriteOnce + size: 1Gi + mountPath: /config diff --git a/terraform/modules/argocd_application/applications/nextcloud/values.yaml b/terraform/modules/argocd_application/applications/nextcloud/values.yaml index 91ffbd10..fa0c3b7b 100644 --- a/terraform/modules/argocd_application/applications/nextcloud/values.yaml +++ b/terraform/modules/argocd_application/applications/nextcloud/values.yaml @@ -8,6 +8,7 @@ nextcloud: annotations: cert-manager.io/cluster-issuer: letsencrypt traefik.ingress.kubernetes.io/router.entrypoints: websecure-ext + traefik.ingress.kubernetes.io/router.middlewares: authelia-forwardauth-authelia@kubernetescrd # traefik.ingress.kubernetes.io/router.middlewares: services-nextcloud-redirect-caldav@kubernetescrd gethomepage.dev/enabled: "true" gethomepage.dev/name: "Nextcloud" diff --git a/terraform/modules/argocd_application/applications/portainer/values.yaml b/terraform/modules/argocd_application/applications/portainer/values.yaml index c1b1bb0c..a365aac3 100644 --- a/terraform/modules/argocd_application/applications/portainer/values.yaml +++ b/terraform/modules/argocd_application/applications/portainer/values.yaml @@ -10,6 +10,7 @@ portainer: annotations: cert-manager.io/cluster-issuer: letsencrypt traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.middlewares: authelia-forwardauth-authelia@kubernetescrd gethomepage.dev/enabled: "true" gethomepage.dev/name: "Portainer" gethomepage.dev/description: ""