From 7bdc62b20af26d793d299cabf4df0de3f84c14f2 Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Mon, 25 Dec 2023 12:56:27 +0000 Subject: [PATCH] Commit new Chart releases for TrueCharts Signed-off-by: TrueCharts-Bot --- stable/invidious/7.0.12/app-changelog.md | 9 -- .../invidious/{7.0.12 => 7.0.13}/CHANGELOG.md | 18 +-- .../invidious/{7.0.12 => 7.0.13}/Chart.yaml | 2 +- stable/invidious/{7.0.12 => 7.0.13}/LICENSE | 0 stable/invidious/{7.0.12 => 7.0.13}/README.md | 0 stable/invidious/7.0.13/app-changelog.md | 9 ++ .../{7.0.12 => 7.0.13}/app-readme.md | 0 .../charts/common-16.2.21.tgz | Bin .../{7.0.12 => 7.0.13}/ix_values.yaml | 5 +- .../{7.0.12 => 7.0.13}/questions.yaml | 120 ++++++++++++------ .../{7.0.12 => 7.0.13}/templates/_config.tpl | 12 +- .../{7.0.12 => 7.0.13}/templates/common.yaml | 6 +- .../invidious/{7.0.12 => 7.0.13}/values.yaml | 0 13 files changed, 115 insertions(+), 66 deletions(-) delete mode 100644 stable/invidious/7.0.12/app-changelog.md rename stable/invidious/{7.0.12 => 7.0.13}/CHANGELOG.md (91%) rename stable/invidious/{7.0.12 => 7.0.13}/Chart.yaml (98%) rename stable/invidious/{7.0.12 => 7.0.13}/LICENSE (100%) rename stable/invidious/{7.0.12 => 7.0.13}/README.md (100%) create mode 100644 stable/invidious/7.0.13/app-changelog.md rename stable/invidious/{7.0.12 => 7.0.13}/app-readme.md (100%) rename stable/invidious/{7.0.12 => 7.0.13}/charts/common-16.2.21.tgz (100%) rename stable/invidious/{7.0.12 => 7.0.13}/ix_values.yaml (97%) rename stable/invidious/{7.0.12 => 7.0.13}/questions.yaml (97%) rename stable/invidious/{7.0.12 => 7.0.13}/templates/_config.tpl (94%) rename stable/invidious/{7.0.12 => 7.0.13}/templates/common.yaml (58%) rename stable/invidious/{7.0.12 => 7.0.13}/values.yaml (100%) diff --git a/stable/invidious/7.0.12/app-changelog.md b/stable/invidious/7.0.12/app-changelog.md deleted file mode 100644 index 69e5713ff6..0000000000 --- a/stable/invidious/7.0.12/app-changelog.md +++ /dev/null @@ -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)) - - \ No newline at end of file diff --git a/stable/invidious/7.0.12/CHANGELOG.md b/stable/invidious/7.0.13/CHANGELOG.md similarity index 91% rename from stable/invidious/7.0.12/CHANGELOG.md rename to stable/invidious/7.0.13/CHANGELOG.md index f39fd343ce..e059d14968 100644 --- a/stable/invidious/7.0.12/CHANGELOG.md +++ b/stable/invidious/7.0.13/CHANGELOG.md @@ -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 - - - diff --git a/stable/invidious/7.0.12/Chart.yaml b/stable/invidious/7.0.13/Chart.yaml similarity index 98% rename from stable/invidious/7.0.12/Chart.yaml rename to stable/invidious/7.0.13/Chart.yaml index 1f3609b878..eef74b472c 100644 --- a/stable/invidious/7.0.12/Chart.yaml +++ b/stable/invidious/7.0.13/Chart.yaml @@ -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 diff --git a/stable/invidious/7.0.12/LICENSE b/stable/invidious/7.0.13/LICENSE similarity index 100% rename from stable/invidious/7.0.12/LICENSE rename to stable/invidious/7.0.13/LICENSE diff --git a/stable/invidious/7.0.12/README.md b/stable/invidious/7.0.13/README.md similarity index 100% rename from stable/invidious/7.0.12/README.md rename to stable/invidious/7.0.13/README.md diff --git a/stable/invidious/7.0.13/app-changelog.md b/stable/invidious/7.0.13/app-changelog.md new file mode 100644 index 0000000000..99cf6e82f7 --- /dev/null +++ b/stable/invidious/7.0.13/app-changelog.md @@ -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)) + + \ No newline at end of file diff --git a/stable/invidious/7.0.12/app-readme.md b/stable/invidious/7.0.13/app-readme.md similarity index 100% rename from stable/invidious/7.0.12/app-readme.md rename to stable/invidious/7.0.13/app-readme.md diff --git a/stable/invidious/7.0.12/charts/common-16.2.21.tgz b/stable/invidious/7.0.13/charts/common-16.2.21.tgz similarity index 100% rename from stable/invidious/7.0.12/charts/common-16.2.21.tgz rename to stable/invidious/7.0.13/charts/common-16.2.21.tgz diff --git a/stable/invidious/7.0.12/ix_values.yaml b/stable/invidious/7.0.13/ix_values.yaml similarity index 97% rename from stable/invidious/7.0.12/ix_values.yaml rename to stable/invidious/7.0.13/ix_values.yaml index bc53115734..3c5402cf44 100644 --- a/stable/invidious/7.0.12/ix_values.yaml +++ b/stable/invidious/7.0.13/ix_values.yaml @@ -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 diff --git a/stable/invidious/7.0.12/questions.yaml b/stable/invidious/7.0.13/questions.yaml similarity index 97% rename from stable/invidious/7.0.12/questions.yaml rename to stable/invidious/7.0.13/questions.yaml index cbd7a58481..c71cfbeb97 100644 --- a/stable/invidious/7.0.12/questions.yaml +++ b/stable/invidious/7.0.13/questions.yaml @@ -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.' diff --git a/stable/invidious/7.0.12/templates/_config.tpl b/stable/invidious/7.0.13/templates/_config.tpl similarity index 94% rename from stable/invidious/7.0.12/templates/_config.tpl rename to stable/invidious/7.0.13/templates/_config.tpl index c0867f71b4..05c49f3be4 100644 --- a/stable/invidious/7.0.12/templates/_config.tpl +++ b/stable/invidious/7.0.13/templates/_config.tpl @@ -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 }} diff --git a/stable/invidious/7.0.12/templates/common.yaml b/stable/invidious/7.0.13/templates/common.yaml similarity index 58% rename from stable/invidious/7.0.12/templates/common.yaml rename to stable/invidious/7.0.13/templates/common.yaml index 572b59322e..e349f5c1fb 100644 --- a/stable/invidious/7.0.12/templates/common.yaml +++ b/stable/invidious/7.0.13/templates/common.yaml @@ -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 */}} diff --git a/stable/invidious/7.0.12/values.yaml b/stable/invidious/7.0.13/values.yaml similarity index 100% rename from stable/invidious/7.0.12/values.yaml rename to stable/invidious/7.0.13/values.yaml