Skip to content

Commit

Permalink
rvps: adjust docker compose and k8s configs for rvps
Browse files Browse the repository at this point in the history
Adjust various configs to match the new RVPS config

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
  • Loading branch information
fitzthum committed Dec 16, 2024
1 parent f3e2105 commit 0716cc1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ services:
volumes:
- ./kbs/data/reference-values:/opt/confidential-containers/attestation-service/reference_values:rw
- ./kbs/config/rvps.json:/etc/rvps.json:rw
command: [
"rvps",
"--address",
"0.0.0.0:50003"
]

keyprovider:
image: ghcr.io/confidential-containers/coco-keyprovider:latest
Expand Down
1 change: 0 additions & 1 deletion kbs/config/kbs-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ duration_min = 5

[attestation_service.rvps_config]
type = "BuiltIn"
store_type = "LocalFs"

[policy_engine]
policy_path = "/opa/confidential-containers/kbs/policy.rego"
Expand Down
1 change: 0 additions & 1 deletion kbs/config/kubernetes/base/kbs-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ key_path = "/kbs/as-private-key.pem"

[attestation_service.rvps_config]
type = "BuiltIn"
store_type = "LocalFs"

[admin]
auth_public_key = "/kbs/kbs.pem"
Expand Down
9 changes: 4 additions & 5 deletions kbs/config/rvps.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"address": "0.0.0.0:50003",
"store_type": "LocalFs",
"store_config": {
"file_path": "/opt/confidential-containers/attestation-service/reference_values"
"storage": {
"type":"LocalFs",
"file_path": "/opt/confidential-containers/attestation-service/reference_values"
}
}
}
1 change: 0 additions & 1 deletion kbs/test/config/kbs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ cert_path = "./work/token-cert-chain.pem"

[attestation_service.rvps_config]
type = "BuiltIn"
store_type = "LocalFs"

[policy_engine]
policy_path = "./work/kbs-policy.rego"
Expand Down

0 comments on commit 0716cc1

Please sign in to comment.