BREAKING CHANGE feat(prowlarr) add gui option to disable auth and postgres support (#6343)

* fix(prowlarr) set gui option for auth

* bump

* set default auth to Forms

* _sectrets.tpl

* add the secrets.tpl to templates dir

* postgres support

* Update charts/stable/prowlarr/templates/_secret.tpl

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

* Update charts/stable/prowlarr/templates/_secret.tpl

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

* Update charts/stable/prowlarr/templates/_secret.tpl

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

* Update charts/stable/prowlarr/values.yaml

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

* Update charts/stable/prowlarr/questions.yaml

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

* Update charts/stable/prowlarr/templates/_secret.tpl

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

* Update charts/stable/prowlarr/templates/_secret.tpl

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

* Update charts/stable/prowlarr/templates/_secret.tpl

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

* port

* Update charts/stable/prowlarr/questions.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* fix postgres, use secretKeyRef

* Delete _secret.tpl

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

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>

* update values and chart

---------

Signed-off-by: Xstar97 <Xstar97@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Co-authored-by: Xstar97 <Xstar97@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Xstar97TheNoob
2023-02-28 09:30:54 +01:00
committed by GitHub
co-authored by Xstar97 Stavros Kois Kjeld Schouten-Lebbing
parent ca0cc83ecb
commit ccb8b27265
4 changed files with 56 additions and 7 deletions
+5 -2
View File
@@ -4,6 +4,10 @@ dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 11.0.18
description: Indexer manager/proxy built on the popular arr net base stack to integrate with your various PVR apps.
home: https://truecharts.org/charts/stable/prowlarr
icon: https://truecharts.org/img/hotlink-ok/chart-icons/prowlarr.png
@@ -19,10 +23,9 @@ maintainers:
name: prowlarr
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/prowlarr
- https://ghcr.io/onedr0p/prowlarr-develop
- https://github.com/Prowlarr/Prowlarr
- https://github.com/k8s-at-home/container-images
version: 8.0.27
version: 9.0.0
annotations:
truecharts.org/catagories: |
- media
+22 -1
View File
@@ -8,7 +8,28 @@ questions:
# Include{replicas}
# Include{replica1}
# Include{controllerExpertExtraArgs}
# Docker specific env
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: PROWLARR__AUTHENTICATION_METHOD
label: Auth Method
description: Sets the auth method.
schema:
type: string
default: ""
enum:
- value: ""
description: In-App Setting
- value: External
description: External/None
- value: Basic
description: Basic
- value: Forms
description: Forms
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
+6 -1
View File
@@ -1 +1,6 @@
{{ include "tc.common.loader.all" . }}
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}
+23 -3
View File
@@ -1,22 +1,42 @@
image:
repository: tccr.io/truecharts/prowlarr
tag: 1.3.1.2796@sha256:e9d90ff7367ebbad0c45e9a39ee2cafad70109b962c523a9a2291fd9d620443b
tag: 1.3.1.2796@sha256:64a815f6eb0ec4d553c3797413a520fa40d0ac1e137a1b11c685e21e32d66764
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
env:
PROWLARR__PORT: "{{ .Values.service.main.ports.main.port }}"
PROWLARR__AUTHENTICATION_METHOD: ""
PROWLARR__POSTGRES_PORT: 5432
PROWLARR__POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
PROWLARR__POSTGRES_MAIN_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
PROWLARR__POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
PROWLARR__POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
service:
main:
ports:
main:
port: 9696
targetPort: 9696
persistence:
config:
enabled: true
mountPath: "/config"
mountPath: /config
postgresql:
enabled: true
existingSecret: dbcreds
postgresqlDatabase: prowlarr
postgresqlUsername: prowlarr
portal:
enabled: true