2023-08-21 23:20:26 +02:00
|
|
|
# Democratic CSI using FreeNAS API
|
|
|
|
To have this running, you first need to configure your truenas scale
|
|
|
|
|
2023-08-21 20:16:35 +02:00
|
|
|
- Turn iSCSI service on
|
|
|
|
- Create a portal and an initiator group (note their ID)
|
|
|
|
- Create an API key
|
|
|
|
|
2023-08-21 23:20:26 +02:00
|
|
|
Then, store the API key in vault
|
|
|
|
|
2023-08-21 20:16:35 +02:00
|
|
|
- Store the API key in vault
|
|
|
|
```
|
|
|
|
vault kv put kv/service/democratic-csi truenas_api_key=XXXXX
|
|
|
|
```
|
|
|
|
|
2023-08-21 23:20:26 +02:00
|
|
|
|