diff --git a/README.md b/README.md index 864d6a0..3638336 100644 --- a/README.md +++ b/README.md @@ -158,11 +158,7 @@ TODO | mysql.initdbScriptsConfigMap | string | `"mysql-init-diracx-dbs"` | | | nameOverride | string | `""` | type=kubernetes.io/dockerconfigjson imagePullSecrets: - name: regcred | | nodeSelector | object | `{}` | | -| opensearch.config."cluster.routing.allocation.disk.threshold_enabled" | string | `"true"` | | -| opensearch.config."cluster.routing.allocation.disk.watermark.flood_stage" | string | `"200mb"` | | -| opensearch.config."cluster.routing.allocation.disk.watermark.high" | string | `"300mb"` | | -| opensearch.config."cluster.routing.allocation.disk.watermark.low" | string | `"500mb"` | | -| opensearch.config."plugins.security.disabled" | string | `"true"` | | +| opensearch.config."opensearch-disk-thresholds.yml" | string | `"cluster:\n routing:\n allocation:\n disk:\n threshold_enabled: \"true\"\n watermark:\n flood_stage: 200mb\n low: 500mb\n high: 300mb\n"` | | | opensearch.enabled | bool | `true` | | | opensearch.opensearchJavaOpts | string | `"-Xms256m -Xmx256m"` | | | opensearch.resources.requests.cpu | string | `"100m"` | | diff --git a/diracx/values.yaml b/diracx/values.yaml index 6730987..8735aae 100644 --- a/diracx/values.yaml +++ b/diracx/values.yaml @@ -142,11 +142,16 @@ opensearch: # replicas: 1 singleNode: true config: - cluster.routing.allocation.disk.threshold_enabled: "true" - cluster.routing.allocation.disk.watermark.flood_stage: 200mb - cluster.routing.allocation.disk.watermark.low: 500mb - cluster.routing.allocation.disk.watermark.high: 300mb - plugins.security.disabled: "true" + opensearch-disk-thresholds.yml: | + cluster: + routing: + allocation: + disk: + threshold_enabled: "true" + watermark: + flood_stage: 200mb + low: 500mb + high: 300mb resources: requests: cpu: "100m"