From a21abe333355c23e447d5f4fbde521027a0d6f1f Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sat, 26 Jun 2021 08:39:50 +0300 Subject: [PATCH] Run Airsonic as root (#592) * Run airsonic as root * remove podSecContext * default to blank persistenceList default also * Also require it --- charts/incubator/airsonic/Chart.yaml | 2 +- .../incubator/airsonic/SCALE/questions.yaml | 25 ++----------------- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/charts/incubator/airsonic/Chart.yaml b/charts/incubator/airsonic/Chart.yaml index e23d5399e83..240a43db889 100644 --- a/charts/incubator/airsonic/Chart.yaml +++ b/charts/incubator/airsonic/Chart.yaml @@ -19,4 +19,4 @@ sources: - https://github.com/airsonic/airsonic - https://github.com/linuxserver/docker-airsonic - https://github.com/k8s-at-home/charts/tree/master/charts/airsonic -version: 1.1.5 +version: 1.1.6 diff --git a/charts/incubator/airsonic/SCALE/questions.yaml b/charts/incubator/airsonic/SCALE/questions.yaml index a2b64349ee6..8f787ba5987 100644 --- a/charts/incubator/airsonic/SCALE/questions.yaml +++ b/charts/incubator/airsonic/SCALE/questions.yaml @@ -450,7 +450,8 @@ questions: description: "Path inside the container the storage is mounted" schema: type: string - default: "/config" + required: true + default: "" - variable: medium label: "EmptyDir Medium" schema: @@ -495,28 +496,6 @@ questions: type: boolean default: false - - variable: podSecurityContext - group: "Security and Permissions" - label: "Pod Security Context" - schema: - type: dict - attrs: - - variable: runAsGroup - label: "runAsGroup" - description: The groupID this App of the user running the application" - schema: - type: int - default: 568 - - variable: fsGroupChangePolicy - label: "When should we take ownership?" - schema: - type: string - default: "OnRootMismatch" - enum: - - value: "OnRootMismatch" - description: "OnRootMismatch" - - value: "Always" - description: "Always" - variable: resources group: "Resources and Devices" label: ""