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 enabled: true
# auth: # auth:
# existingSecret: authentik-postgresql # existingSecret: authentik-postgresql
persistence: # persistence:
enabled: true # enabled: true
storageClass: longhorn # storageClass: longhorn
accessModes: # accessModes:
- ReadWriteOnce # - ReadWriteOnce
redis: redis:
enabled: true enabled: true
image: image:

View File

@ -28,11 +28,10 @@ spec:
kubeProxy.enabled: false kubeProxy.enabled: false
kubeStateMetrics.enabled: false kubeStateMetrics.enabled: false
grafana: grafana:
persistence: # persistence:
enabled: true # enabled: true
storageClassName: longhorn # storageClassName: longhorn
env: env:
GF_SERVER_ROOT_URL: https://%(domain)s/ GF_SERVER_ROOT_URL: https://%(domain)s/
GF_AUTH_GENERIC_OAUTH_ENABLED: "true" GF_AUTH_GENERIC_OAUTH_ENABLED: "true"

View File

@ -54,13 +54,13 @@ spec:
- secretRef: - secretRef:
name: traefik-secrets name: traefik-secrets
persistence: # persistence:
enabled: true # enabled: true
name: data # name: data
accessMode: ReadWriteOnce # accessMode: ReadWriteOnce
size: 128Mi # size: 128Mi
storageClass: "longhorn" # storageClass: "longhorn"
path: /data # path: /data
ports: ports:
traefik: traefik:
@ -98,16 +98,16 @@ spec:
enabled: true enabled: true
type: LoadBalancer type: LoadBalancer
deployment: # deployment:
initContainers: # initContainers:
#The "volume-permissions" init container is required if you run into permission issues. # #The "volume-permissions" init container is required if you run into permission issues.
#Related issue: https://github.com/traefik/traefik/issues/6825 # #Related issue: https://github.com/traefik/traefik/issues/6825
- name: volume-permissions # - name: volume-permissions
image: busybox:1.35 # image: busybox:1.35
command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"] # command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"]
volumeMounts: # volumeMounts:
- name: data # - name: data
mountPath: /data # mountPath: /data
logs: logs:
general: general:
@ -124,16 +124,16 @@ spec:
enabled: true enabled: true
isDefaultClass: true isDefaultClass: true
certResolvers: # certResolvers:
cloudflare: # cloudflare:
email: me@roxedus.dev # email: me@roxedus.dev
#caServer: https://acme-staging-v02.api.letsencrypt.org/directory # #caServer: https://acme-staging-v02.api.letsencrypt.org/directory
dnsChallenge: # dnsChallenge:
provider: cloudflare # provider: cloudflare
resolvers: # resolvers:
- "1.1.1.1:53" # - "1.1.1.1:53"
- "8.8.8.8:53" # - "8.8.8.8:53"
storage: /data/acme.json # storage: /data/acme.json
repoURL: https://helm.traefik.io/traefik repoURL: https://helm.traefik.io/traefik
targetRevision: 20.6.0 targetRevision: 20.6.0