From 9fc7ad530887d9bbbf286b9738c69e9a35a26875 Mon Sep 17 00:00:00 2001 From: dscc-admin-ch <> Date: Fri, 14 Jun 2024 15:37:48 +0000 Subject: [PATCH] Update from https://github.com/dscc-admin-ch/lomas/commit/959a7357f0eb527d55f73e584bcd58b956097ddb --- charts/lomas_server/Chart.yaml | 2 +- .../templates/server/configmap.yaml | 7 +++++- charts/lomas_server/values.schema.json | 24 +++++++++++++++++++ charts/lomas_server/values.yaml | 5 ++++ 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/charts/lomas_server/Chart.yaml b/charts/lomas_server/Chart.yaml index 26a18f2..dd4750b 100644 --- a/charts/lomas_server/Chart.yaml +++ b/charts/lomas_server/Chart.yaml @@ -4,7 +4,7 @@ description: Lomas deployment chart type: application -version: 0.0.5 +version: 0.0.6 appVersion: "0.0.1" diff --git a/charts/lomas_server/templates/server/configmap.yaml b/charts/lomas_server/templates/server/configmap.yaml index df534ef..eeac0d6 100644 --- a/charts/lomas_server/templates/server/configmap.yaml +++ b/charts/lomas_server/templates/server/configmap.yaml @@ -21,4 +21,9 @@ data: db_name: {{ index .Values.mongodb.auth.databases 0}} dataset_store: ds_store_type: {{ .Values.server.runtime_args.settings.dataset_store.ds_store_type }} - max_memory_usage : {{ .Values.server.runtime_args.settings.dataset_store.max_memory_usage }} \ No newline at end of file + max_memory_usage : {{ .Values.server.runtime_args.settings.dataset_store.max_memory_usage }} + dp_libraries: + opendp: + contrib: {{ .Values.server.runtime_args.settings.dp_libraries.opendp.contrib }} + floating_point: {{ .Values.server.runtime_args.settings.dp_libraries.opendp.floating_point }} + honest_but_curious: {{ .Values.server.runtime_args.settings.dp_libraries.opendp.honest_but_curious }} \ No newline at end of file diff --git a/charts/lomas_server/values.schema.json b/charts/lomas_server/values.schema.json index ff4d38d..2c43891 100644 --- a/charts/lomas_server/values.schema.json +++ b/charts/lomas_server/values.schema.json @@ -343,6 +343,30 @@ }, "submit_limit": { "type": "integer" + }, + "dp_libraries": { + "description": "Settings for DP libraries", + "type": "object", + "properties": { + "opendp": { + "description": "Settings for opendp library", + "type": "object", + "properties": { + "contrib": { + "description": "Enable contrib feature", + "type": "boolean" + }, + "floating_point": { + "description": "Enable floating-point feature", + "type": "boolean" + }, + "honest_but_curious": { + "description": "Enable honest-but-curious feature", + "type": "boolean" + } + } + } + } } } } diff --git a/charts/lomas_server/values.yaml b/charts/lomas_server/values.yaml index 02beb3f..a53c5f9 100644 --- a/charts/lomas_server/values.yaml +++ b/charts/lomas_server/values.yaml @@ -60,6 +60,11 @@ server: dataset_store: ds_store_type: "LRU_cache" max_memory_usage : 512 + dp_libraries: + opendp: + contrib: True + floating_point: True + honest_but_curious: True service: