From d27446320e24f2582a5acf9035c8df6134fee5e3 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 16 Jun 2022 10:57:07 +0300 Subject: [PATCH] chore(senseai-server): cleanup (#2909) --- charts/incubator/senseai-server/Chart.yaml | 2 +- .../incubator/senseai-server/questions.yaml | 22 ++++--------------- charts/incubator/senseai-server/values.yaml | 8 ------- 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/charts/incubator/senseai-server/Chart.yaml b/charts/incubator/senseai-server/Chart.yaml index d4bf72f5a00..23f246b341a 100644 --- a/charts/incubator/senseai-server/Chart.yaml +++ b/charts/incubator/senseai-server/Chart.yaml @@ -19,7 +19,7 @@ name: senseai-server sources: - https://github.com/codeproject/CodeProject.SenseAI - https://hub.docker.com/r/codeproject/senseai-server -version: 0.0.1 +version: 0.0.2 annotations: truecharts.org/catagories: | - ai diff --git a/charts/incubator/senseai-server/questions.yaml b/charts/incubator/senseai-server/questions.yaml index 31fd9b27573..97f58bb43bc 100644 --- a/charts/incubator/senseai-server/questions.yaml +++ b/charts/incubator/senseai-server/questions.yaml @@ -74,20 +74,6 @@ questions: - value: "OnDelete" description: "(Legacy) OnDelete: ignore .spec.template changes" # Include{controllerExpert} - - variable: env - group: "Container Configuration" - label: "Image Environment" - schema: - additional_attrs: true - type: dict - attrs: - - variable: TEMPLATEVARIABLE - label: "TEMPLATEVARIABLE" - description: "" - schema: - type: string - required: true - default: "" # Include{containerConfig} @@ -240,7 +226,7 @@ questions: label: "ReadOnly Root Filesystem" schema: type: boolean - default: false + default: true - variable: allowPrivilegeEscalation label: "Allow Privilege Escalation" schema: @@ -250,7 +236,7 @@ questions: label: "runAsNonRoot" schema: type: boolean - default: false + default: true # Include{securityContextAdvanced} - variable: podSecurityContext @@ -265,13 +251,13 @@ questions: description: "The UserID of the user running the application" schema: type: int - default: 0 + default: 568 - variable: runAsGroup label: "runAsGroup" description: "The groupID this App of the user running the application" schema: type: int - default: 0 + default: 568 - variable: fsGroup label: "fsGroup" description: "The group that should own ALL storage." diff --git a/charts/incubator/senseai-server/values.yaml b/charts/incubator/senseai-server/values.yaml index 0f5631ab06c..47c1662dff4 100644 --- a/charts/incubator/senseai-server/values.yaml +++ b/charts/incubator/senseai-server/values.yaml @@ -3,14 +3,6 @@ image: tag: focal-1.4.0@sha256:e26603f89a1a994cda27c4604fb79ed380acd65e4233e9bd4a8689eb21625b39 pullPolicy: IfNotPresent -# securityContext: -# runAsNonRoot: false -# readOnlyRootFilesystem: false - -# podSecurityContext: -# runAsUser: 0 -# runAsGroup: 0 - service: main: ports: