mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
4db837d7f9
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
30 lines
730 B
Markdown
30 lines
730 B
Markdown
# Constellation CSI tools
|
|
|
|
These packages are intended to be used by [Kubernetes CSI drivers](https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/) to enable transparent encryption of storage on the node.
|
|
|
|
## Dependencies
|
|
|
|
This package uses the C library [`libcryptsetup`](https://gitlab.com/cryptsetup/cryptsetup/) for device mapping and crypto operations.
|
|
|
|
* Install on Ubuntu:
|
|
|
|
```bash
|
|
sudo apt install libcryptsetup12 libcryptsetup-dev
|
|
```
|
|
|
|
* Install on Fedora:
|
|
|
|
```bash
|
|
sudo dnf install cryptsetup-libs cryptsetup-devel
|
|
```
|
|
|
|
## Testing
|
|
|
|
Running the integration test requires root privileges.
|
|
Build and run the test:
|
|
|
|
``` bash
|
|
go test -c -tags=integration ./test/
|
|
sudo ./test.test
|
|
```
|