This commit is contained in:
parent
cf4bab4db7
commit
7be5f2ceac
1 changed files with 17 additions and 12 deletions
|
|
@ -38,31 +38,36 @@
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
name: longhorn
|
name: longhorn
|
||||||
chart_ref: longhorn/longhorn
|
chart_ref: longhorn/longhorn
|
||||||
# chart_version: 1.1.0
|
# chart_version: 1.1.1
|
||||||
release_state: absent
|
release_state: absent
|
||||||
release_namespace: "{{ storage_longhorn_namespace }}"
|
release_namespace: "{{ storage_longhorn_namespace }}"
|
||||||
values:
|
values:
|
||||||
|
# persistence:
|
||||||
|
# defaultClass: true
|
||||||
|
# recurringJobs:
|
||||||
|
# enable: false
|
||||||
|
# jobList: []
|
||||||
defaultSettings:
|
defaultSettings:
|
||||||
defaultDataPath: "/var/lib/longhorn/"
|
defaultDataPath: "/var/lib/longhorn/"
|
||||||
backupTarget: "nfs://longhorn-test-nfs-svc.default:/opt/backupstore"
|
backupTarget: "nfs://longhorn-test-nfs-svc.default:/opt/backupstore"
|
||||||
|
|
||||||
# ingress:
|
ingress:
|
||||||
# enabled: false
|
enabled: true
|
||||||
# host: xip.io
|
host: "longhorn.{{ cluster_domain }}"
|
||||||
# tls: false
|
# tls: false
|
||||||
# tlsSecret: longhorn.local-tls
|
# tlsSecret: longhorn.local-tls
|
||||||
# annotations:
|
annotations:
|
||||||
# kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: traefik
|
||||||
# kubernetes.io/tls-acme: true
|
|
||||||
#{% if ingress_whitelist is defined %}
|
#{% if ingress_whitelist is defined %}
|
||||||
# ingress.kubernetes.io/whitelist-source-range: "{% for acl_whitelist in ingress_whitelist %}{{ acl_whitelist }}{% if not loop.last %}, {% endif %}{% endfor %}"
|
# ingress.kubernetes.io/whitelist-source-range: "{% for acl_whitelist in ingress_whitelist %}{{ acl_whitelist }}{% if not loop.last %}, {% endif %}{% endfor %}"
|
||||||
#{% endif %}
|
#{% endif %}
|
||||||
# traefik.frontend.priority: "10"
|
# traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
# traefik.frontend.redirect.entryPoint: https
|
|
||||||
#{% if basic_auth is defined %}
|
#{% if basic_auth is defined %}
|
||||||
# traefik.ingress.kubernetes.io/auth-secret: basic-auth
|
# traefik.ingress.kubernetes.io/router.middlewares: {{ traefik_namespace }}-traefik-dashboard-basicauth@kubernetescrd
|
||||||
# traefik.ingress.kubernetes.io/auth-type: basic
|
# traefik.ingress.kubernetes.io/router.middlewares: basic-auth@file
|
||||||
#{% endif %}
|
#{% endif %}
|
||||||
|
enablePSP: true
|
||||||
|
|
||||||
- name: Remove Ingress for longhorn UI
|
- name: Remove Ingress for longhorn UI
|
||||||
k8s:
|
k8s:
|
||||||
state: absent
|
state: absent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue