From 2bd522f55cbc39b1e18f08d2d1ec6c9273738c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20R=C3=B8stvik?= Date: Mon, 12 Dec 2022 09:54:03 +0100 Subject: [PATCH] fucked longhorn --- apps/templates/authentik.yaml | 10 +++---- apps/templates/prometheus.yaml | 7 ++--- apps/templates/traefik.yaml | 54 +++++++++++++++++----------------- 3 files changed, 35 insertions(+), 36 deletions(-) diff --git a/apps/templates/authentik.yaml b/apps/templates/authentik.yaml index b9e9c40..9dbf9be 100644 --- a/apps/templates/authentik.yaml +++ b/apps/templates/authentik.yaml @@ -59,11 +59,11 @@ spec: enabled: true # auth: # existingSecret: authentik-postgresql - persistence: - enabled: true - storageClass: longhorn - accessModes: - - ReadWriteOnce + # persistence: + # enabled: true + # storageClass: longhorn + # accessModes: + # - ReadWriteOnce redis: enabled: true image: diff --git a/apps/templates/prometheus.yaml b/apps/templates/prometheus.yaml index 85e4363..c41c0c7 100644 --- a/apps/templates/prometheus.yaml +++ b/apps/templates/prometheus.yaml @@ -28,11 +28,10 @@ spec: kubeProxy.enabled: false kubeStateMetrics.enabled: false - grafana: - persistence: - enabled: true - storageClassName: longhorn + # persistence: + # enabled: true + # storageClassName: longhorn env: GF_SERVER_ROOT_URL: https://%(domain)s/ GF_AUTH_GENERIC_OAUTH_ENABLED: "true" diff --git a/apps/templates/traefik.yaml b/apps/templates/traefik.yaml index 06ec3ec..e8d8b4f 100644 --- a/apps/templates/traefik.yaml +++ b/apps/templates/traefik.yaml @@ -54,13 +54,13 @@ spec: - secretRef: name: traefik-secrets - persistence: - enabled: true - name: data - accessMode: ReadWriteOnce - size: 128Mi - storageClass: "longhorn" - path: /data + # persistence: + # enabled: true + # name: data + # accessMode: ReadWriteOnce + # size: 128Mi + # storageClass: "longhorn" + # path: /data ports: traefik: @@ -98,16 +98,16 @@ spec: enabled: true type: LoadBalancer - deployment: - initContainers: - #The "volume-permissions" init container is required if you run into permission issues. - #Related issue: https://github.com/traefik/traefik/issues/6825 - - name: volume-permissions - image: busybox:1.35 - command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"] - volumeMounts: - - name: data - mountPath: /data + # deployment: + # initContainers: + # #The "volume-permissions" init container is required if you run into permission issues. + # #Related issue: https://github.com/traefik/traefik/issues/6825 + # - name: volume-permissions + # image: busybox:1.35 + # command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"] + # volumeMounts: + # - name: data + # mountPath: /data logs: general: @@ -124,16 +124,16 @@ spec: enabled: true isDefaultClass: true - certResolvers: - cloudflare: - email: me@roxedus.dev - #caServer: https://acme-staging-v02.api.letsencrypt.org/directory - dnsChallenge: - provider: cloudflare - resolvers: - - "1.1.1.1:53" - - "8.8.8.8:53" - storage: /data/acme.json + # certResolvers: + # cloudflare: + # email: me@roxedus.dev + # #caServer: https://acme-staging-v02.api.letsencrypt.org/directory + # dnsChallenge: + # provider: cloudflare + # resolvers: + # - "1.1.1.1:53" + # - "8.8.8.8:53" + # storage: /data/acme.json repoURL: https://helm.traefik.io/traefik targetRevision: 20.6.0