From df5d7b9b622a7107b45a567810f16aae90c65fbd Mon Sep 17 00:00:00 2001 From: Enrico Risa Date: Wed, 5 Jul 2023 12:48:49 +0200 Subject: [PATCH] chore(charts): add temporary emptyDir volume to the controlplane charts --- .../templates/deployment-dataplane.yaml | 4 ++++ .../templates/deployment-runtime.yaml | 4 ++++ .../tractusx-connector/templates/deployment-controlplane.yaml | 4 ++++ docs/samples/example-dataspace/plato-values.yaml | 3 --- docs/samples/example-dataspace/sokrates-values.yaml | 3 --- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/charts/tractusx-connector-azure-vault/templates/deployment-dataplane.yaml b/charts/tractusx-connector-azure-vault/templates/deployment-dataplane.yaml index fef291c54..66f90bbde 100644 --- a/charts/tractusx-connector-azure-vault/templates/deployment-dataplane.yaml +++ b/charts/tractusx-connector-azure-vault/templates/deployment-dataplane.yaml @@ -208,6 +208,8 @@ spec: - name: "configuration" mountPath: "/app/logging.properties" subPath: "logging.properties" + - name: "tmp" + mountPath: "/tmp" volumes: - name: "configuration" configMap: @@ -217,6 +219,8 @@ spec: path: "opentelemetry.properties" - key: "logging.properties" path: "logging.properties" + - name: "tmp" + emptyDir: { } {{- with .Values.dataplane.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/tractusx-connector-memory/templates/deployment-runtime.yaml b/charts/tractusx-connector-memory/templates/deployment-runtime.yaml index 054ad5959..5ba60f8bf 100644 --- a/charts/tractusx-connector-memory/templates/deployment-runtime.yaml +++ b/charts/tractusx-connector-memory/templates/deployment-runtime.yaml @@ -276,6 +276,8 @@ spec: - name: "configuration" mountPath: "/app/logging.properties" subPath: "logging.properties" + - name: "tmp" + mountPath: "/tmp" volumes: - name: "configuration" configMap: @@ -283,6 +285,8 @@ spec: items: - key: "logging.properties" path: "logging.properties" + - name: "tmp" + emptyDir: { } {{- with .Values.runtime.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/tractusx-connector/templates/deployment-controlplane.yaml b/charts/tractusx-connector/templates/deployment-controlplane.yaml index 1c4185297..bd4e892ae 100644 --- a/charts/tractusx-connector/templates/deployment-controlplane.yaml +++ b/charts/tractusx-connector/templates/deployment-controlplane.yaml @@ -335,6 +335,8 @@ spec: - name: "configuration" mountPath: "/app/logging.properties" subPath: "logging.properties" + - name: "tmp" + mountPath: "/tmp" volumes: - name: "configuration" configMap: @@ -344,6 +346,8 @@ spec: path: "opentelemetry.properties" - key: "logging.properties" path: "logging.properties" + - name: "tmp" + emptyDir: { } {{- with .Values.controlplane.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/docs/samples/example-dataspace/plato-values.yaml b/docs/samples/example-dataspace/plato-values.yaml index 92bc09ce9..28e3da918 100644 --- a/docs/samples/example-dataspace/plato-values.yaml +++ b/docs/samples/example-dataspace/plato-values.yaml @@ -54,9 +54,6 @@ dataplane: pullPolicy: Never tag: "latest" repository: "edc-dataplane-hashicorp-vault" - securityContext: - # avoids some errors in the log: cannot write temp files of large multipart requests when R/O - readOnlyRootFilesystem: false aws: endpointOverride: http://minio:9000 secretAccessKey: qwerty123 diff --git a/docs/samples/example-dataspace/sokrates-values.yaml b/docs/samples/example-dataspace/sokrates-values.yaml index e05bf87a5..213f64c62 100644 --- a/docs/samples/example-dataspace/sokrates-values.yaml +++ b/docs/samples/example-dataspace/sokrates-values.yaml @@ -35,9 +35,6 @@ controlplane: pullPolicy: Never tag: "latest" repository: "edc-controlplane-postgresql-hashicorp-vault" - securityContext: - # avoids some errors in the log: cannot write temp files of large multipart requests when R/O - readOnlyRootFilesystem: false # SSI configuration ssi: miw: