Skip to content

Commit e0dbe06

Browse files
authored
Merge pull request #30 from zama-ai/piizama/mpc-check-update
feat(mpc-operator-check): add kms-core /config to health check
2 parents 5a664b6 + fc30edb commit e0dbe06

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

charts/mpc-operator-check/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v2
22
name: mpc-operator-check
33
description: A Helm chart to execute the MPC-Operator check Job
44
type: application
5-
version: 1.3.3
5+
version: 1.3.4

charts/mpc-operator-check/values.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ awsCli:
1111
image:
1212
# Public image
1313
# repository: amazon/aws-cli
14-
# tag: 2.30.1
14+
# tag: 2.35.3
1515
# Private secure image
1616
repository: hub.zama.org/zama-protocol/zama.ai/aws-cli
17-
tag: "2.30-dev"
17+
tag: 2.35-dev
1818
script: |
1919
echo "AWS check"
2020
echo "Listing all files in KMS-Core Public S3 bucket: $KMS_CORE__PUBLIC_VAULT__STORAGE__S3__BUCKET"
@@ -28,8 +28,8 @@ gatewayNode:
2828
# repository: cgr.dev/chainguard/curl
2929
# tag: latest-dev
3030
# Private secure image
31-
repository: hub.zama.org/zama-protocol/zama-ai/security-hub/infra/kube-utils
32-
tag: v0.4.0
31+
repository: hub.zama.org/zama-protocol/zama.ai/curl
32+
tag: 8.20-dev
3333
url: http://gateway-node:8547
3434
ethWallet:
3535
enabled: true
@@ -39,7 +39,7 @@ ethWallet:
3939
# tag: latest
4040
# Private secure image
4141
repository: hub.zama.org/zama-protocol/zama-ai/security-hub/infra/eth-foundry
42-
tag: 0.3.1
42+
tag: v0.4.0
4343
script: |
4444
echo "Check KMS Connector wallet"
4545
echo "KMS-Connector Address:$(cast wallet address --aws)"
@@ -51,7 +51,7 @@ kubectl:
5151
# tag: latest-dev
5252
# Private secure image
5353
repository: hub.zama.org/zama-protocol/zama.ai/kubectl
54-
tag: 1.34-dev
54+
tag: 1.35-dev
5555
script: |
5656
echo "Kubernetes namespace check"
5757
kubectl get all
@@ -79,7 +79,7 @@ kmsCoreClient:
7979
enabled: true
8080
image:
8181
repository: hub.zama.org/zama-protocol/zama-ai/kms/core-client
82-
tag: v0.12.4
82+
tag: v0.13.20
8383
configmap:
8484
# Need to match the kms-core helm chart configmap (containing kms-server.toml and vaults.toml)
8585
name: kms-core-config
@@ -90,6 +90,10 @@ kmsCoreClient:
9090
echo "KMS-Core enclave config content"
9191
cat enclave.json
9292
echo "=================================================="
93+
echo "KMS-Core runtime config (from /config endpoint)"
94+
config_json=$(wget -qO- "http://kms-core-${KMS_CORE__THRESHOLD__MY_ID}:9646/config") && printf '%b\n' "$(printf '%s' "$config_json" | sed -e 's/^"//' -e 's/"$//' -e 's/\\"/"/g')" || echo "Failed to fetch /config endpoint"
95+
echo ""
96+
echo "=================================================="
9397
echo "KMS-Core health check"
9498
#kms-health-check config --file kms-server.toml
9599
kms-health-check live --endpoint kms-core:50100 --config kms-server.toml
@@ -114,8 +118,8 @@ utils:
114118
# repository: cgr.dev/chainguard/curl
115119
# tag: latest-dev
116120
# Private secure image
117-
repository: hub.zama.org/zama-protocol/zama-ai/security-hub/infra/kube-utils
118-
tag: 0.4.0-safe
121+
repository: hub.zama.org/zama-protocol/zama.ai/kubectl
122+
tag: 1.35-dev
119123
script: |
120124
echo "Kube Utils check"
121125
# tail -f /dev/null

0 commit comments

Comments
 (0)