Fix and enable longhorn by default
This commit is contained in:
parent
399ffdf40e
commit
f18e39efd6
3 changed files with 2 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ storage_localpath_version: "v0.0.30"
|
||||||
storage_localpath_default_path: "/mnt/local"
|
storage_localpath_default_path: "/mnt/local"
|
||||||
storage_localpath_namespace: "local-path-storage"
|
storage_localpath_namespace: "local-path-storage"
|
||||||
|
|
||||||
storage_longhorn_enabled: false
|
storage_longhorn_enabled: true
|
||||||
storage_longhorn_version: "v1.7.2"
|
storage_longhorn_version: "v1.7.2"
|
||||||
storage_longhorn_namespace: "longhorn-system"
|
storage_longhorn_namespace: "longhorn-system"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@ ingress:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
{% if basic_auth is defined %}
|
{% 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
|
traefik.ingress.kubernetes.io/router.middlewares: basic-auth@file
|
||||||
{% endif %}
|
{% endif %}
|
||||||
#enablePSP: true
|
#enablePSP: true
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ apiVersion: longhorn.io/v1beta1
|
||||||
kind: RecurringJob
|
kind: RecurringJob
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
namespace: "{{ storage_longhorn.namespace }}"
|
namespace: "{{ storage_longhorn_namespace }}"
|
||||||
spec:
|
spec:
|
||||||
cron: "{{ item.cron }}"
|
cron: "{{ item.cron }}"
|
||||||
task: "{{ item.task }}"
|
task: "{{ item.task }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue