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