Skip to content

Commit

Permalink
kbs_protocol: update KBS config for test_client tests
Browse files Browse the repository at this point in the history
client::rcar_client::test::test_client pulls kbs:latest image
for tests but the local kbs-config.toml is oudated and tests
won't run.

Update the config to get CI tests passing again.

Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi authored and Xynnn007 committed Nov 7, 2024
1 parent 4310a8a commit d751426
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions attestation-agent/kbs_protocol/test/kbs-config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
[http_server]
insecure_http = true
insecure_api = true
sockets = ["0.0.0.0:8085"]

[attestation_token_config]
attestation_token_type = "CoCo"
[attestation_token]
insecure_key = true

[policy_engine]
policy_path = "/opa/confidential-containers/kbs/policy.rego"

[attestation_service]
type = "coco_as_builtin"
work_dir = "/opt/confidential-containers/attestation-service"
policy_engine = "opa"
attestation_token_broker = "Simple"

[attestation_service.attestation_token_config]
duration_min = 5

[attestation_service.rvps_config]
store_type = "LocalFs"
remote_addr = ""

[admin]
insecure_api = true

[[plugins]]
name = "resource"
type = "LocalFs"
dir_path = "/opt/confidential-containers/kbs/repository"

0 comments on commit d751426

Please sign in to comment.