This commit is contained in:
parent
f0baecfec6
commit
9734c9afc6
1 changed files with 23 additions and 1 deletions
|
|
@ -16,11 +16,14 @@
|
|||
values:
|
||||
defaultSettings:
|
||||
defaultDataPath: "/var/lib/longhorn/"
|
||||
tags:
|
||||
- longhorn
|
||||
- storage
|
||||
- name: Install longhorn UI Ingress
|
||||
k8s:
|
||||
state: present
|
||||
context: "{{ my_context }}"
|
||||
merge_type: merge
|
||||
apply: true
|
||||
namespace: "{{ storage_longhorn_namespace }}"
|
||||
resource_definition: "{{ lookup('template', 'longhorn/' + item) | from_yaml }}"
|
||||
with_items:
|
||||
|
|
@ -44,6 +47,25 @@
|
|||
values:
|
||||
defaultSettings:
|
||||
defaultDataPath: "/var/lib/longhorn/"
|
||||
backupTarget: "nfs://longhorn-test-nfs-svc.default:/opt/backupstore"
|
||||
|
||||
# ingress:
|
||||
# enabled: false
|
||||
# host: xip.io
|
||||
# tls: false
|
||||
# tlsSecret: longhorn.local-tls
|
||||
# annotations:
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: true
|
||||
#{% 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
|
||||
#{% if basic_auth is defined %}
|
||||
# traefik.ingress.kubernetes.io/auth-secret: basic-auth
|
||||
# traefik.ingress.kubernetes.io/auth-type: basic
|
||||
#{% endif %}
|
||||
- name: Remove Ingress for longhorn UI
|
||||
k8s:
|
||||
state: absent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue