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) ## [invidious-7.0.12](https://github.com/truecharts/charts/compare/invidious-7.0.11...invidious-7.0.12) (2023-12-25)
### Chore ### 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) ## [invidious-7.0.3](https://github.com/truecharts/charts/compare/invidious-7.0.2...invidious-7.0.3) (2023-12-21)
### Chore ### 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" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: invidious name: invidious
version: 7.0.12 version: 7.0.13
appVersion: latest appVersion: latest
description: Open source alternative front-end to YouTube. description: Open source alternative front-end to YouTube.
home: https://truecharts.org/charts/stable/invidious 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: startup:
type: http type: http
envFrom: envFrom:
- configMapRef: - secretRef:
name: invidious-config name: invidious-secret
invidious: invidious:
network: network:
inbound: inbound:
@ -110,7 +110,6 @@ invidious:
miscellaneous: miscellaneous:
banner: "" banner: ""
use_pubsub_feeds: false use_pubsub_feeds: false
hmac_key: ""
dmca_content: [] dmca_content: []
cache_annotations: false cache_annotations: false
playlist_length_limit: 500 playlist_length_limit: 500

View File

@ -483,13 +483,6 @@ questions:
schema: schema:
type: boolean type: boolean
default: false 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 - variable: dmca_content
label: DMCA Content label: DMCA Content
description: List of video IDs where the "download" widget must be disabled, in order to comply with DMCA requests. 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 type: string
required: true required: true
default: Prefix default: Prefix
- variable: service - variable: overrideService
label: Linked Service label: Linked Service
schema: schema:
additional_attrs: true additional_attrs: true
@ -3187,6 +3180,7 @@ questions:
schema: schema:
type: list type: list
default: [] default: []
show_if: [["enabled", "=", true]]
items: items:
- variable: backupschedule - variable: backupschedule
label: BackupSchedule label: BackupSchedule
@ -3227,6 +3221,7 @@ questions:
schema: schema:
type: list type: list
default: [] default: []
show_if: [["enabled", "=", true]]
items: items:
- variable: backup - variable: backup
label: Backup label: Backup
@ -3788,45 +3783,91 @@ questions:
type: string type: string
required: true required: true
default: Prefix default: Prefix
- variable: certificateIssuer - variable: integrations
label: Cert-Manager clusterIssuer label: Integrations
description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates. Cannot be used combined with tls option below' description: Connect ingress with other charts
schema: schema:
type: string additional_attrs: true
default: "" type: dict
- variable: middlewares attrs:
label: Traefik Middlewares - variable: traefik
description: Add previously created Traefik Middlewares to this Ingress label: Traefik
schema: description: Connect ingress with Traefik
type: list
default: []
items:
- variable: name
label: Name
schema: schema:
type: string additional_attrs: true
default: "" type: dict
required: true 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 - variable: advanced
label: Show Advanced Settings label: Show Advanced Settings
description: Advanced settings are not covered by TrueCharts Support description: Advanced settings are not covered by TrueCharts Support
schema: schema:
type: boolean type: boolean
default: false 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 - variable: ingressClassName
label: (Advanced/Optional) IngressClass Name label: (Advanced/Optional) IngressClass Name
schema: schema:
@ -3858,6 +3899,7 @@ questions:
type: string type: string
default: "" default: ""
required: true required: true
- variable: certificateIssuer - variable: certificateIssuer
label: Use Cert-Manager clusterIssuer label: Use Cert-Manager clusterIssuer
description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates.' description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates.'

View File

@ -1,5 +1,12 @@
{{/* Define the configmap */}} {{/* 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 }} {{- $vNet := .Values.invidious.network }}
{{- $vLog := .Values.invidious.logging }} {{- $vLog := .Values.invidious.logging }}
@ -17,6 +24,7 @@
{{- $vUserMisc := .Values.invidious.default_user_preferences.miscellaneous }} {{- $vUserMisc := .Values.invidious.default_user_preferences.miscellaneous }}
enabled: true enabled: true
data: data:
HMAC_KEY: {{ $hmac }}
INVIDIOUS_CONFIG: | INVIDIOUS_CONFIG: |
# Database # Database
check_tables: true check_tables: true
@ -85,7 +93,7 @@ data:
# Miscellaneaous # Miscellaneaous
banner: {{ $vMisc.banner }} banner: {{ $vMisc.banner }}
use_pubsub_feeds: {{ $vMisc.use_pubsub_feeds }} use_pubsub_feeds: {{ $vMisc.use_pubsub_feeds }}
hmac_key: {{ $vMisc.hmac_key }} hmac_key: {{ $hmac }}
{{- if $vMisc.dmca_content }} {{- if $vMisc.dmca_content }}
dmca_content: dmca_content:
{{- range $vMisc.dmca_content }} {{- range $vMisc.dmca_content }}

View File

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