Skip to content

Commit

Permalink
vault test: enable secondary vaultmonitorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
srhb committed Oct 18, 2024
1 parent 34615f8 commit 24af690
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions nixos/vault-test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,16 @@ nixos-lib.runTest (
}
];
}
# Multiple vaultmonitorconfigs break faythe currently, commented out
# {
# inherit role_id_path secret_id_path vault_addr;
# key_prefix = "path2";
# specs = [
# {
# name = "path2-test";
# cn = "path2.${domain}";
# }
# ];
# }
{
inherit role_id_path secret_id_path vault_addr;
key_prefix = "path2";
specs = [
{
name = "path2-test";
cn = "path2.${domain}";
}
];
}
];
lets_encrypt_url = "https://${nodes.acme.test-support.acme.caDomain}/dir";
lets_encrypt_email = "test_mail@${domain}";
Expand Down Expand Up @@ -242,8 +241,7 @@ nixos-lib.runTest (
with subtest("Can get certs"):
client.wait_until_succeeds("""
vault kv get kv/path1/path1-test/cert
# vault kv get kv/path2/path2-test/cert
vault kv get kv/path1/path1-test/cert && vault kv get kv/path2/path2-test/cert
""")
with subtest("No failed dispatch in vaultrs"):
Expand Down

0 comments on commit 24af690

Please sign in to comment.