From e56d51dd7aa11d44ebf163e26fbb6c5986df95c9 Mon Sep 17 00:00:00 2001 From: Adheip Singh Date: Wed, 24 Aug 2022 20:15:07 +0530 Subject: [PATCH 1/4] update helm --- helm/parseable/Chart.yaml | 2 +- helm/parseable/values.yaml | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/helm/parseable/Chart.yaml b/helm/parseable/Chart.yaml index fd209c91f..3d19217f2 100644 --- a/helm/parseable/Chart.yaml +++ b/helm/parseable/Chart.yaml @@ -3,4 +3,4 @@ name: parseable description: Helm chart for Parseable Server type: application version: 0.0.1 -AppVersion: "" +AppVersion: "sha-b6d9366" diff --git a/helm/parseable/values.yaml b/helm/parseable/values.yaml index dd0ebfc01..6e7cce6af 100644 --- a/helm/parseable/values.yaml +++ b/helm/parseable/values.yaml @@ -9,11 +9,13 @@ parseable: P_TLS_CERT_PATH: "" P_LOCAL_STORAGE: "data" P_STORAGE_UPLOAD_INTERVAL: "60" - P_S3_URL: "" - P_S3_ACCESS_KEY: "" - P_S3_SECRET_KEY: "" - P_S3_REGION: "" - P_S3_BUCKET: "" + RUST_LOG: "parseable=trace" + # By default parseable uses demo env digital ocean spaces + #P_S3_URL: "" + #P_S3_ACCESS_KEY: "" + #P_S3_SECRET_KEY: "" + #P_S3_REGION: "" + #P_S3_BUCKET: "" P_USERNAME: "parseable" P_PASSWORD: "parseable" nameOverride: "" @@ -32,9 +34,11 @@ parseable: requests: cpu: 100m memory: 128Mi + securityContext: + runAsUser: 10001 + allowPrivilegeEscalation: false podAnnotations: {} podSecurityContext: {} - securityContext: {} nodeSelector: {} affinity: {} tolerations: [] From c5fa761f83bd18c39b7a5ec3f44f262e9bb8235b Mon Sep 17 00:00:00 2001 From: Adheip Singh Date: Wed, 24 Aug 2022 21:44:09 +0530 Subject: [PATCH 2/4] fix deployment mount --- helm/parseable/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/parseable/templates/deployment.yaml b/helm/parseable/templates/deployment.yaml index c67da6dec..c45922e4a 100644 --- a/helm/parseable/templates/deployment.yaml +++ b/helm/parseable/templates/deployment.yaml @@ -41,7 +41,7 @@ spec: resources: {{- toYaml .Values.parseable.resources | nindent 12 }} volumeMounts: - - mountPath: "/cache" + - mountPath: "/parseable/cache" name: cache-volume volumes: - name: cache-volume From dd45e60f800874c23ccbc57112f2d70af74b221a Mon Sep 17 00:00:00 2001 From: Adheip Singh Date: Wed, 24 Aug 2022 21:46:12 +0530 Subject: [PATCH 3/4] update rust version in docker --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 118ce35e7..0aed7ab4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ # along with this program. If not, see . # Compile -FROM rust:alpine3.14 AS compiler +FROM rust:1.63-alpine AS compiler RUN apk add -q --update-cache --no-cache build-base openssl-dev From 6df41152198265a8b13cc93bfd64f72888608b56 Mon Sep 17 00:00:00 2001 From: Adheip Singh Date: Wed, 24 Aug 2022 21:51:03 +0530 Subject: [PATCH 4/4] log to info --- helm/parseable/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/parseable/values.yaml b/helm/parseable/values.yaml index 6e7cce6af..5cb12edf7 100644 --- a/helm/parseable/values.yaml +++ b/helm/parseable/values.yaml @@ -9,7 +9,7 @@ parseable: P_TLS_CERT_PATH: "" P_LOCAL_STORAGE: "data" P_STORAGE_UPLOAD_INTERVAL: "60" - RUST_LOG: "parseable=trace" + RUST_LOG: "parseable=info" # By default parseable uses demo env digital ocean spaces #P_S3_URL: "" #P_S3_ACCESS_KEY: ""