mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-07-27 08:10:23 +08:00
feat(unmanic): move to stable and remove configmap (#1820)
This commit is contained in:
@@ -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 -}}
|
||||
@@ -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" . }}
|
||||
@@ -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
|
||||
1
charts/stable/unmanic/templates/common.yaml
Normal file
1
charts/stable/unmanic/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
@@ -15,10 +15,6 @@ env:
|
||||
TZ: UTC
|
||||
PUID: 568
|
||||
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: unmanic-config
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
Reference in New Issue
Block a user