From 4638b7d7becf2643fc5d086731c46533d1c605f7 Mon Sep 17 00:00:00 2001 From: Sebastien Baizet Date: Tue, 22 Oct 2024 14:39:24 +0200 Subject: [PATCH] add certificates to docker image and persistent volume to store keys on the chart --- charts/scroll-proving-sdk/README.md | 15 ++++++++++----- charts/scroll-proving-sdk/values.yaml | 8 +++++++- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/charts/scroll-proving-sdk/README.md b/charts/scroll-proving-sdk/README.md index 336a711..026be1d 100644 --- a/charts/scroll-proving-sdk/README.md +++ b/charts/scroll-proving-sdk/README.md @@ -33,11 +33,16 @@ Kubernetes: `>=1.22.0-0` | global.nameOverride | string | `"scroll-proving-sdk"` | | | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"scrolltech/sdk-cloud-prover"` | | -| image.tag | string | `"sindri-2791edca"` | | -| persistence.app_name.enabled | bool | `true` | | -| persistence.app_name.mountPath | string | `"/sdk_prover/"` | | -| persistence.app_name.name | string | `"scroll-proving-sdk-config"` | | -| persistence.app_name.type | string | `"configMap"` | | +| image.tag | string | `"sindri-v0.0.1"` | | +| persistence.config.enabled | bool | `true` | | +| persistence.config.mountPath | string | `"/sdk_prover/"` | | +| persistence.config.name | string | `"scroll-proving-sdk-config"` | | +| persistence.config.type | string | `"configMap"` | | +| persistence.keys.accessMode | string | `"ReadWriteOnce"` | | +| persistence.keys.enabled | bool | `true` | | +| persistence.keys.mountPath | string | `"/keys/"` | | +| persistence.keys.size | string | `"10Mi"` | | +| persistence.keys.type | string | `"pvc"` | | | probes.liveness.<<.custom | bool | `true` | | | probes.liveness.<<.enabled | bool | `true` | | | probes.liveness.<<.spec.httpGet.path | string | `"/"` | | diff --git a/charts/scroll-proving-sdk/values.yaml b/charts/scroll-proving-sdk/values.yaml index 5ae2f4a..b04acae 100644 --- a/charts/scroll-proving-sdk/values.yaml +++ b/charts/scroll-proving-sdk/values.yaml @@ -6,7 +6,7 @@ global: image: repository: scrolltech/sdk-cloud-prover pullPolicy: Always - tag: sindri-2791edca + tag: sindri-v0.0.1 command: - "/bin/sh" @@ -27,6 +27,12 @@ persistence: type: configMap mountPath: /sdk_prover/ name: scroll-proving-sdk-config # Change this value to -config + keys: + enabled: true + type: pvc + mountPath: /keys/ + size: 10Mi + accessMode: ReadWriteOnce service: main: