chore(stash) remove redundant env + housekeeping **BREAKING CHANGES** (#10547)
This commit is contained in:
@@ -18,7 +18,7 @@ name: stash
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/stash
|
||||
- https://github.com/stashapp/stash
|
||||
version: 10.0.25
|
||||
version: 11.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
env:
|
||||
STASH_PORT: 9999
|
||||
STASH_STASH: "/media"
|
||||
STASH_GENERATED: "/root/.stash/generated"
|
||||
STASH_METADATA: "/root/.stash/metadata"
|
||||
STASH_CACHE: "/root/.stash/cache"
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
mountPath: /root/.stash
|
||||
media:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
mountPath: /media
|
||||
@@ -11,19 +11,6 @@ questions:
|
||||
# Include{podSpec}
|
||||
# Include{containerMain}
|
||||
|
||||
|
||||
- variable: env
|
||||
group: "App Configuration"
|
||||
label: "Image Environment"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: STASH_PORT
|
||||
label: "STASH_PORT"
|
||||
schema:
|
||||
type: int
|
||||
default: 9999
|
||||
# Include{containerBasic}
|
||||
# Include{containerAdvanced}
|
||||
|
||||
@@ -57,6 +44,30 @@ questions:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
- variable: cache
|
||||
label: "App Cache Storage"
|
||||
description: "Stores the Application Cache."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
- variable: metadata
|
||||
label: "App MetaData Storage"
|
||||
description: "Stores the Application MetaData."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
- variable: data
|
||||
label: "App Data Storage"
|
||||
description: "Stores the Application Data."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceList}
|
||||
# Include{ingressRoot}
|
||||
@@ -81,7 +92,7 @@ questions:
|
||||
default: 0
|
||||
- variable: runAsGroup
|
||||
label: "runAsGroup"
|
||||
description: "The groupID this App of the user running the application"
|
||||
description: "The groupID of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 0
|
||||
|
||||
@@ -2,23 +2,20 @@ image:
|
||||
repository: tccr.io/truecharts/stash
|
||||
tag: v0.21.0@sha256:0cc9317fd946f62239e1a25bf433ec222926afe51ab19371e38f17bf40aee240
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
securityContext:
|
||||
container:
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 9999
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/root/.stash"
|
||||
portal:
|
||||
open:
|
||||
enabled: true
|
||||
securityContext:
|
||||
container:
|
||||
runAsNonRoot: false
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
workload:
|
||||
main:
|
||||
podSpec:
|
||||
@@ -26,7 +23,28 @@ workload:
|
||||
main:
|
||||
env:
|
||||
STASH_PORT: "{{ .Values.service.main.ports.main.port }}"
|
||||
# STASH_STASH:
|
||||
# STASH_GENERATED:
|
||||
# STASH_METADATA:
|
||||
# STASH_CACHE:
|
||||
STASH_STASH: /data
|
||||
STASH_GENERATED: /generated
|
||||
STASH_METADATA: /metadata
|
||||
STASH_CACHE: /cache
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/root/.stash"
|
||||
cache:
|
||||
enabled: true
|
||||
mountPath: "/cache"
|
||||
generated:
|
||||
enabled: true
|
||||
mountPath: "/generated"
|
||||
metadata:
|
||||
enabled: true
|
||||
mountPath: "/metadata"
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/data"
|
||||
|
||||
portal:
|
||||
open:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user