fix(teepot-vault-unseal-sgx): pass CA_CERT_FILE

Although the file was included, it was not in the standard location.
Passing the absolute path fixes the issue.

The CA file is needed for the raft join command.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-08-07 14:03:11 +02:00
parent 42aa0ed6b0
commit 36449980c2
Signed by: harald
GPG key ID: F519A1143B3FBE32

View file

@ -41,6 +41,7 @@ nixsgxLib.mkSGXContainer {
VAULT_AUTH_TEE_SHA256_FILE = "${vat.vault-auth-tee.sha}/share/vault-auth-tee.sha256";
### TODO: remove hardcoded version ###
VAULT_AUTH_TEE_VERSION = "0.1.0+dev";
CA_CERT_FILE = "${teepot.container-vault-start-config}/opt/vault/cacert.pem";
};
};