fucked longhorn

This commit is contained in:
Simen Røstvik 2022-12-12 09:54:03 +01:00
parent bed69fc641
commit 6d4834bb91
3 changed files with 35 additions and 36 deletions

View File

@ -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:

View File

@ -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"

View File

@ -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