Compare commits

...

2 Commits

Author SHA1 Message Date
renovate[bot] 2859ccfe61
chore(deps): update helm chart postgresql to v13.4.4 (#94)
* chore(deps): update helm chart postgresql to v13.4.4
* chore: Auto-update chart metadata

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-05-02 16:08:16 +03:00
Skyler Mäntysaari 1ee4d9b717
Support for more backend config options. (#91)
* Support for more backend config options.
* Support for more backend config options, part two.
* Update Chart.yaml
* Update README for chart
2024-05-02 15:51:55 +03:00
3 changed files with 26 additions and 7 deletions

View File

@ -10,7 +10,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy
keywords:
- streaming
version: 5.1.4
version: 5.3.0
appVersion: latest
kubeVersion: ">=1.22.0-0"
maintainers:
@ -23,9 +23,9 @@ dependencies:
version: 1.5.1
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 13.2.30
version: 13.4.4
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |-
- kind: fixed
description: backend env var related templates
- kind: changed
description: Upgraded `postgresql` chart dependency to version 13.4.4

View File

@ -1,6 +1,6 @@
# piped
![Version: 5.1.4](https://img.shields.io/badge/Version-5.1.4-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 5.3.0](https://img.shields.io/badge/Version-5.3.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Piped is an alternative privacy-friendly YouTube frontend which is efficient by design.
@ -19,7 +19,7 @@ Kubernetes: `>=1.22.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://bjw-s.github.io/helm-charts | common | 1.5.1 |
| https://charts.bitnami.com/bitnami | postgresql | 13.2.30 |
| https://charts.bitnami.com/bitnami | postgresql | 13.4.4 |
## Installing the Chart

View File

@ -32,6 +32,19 @@ data:
{{- else }}
{{- fail "PROXY_PART needs to be set in config values or ytproxy ingress must be enabled."}}
{{ end }}
{{- if (and .Values.backend.config.REQWEST_PROXY .Values.backend.config.REQWEST_PROXY_USER .Values.backend.config.REQWEST_PROXY_PASS) }}
REQWEST_PROXY: {{ .Values.backend.config.REQWEST_PROXY }}
REQWEST_PROXY_USER: {{ .Values.backend.config.REQWEST_PROXY_USER }}
REQWEST_PROXY_PASS: {{ .Values.backend.config.REQWEST_PROXY_PASS }}
{{- else if and (not .Values.backend.config.REQWEST_PROXY_USER) (not .Values.backend.config.REQWEST_PROXY_PASS) (.Values.backend.config.REQWEST_PROXY) }}
REQWEST_PROXY: {{ .Values.backend.config.REQWEST_PROXY }}
{{- end }}
{{- if .Values.backend.config.CAPTCHA_BASE_URL }}
CAPTCHA_BASE_URL: {{ .Values.backend.config.CAPTCHA_BASE_URL }}
{{- else if (and .Values.backend.config.CAPTCHA_BASE_URL .Values.backend.config.CAPTCHA_API_KEY) }}
CAPTCHA_BASE_URL: {{ .Values.backend.config.CAPTCHA_BASE_URL }}
CAPTCHA_API_KEY: {{ .Values.backend.config.CAPTCHA_API_KEY }}
{{- end}}
{{- if .Values.backend.config.API_URL }}
API_URL: {{ .Values.backend.config.API_URL }}
{{- else if (and .Values.ingress.backend.enabled .Values.ingress.backend.tls) }}
@ -72,7 +85,6 @@ data:
{{- else if .Values.postgresql.enabled }}
hibernate.connection.url: jdbc:postgresql://piped-postgresql/{{ .Values.postgresql.auth.database}}
hibernate.connection.driver_class: org.postgresql.Driver
hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.username: {{.Values.postgresql.auth.username }}
hibernate.connection.password: {{.Values.postgresql.auth.password }}
{{- else }}
@ -83,3 +95,10 @@ data:
{{- else }}
SENTRY_DSN:
{{- end }}
{{- if (and .Values.backend.config.MATRIX_SERVER .Values.backend.config.MATRIX_TOKEN) }}
MATRIX_SERVER: {{.Values.backend.config.MATRIX_SERVER }}
MATRIX_TOKEN: {{ .Values.backend.config.MATRIX_TOKEN }}
{{- else if (not .Values.backend.config.MATRIX_TOKEN) }}
MATRIX_SERVER: https://matrix-client.matrix.org
{{- end }}