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 }}"
|
||||
name: longhorn
|
||||
chart_ref: longhorn/longhorn
|
||||
# chart_version: 1.1.0
|
||||
# chart_version: 1.1.1
|
||||
release_state: absent
|
||||
release_namespace: "{{ storage_longhorn_namespace }}"
|
||||
values:
|
||||
# persistence:
|
||||
# defaultClass: true
|
||||
# recurringJobs:
|
||||
# enable: false
|
||||
# jobList: []
|
||||
defaultSettings:
|
||||
defaultDataPath: "/var/lib/longhorn/"
|
||||
backupTarget: "nfs://longhorn-test-nfs-svc.default:/opt/backupstore"
|
||||
backupTarget: "nfs://longhorn-test-nfs-svc.default:/opt/backupstore"
|
||||
|
||||
# ingress:
|
||||
# enabled: false
|
||||
# host: xip.io
|
||||
ingress:
|
||||
enabled: true
|
||||
host: "longhorn.{{ cluster_domain }}"
|
||||
# tls: false
|
||||
# tlsSecret: longhorn.local-tls
|
||||
# annotations:
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik
|
||||
#{% 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 %}"
|
||||
#{% endif %}
|
||||
# traefik.frontend.priority: "10"
|
||||
# traefik.frontend.redirect.entryPoint: https
|
||||
# traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||
#{% if basic_auth is defined %}
|
||||
# traefik.ingress.kubernetes.io/auth-secret: basic-auth
|
||||
# traefik.ingress.kubernetes.io/auth-type: basic
|
||||
# traefik.ingress.kubernetes.io/router.middlewares: {{ traefik_namespace }}-traefik-dashboard-basicauth@kubernetescrd
|
||||
# traefik.ingress.kubernetes.io/router.middlewares: basic-auth@file
|
||||
#{% endif %}
|
||||
enablePSP: true
|
||||
|
||||
- name: Remove Ingress for longhorn UI
|
||||
k8s:
|
||||
state: absent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue