Add longhorn properly, fix up minio
This commit is contained in:
parent
ada5186e3d
commit
b076f0ea19
2 changed files with 15 additions and 2 deletions
|
@ -56,4 +56,17 @@
|
||||||
fstype: ext4
|
fstype: ext4
|
||||||
state: mounted
|
state: mounted
|
||||||
when: kube_storage
|
when: kube_storage
|
||||||
|
|
||||||
|
- name: ensure cryptsetup is installed
|
||||||
|
apt:
|
||||||
|
name: cryptsetup
|
||||||
|
state: present
|
||||||
|
when: kube_storage
|
||||||
|
|
||||||
|
- name: ensure dm_crypt is loaded
|
||||||
|
modprobe:
|
||||||
|
name: dm_crypt
|
||||||
|
state: present
|
||||||
|
persistent: present
|
||||||
|
when: kube_storage
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
MINIO_ROOT_USER={{ lookup('hashi_vault', 'secret=kv/data/minio:admin_username') }}
|
MINIO_ROOT_USER={{ lookup('hashi_vault', 'secret=kv/data/minio:admin_username cacert=/etc/pki/certs/MaskedName_Root_CA.pem') }}
|
||||||
MINIO_ROOT_PASSWORD={{ lookup('hashi_vault', 'secret=kv/data/minio:admin_password') }}
|
MINIO_ROOT_PASSWORD={{ lookup('hashi_vault', 'secret=kv/data/minio:admin_password cacert=/etc/pki/certs/MaskedName_Root_CA.pem') }}
|
||||||
MINIO_VOLUMES="{{ minio_volume }}"
|
MINIO_VOLUMES="{{ minio_volume }}"
|
||||||
MINIO_SERVER_URL="http://ivyking.minhas.io:9000"
|
MINIO_SERVER_URL="http://ivyking.minhas.io:9000"
|
||||||
MINIO_DOMAIN=ivyking.minhas.io
|
MINIO_DOMAIN=ivyking.minhas.io
|
||||||
|
|
Loading…
Reference in a new issue