mirror of
https://github.com/truenas/charts.git
synced 2026-04-05 19:58:21 +08:00
Publish new changes in catalog
This commit is contained in:
@@ -3,7 +3,7 @@ description: Home Assistant is an open source home automation that puts local co
|
||||
annotations:
|
||||
title: Home Assistant
|
||||
type: application
|
||||
version: 2.0.3
|
||||
version: 2.0.4
|
||||
apiVersion: v2
|
||||
appVersion: 2024.1.5
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
@@ -71,6 +71,8 @@ secret:
|
||||
#!/bin/sh
|
||||
config="/config/configuration.yaml"
|
||||
default="/default/init"
|
||||
// Attemp to get read/write access
|
||||
chmod +rw "$config" || echo "Failed to set permissions on [$config]"
|
||||
if [ ! -f "$config" ]; then
|
||||
echo "File [$config] does NOT exist. Creating..."
|
||||
cp "$default/configuration.default" "$config"
|
||||
@@ -60,6 +60,11 @@ workload:
|
||||
runAsGroup: 0
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
capabilities:
|
||||
add:
|
||||
- CHOWN
|
||||
- DAC_OVERRIDE
|
||||
- FOWNER
|
||||
command: /default/init/script.sh
|
||||
{{- include "ix.v1.common.app.postgresWait" (dict "name" "postgres-wait"
|
||||
"secretName" "postgres-creds") | nindent 8 }}
|
||||
@@ -3,7 +3,7 @@ description: Plex is a media server that allows you to stream your media to any
|
||||
annotations:
|
||||
title: Plex
|
||||
type: application
|
||||
version: 2.0.0
|
||||
version: 2.0.1
|
||||
apiVersion: v2
|
||||
appVersion: 1.32.8.7639
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
@@ -49,15 +49,17 @@ def migrate_common_lib(values):
|
||||
'plexID': {
|
||||
# We didn't have exposed this on UI the default
|
||||
# set by the container is 1000, so we will use that
|
||||
'user': 1000,
|
||||
'group': 1000,
|
||||
# if the environmentVariables contains PLEX_UID/PLEX_GID use that
|
||||
'user': next((e['value'] for e in values.get('environmentVariables', []) if e['name'] == 'PLEX_UID'), 1000),
|
||||
'group': next((e['value'] for e in values.get('environmentVariables', []) if e['name'] == 'PLEX_GID'), 1000),
|
||||
},
|
||||
# Migrate Config
|
||||
'TZ': values['timezone'],
|
||||
'plexConfig': {
|
||||
'imageSelector': 'plexPassImage' if values['enablePlexPass'] else 'image',
|
||||
'claimToken': values['claimToken'],
|
||||
'additionalEnvs': values.get('environmentVariables', []),
|
||||
# Filter out the PLEX_UID and PLEX_GID
|
||||
'additionalEnvs': [e for e in values.get('environmentVariables', []) if e['name'] not in ['PLEX_UID', 'PLEX_GID'] ],
|
||||
},
|
||||
'plexGPU': values.get('gpuConfiguration', {}),
|
||||
# Migrate Storage
|
||||
Reference in New Issue
Block a user