From 03c9014f5ec5ec59b0c7b8a2c73d7415383b0056 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 31 Jan 2022 23:13:11 +0200 Subject: [PATCH] feat(unmanic): move to stable and remove configmap (#1820) --- charts/incubator/unmanic/templates/_configmap.tpl | 14 -------------- charts/incubator/unmanic/templates/common.yaml | 8 -------- charts/{incubator => stable}/unmanic/CHANGELOG.md | 0 charts/{incubator => stable}/unmanic/CONFIG.md | 0 charts/{incubator => stable}/unmanic/Chart.yaml | 2 +- charts/{incubator => stable}/unmanic/README.md | 0 .../{incubator => stable}/unmanic/helm-values.md | 0 .../{incubator => stable}/unmanic/questions.yaml | 0 charts/{incubator => stable}/unmanic/security.md | 0 charts/stable/unmanic/templates/common.yaml | 1 + charts/{incubator => stable}/unmanic/values.yaml | 4 ---- 11 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 charts/incubator/unmanic/templates/_configmap.tpl delete mode 100644 charts/incubator/unmanic/templates/common.yaml rename charts/{incubator => stable}/unmanic/CHANGELOG.md (100%) rename charts/{incubator => stable}/unmanic/CONFIG.md (100%) rename charts/{incubator => stable}/unmanic/Chart.yaml (97%) rename charts/{incubator => stable}/unmanic/README.md (100%) rename charts/{incubator => stable}/unmanic/helm-values.md (100%) rename charts/{incubator => stable}/unmanic/questions.yaml (100%) rename charts/{incubator => stable}/unmanic/security.md (100%) create mode 100644 charts/stable/unmanic/templates/common.yaml rename charts/{incubator => stable}/unmanic/values.yaml (92%) diff --git a/charts/incubator/unmanic/templates/_configmap.tpl b/charts/incubator/unmanic/templates/_configmap.tpl deleted file mode 100644 index 4c30b502963..00000000000 --- a/charts/incubator/unmanic/templates/_configmap.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{/* Define the configmap */}} -{{- define "unmanic.configmap" -}} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: unmanic-config -data: - {{- if .Values.scaleGPU }} - NVIDIA_VISIBLE_DEVICES: "all" - {{- else }} - NVIDIA_VISIBLE_DEVICES: "void" - {{- end }} -{{- end -}} diff --git a/charts/incubator/unmanic/templates/common.yaml b/charts/incubator/unmanic/templates/common.yaml deleted file mode 100644 index 0aa3722b0d6..00000000000 --- a/charts/incubator/unmanic/templates/common.yaml +++ /dev/null @@ -1,8 +0,0 @@ -{{/* Make sure all variables are set properly */}} -{{- include "common.setup" . }} - -{{/* Render configmap for unmanic */}} -{{- include "unmanic.configmap" . }} - -{{/* Render the templates */}} -{{ include "common.postSetup" . }} diff --git a/charts/incubator/unmanic/CHANGELOG.md b/charts/stable/unmanic/CHANGELOG.md similarity index 100% rename from charts/incubator/unmanic/CHANGELOG.md rename to charts/stable/unmanic/CHANGELOG.md diff --git a/charts/incubator/unmanic/CONFIG.md b/charts/stable/unmanic/CONFIG.md similarity index 100% rename from charts/incubator/unmanic/CONFIG.md rename to charts/stable/unmanic/CONFIG.md diff --git a/charts/incubator/unmanic/Chart.yaml b/charts/stable/unmanic/Chart.yaml similarity index 97% rename from charts/incubator/unmanic/Chart.yaml rename to charts/stable/unmanic/Chart.yaml index efdb023313e..7a705f20cf2 100644 --- a/charts/incubator/unmanic/Chart.yaml +++ b/charts/stable/unmanic/Chart.yaml @@ -18,7 +18,7 @@ name: unmanic sources: - https://github.com/Unmanic/unmanic - https://hub.docker.com/r/josh5/unmanic -version: 0.0.4 +version: 1.0.0 annotations: truecharts.org/catagories: | - media diff --git a/charts/incubator/unmanic/README.md b/charts/stable/unmanic/README.md similarity index 100% rename from charts/incubator/unmanic/README.md rename to charts/stable/unmanic/README.md diff --git a/charts/incubator/unmanic/helm-values.md b/charts/stable/unmanic/helm-values.md similarity index 100% rename from charts/incubator/unmanic/helm-values.md rename to charts/stable/unmanic/helm-values.md diff --git a/charts/incubator/unmanic/questions.yaml b/charts/stable/unmanic/questions.yaml similarity index 100% rename from charts/incubator/unmanic/questions.yaml rename to charts/stable/unmanic/questions.yaml diff --git a/charts/incubator/unmanic/security.md b/charts/stable/unmanic/security.md similarity index 100% rename from charts/incubator/unmanic/security.md rename to charts/stable/unmanic/security.md diff --git a/charts/stable/unmanic/templates/common.yaml b/charts/stable/unmanic/templates/common.yaml new file mode 100644 index 00000000000..a6613c2ce21 --- /dev/null +++ b/charts/stable/unmanic/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/incubator/unmanic/values.yaml b/charts/stable/unmanic/values.yaml similarity index 92% rename from charts/incubator/unmanic/values.yaml rename to charts/stable/unmanic/values.yaml index 28d84a5498e..743ce0113ad 100644 --- a/charts/incubator/unmanic/values.yaml +++ b/charts/stable/unmanic/values.yaml @@ -15,10 +15,6 @@ env: TZ: UTC PUID: 568 -envFrom: - - configMapRef: - name: unmanic-config - service: main: ports: