Fix and enable longhorn by default

This commit is contained in:
Adrien Reslinger 2024-11-09 12:40:57 +01:00
parent 399ffdf40e
commit f18e39efd6
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
3 changed files with 2 additions and 3 deletions

View file

@ -7,7 +7,7 @@ storage_localpath_version: "v0.0.30"
storage_localpath_default_path: "/mnt/local"
storage_localpath_namespace: "local-path-storage"
storage_longhorn_enabled: false
storage_longhorn_enabled: true
storage_longhorn_version: "v1.7.2"
storage_longhorn_namespace: "longhorn-system"

View file

@ -41,7 +41,6 @@ ingress:
{% endif %}
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
{% if basic_auth is defined %}
# traefik.ingress.kubernetes.io/router.middlewares: {{ traefik_namespace }}-traefik-dashboard-basicauth@kubernetescrd
traefik.ingress.kubernetes.io/router.middlewares: basic-auth@file
{% endif %}
#enablePSP: true

View file

@ -2,7 +2,7 @@ apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:
name: "{{ item.name }}"
namespace: "{{ storage_longhorn.namespace }}"
namespace: "{{ storage_longhorn_namespace }}"
spec:
cron: "{{ item.cron }}"
task: "{{ item.task }}"