From 13f40de7cf2b4fe5e97bdb81a9e2f6e692d67547 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 17 Mar 2022 00:11:53 +0200 Subject: [PATCH] fix(koel): Run as root (#2191) * feat(koel): move to stable and run as root * no installcont * test * add port * bump * incubator only --- charts/incubator/koel/Chart.yaml | 2 +- charts/incubator/koel/questions.yaml | 6 +++--- charts/incubator/koel/values.yaml | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/charts/incubator/koel/Chart.yaml b/charts/incubator/koel/Chart.yaml index 9abee2cd8f0..1bc5fa34464 100644 --- a/charts/incubator/koel/Chart.yaml +++ b/charts/incubator/koel/Chart.yaml @@ -25,7 +25,7 @@ sources: - https://github.com/koel/docker - https://hub.docker.com/r/hyzual/koel - https://github.com/koel/koel -version: 0.0.3 +version: 0.0.4 annotations: truecharts.org/catagories: | - media diff --git a/charts/incubator/koel/questions.yaml b/charts/incubator/koel/questions.yaml index 70538947ab5..905b7694824 100644 --- a/charts/incubator/koel/questions.yaml +++ b/charts/incubator/koel/questions.yaml @@ -402,7 +402,7 @@ questions: label: "runAsNonRoot" schema: type: boolean - default: true + default: false # Include{securityContextAdvanced} - variable: podSecurityContext @@ -417,13 +417,13 @@ questions: description: "The UserID of the user running the application" schema: type: int - default: 33 + default: 0 - variable: runAsGroup label: "runAsGroup" description: The groupID this App of the user running the application" schema: type: int - default: 33 + default: 0 - variable: fsGroup label: "fsGroup" description: "The group that should own ALL storage." diff --git a/charts/incubator/koel/values.yaml b/charts/incubator/koel/values.yaml index 8fd71bd59d8..125cfa7576f 100644 --- a/charts/incubator/koel/values.yaml +++ b/charts/incubator/koel/values.yaml @@ -15,6 +15,7 @@ env: DB_CONNECTION: "mysql" DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}" DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}" + DB_PORT: "3306" FORCE_HTTPS: false MEMORY_LIMIT: 2048 LASTFM_API_KEY: "" @@ -55,6 +56,8 @@ installContainers: env: - name: DB_CONNECTION value: "mysql" + - name: DB_PORT + value: "3306" - name: DB_USERNAME value: "{{ .Values.mariadb.mariadbUsername }}" - name: DB_DATABASE