chore(audiobookshelf): set opencors middleware (#4411)

* chore(audiobookshelf): temporary allow users to disable middlewarers

* opencors

* Update charts/stable/audiobookshelf/templates/common.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2022-11-14 01:09:49 +02:00
committed by GitHub
parent a10a6aebf7
commit 5347e23acc
3 changed files with 25 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/audiobookshelf
- https://hub.docker.com/r/advplyr/audiobookshelf
- https://github.com/advplyr/audiobookshelf
version: 3.0.4
version: 3.0.5
annotations:
truecharts.org/catagories: |
- media

View File

@@ -11,8 +11,8 @@ questions:
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
@@ -20,14 +20,14 @@ questions:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 10223
@@ -38,24 +38,24 @@ questions:
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: audiobooks
label: "App Audiobooks Storage"
description: "Stores the Application Audiobooks."
label: App Audiobooks Storage
description: Stores the Application Audiobooks.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: metadata
label: "App Metadata Storage"
description: "Stores the Application Metadata."
label: App Metadata Storage
description: Stores the Application Metadata.
schema:
additional_attrs: true
type: dict
@@ -64,7 +64,7 @@ questions:
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
label: Main Ingress
schema:
additional_attrs: true
type: dict
@@ -76,41 +76,41 @@ questions:
# Include{security}
# Include{securityContextAdvancedRoot}
- variable: privileged
label: "Privileged mode"
label: Privileged mode
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
label: ReadOnly Root Filesystem
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
label: Allow Privilege Escalation
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
label: runAsNonRoot
schema:
type: boolean
default: false
# Include{podSecurityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568

View File

@@ -1,8 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secrets for audiobookshelf */}}
{{- include "audiobookshelf.secrets" . }}
{{- $newMiddlewares := list "tc-opencors-chain" }}
{{- $_ := set .Values.ingress.main "fixedMiddlewares" $newMiddlewares -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}