Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-12-25 12:56:27 +00:00
parent c52f1526d1
commit 7bdc62b20a
13 changed files with 115 additions and 66 deletions

View File

@ -1,9 +0,0 @@
## [invidious-7.0.12](https://github.com/truecharts/charts/compare/invidious-7.0.11...invidious-7.0.12) (2023-12-25)
### Chore
- update container image quay.io/invidious/invidious to latest[@1ecee58](https://github.com/1ecee58) by renovate ([#16444](https://github.com/truecharts/charts/issues/16444))

View File

@ -4,6 +4,15 @@
## [invidious-7.0.13](https://github.com/truecharts/charts/compare/invidious-7.0.12...invidious-7.0.13) (2023-12-25)
### Fix
- automatically create hmac key ([#16523](https://github.com/truecharts/charts/issues/16523))
## [invidious-7.0.12](https://github.com/truecharts/charts/compare/invidious-7.0.11...invidious-7.0.12) (2023-12-25)
### Chore
@ -88,12 +97,3 @@
## [invidious-7.0.3](https://github.com/truecharts/charts/compare/invidious-7.0.2...invidious-7.0.3) (2023-12-21)
### Chore
- bump everything to ensure patches are applied globally
### Fix
- ensure the cnpg GUI is included on CNPG apps

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: invidious
version: 7.0.12
version: 7.0.13
appVersion: latest
description: Open source alternative front-end to YouTube.
home: https://truecharts.org/charts/stable/invidious

View File

@ -0,0 +1,9 @@
## [invidious-7.0.13](https://github.com/truecharts/charts/compare/invidious-7.0.12...invidious-7.0.13) (2023-12-25)
### Fix
- automatically create hmac key ([#16523](https://github.com/truecharts/charts/issues/16523))

View File

@ -64,8 +64,8 @@ workload:
startup:
type: http
envFrom:
- configMapRef:
name: invidious-config
- secretRef:
name: invidious-secret
invidious:
network:
inbound:
@ -110,7 +110,6 @@ invidious:
miscellaneous:
banner: ""
use_pubsub_feeds: false
hmac_key: ""
dmca_content: []
cache_annotations: false
playlist_length_limit: 500

View File

@ -483,13 +483,6 @@ questions:
schema:
type: boolean
default: false
- variable: hmac_key
label: HMAC Key
description: HMAC signing key used for CSRF tokens and pubsub subscriptions verification. A random key must be generated and placed here.
schema:
type: string
private: true
default: ""
- variable: dmca_content
label: DMCA Content
description: List of video IDs where the "download" widget must be disabled, in order to comply with DMCA requests.
@ -2392,7 +2385,7 @@ questions:
type: string
required: true
default: Prefix
- variable: service
- variable: overrideService
label: Linked Service
schema:
additional_attrs: true
@ -3187,6 +3180,7 @@ questions:
schema:
type: list
default: []
show_if: [["enabled", "=", true]]
items:
- variable: backupschedule
label: BackupSchedule
@ -3227,6 +3221,7 @@ questions:
schema:
type: list
default: []
show_if: [["enabled", "=", true]]
items:
- variable: backup
label: Backup
@ -3788,45 +3783,91 @@ questions:
type: string
required: true
default: Prefix
- variable: certificateIssuer
label: Cert-Manager clusterIssuer
description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates. Cannot be used combined with tls option below'
- variable: integrations
label: Integrations
description: Connect ingress with other charts
schema:
type: string
default: ""
- variable: middlewares
label: Traefik Middlewares
description: Add previously created Traefik Middlewares to this Ingress
schema:
type: list
default: []
items:
- variable: name
label: Name
additional_attrs: true
type: dict
attrs:
- variable: traefik
label: Traefik
description: Connect ingress with Traefik
schema:
type: string
default: ""
required: true
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: enabled
schema:
type: boolean
default: true
- variable: allowCors
label: 'Allow Cross Origin Requests (advanced)'
schema:
type: boolean
default: false
show_if: [["enabled", "=", true]]
- variable: entrypoints
label: Entrypoints
schema:
type: list
default: ["websecure"]
show_if: [["enabled", "=", true]]
items:
- variable: entrypoint
label: Entrypoint
schema:
type: string
- variable: middlewares
label: Middlewares
schema:
type: list
default: []
show_if: [["enabled", "=", true]]
items:
- variable: middleware
label: Middleware
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: name
schema:
type: string
default: ""
required: true
- variable: namespace
label: 'namespace (optional)'
schema:
type: string
default: ""
- variable: certManager
label: certManager
description: Connect ingress with certManager
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: enabled
schema:
type: boolean
default: false
- variable: certificateIssuer
label: certificateIssuer
description: defaults to chartname
schema:
type: string
default: ""
show_if: [["enabled", "=", true]]
- variable: advanced
label: Show Advanced Settings
description: Advanced settings are not covered by TrueCharts Support
schema:
type: boolean
default: false
- variable: entrypoint
label: (Advanced) Traefik Entrypoint
description: Entrypoint used by Traefik when using Traefik as Ingress Provider
schema:
type: string
default: websecure
show_if: [["advanced", "=", true]]
required: true
- variable: allowCors
label: "Allow Cross Origin Requests"
schema:
type: boolean
show_if: [["advanced", "=", true]]
default: false
- variable: ingressClassName
label: (Advanced/Optional) IngressClass Name
schema:
@ -3858,6 +3899,7 @@ questions:
type: string
default: ""
required: true
- variable: certificateIssuer
label: Use Cert-Manager clusterIssuer
description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates.'

View File

@ -1,5 +1,12 @@
{{/* Define the configmap */}}
{{- define "invidious.config" -}}
{{- define "invidious.secret" -}}
{{- $secretName := printf "%s-invidious-secret" (include "tc.v1.common.lib.chart.names.fullname" .) -}}
{{- $hmac := randAlphaNum 64 -}}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
{{- $hmac = (index .data "HMAC_KEY") | b64dec -}}
{{- end -}}
{{- $vNet := .Values.invidious.network }}
{{- $vLog := .Values.invidious.logging }}
@ -17,6 +24,7 @@
{{- $vUserMisc := .Values.invidious.default_user_preferences.miscellaneous }}
enabled: true
data:
HMAC_KEY: {{ $hmac }}
INVIDIOUS_CONFIG: |
# Database
check_tables: true
@ -85,7 +93,7 @@ data:
# Miscellaneaous
banner: {{ $vMisc.banner }}
use_pubsub_feeds: {{ $vMisc.use_pubsub_feeds }}
hmac_key: {{ $vMisc.hmac_key }}
hmac_key: {{ $hmac }}
{{- if $vMisc.dmca_content }}
dmca_content:
{{- range $vMisc.dmca_content }}

View File

@ -2,9 +2,9 @@
{{- include "tc.v1.common.loader.init" . }}
{{/* Render configmap for invidious */}}
{{- $configmapFile := include "invidious.config" . | fromYaml -}}
{{- if $configmapFile -}}
{{- $_ := set .Values.configmap "invidious-config" $configmapFile -}}
{{- $secretFile := include "invidious.secret" . | fromYaml -}}
{{- if $secretFile -}}
{{- $_ := set .Values.secret "invidious-secret" $secretFile -}}
{{- end -}}
{{/* Render the templates */}}