From 1bf70a19795e1c12a46135575e3aa601f9db07c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Sat, 11 Mar 2023 16:09:03 +0200 Subject: [PATCH] Fix frontend probe generation --- charts/apps/piped/Chart.yaml | 6 +++--- charts/apps/piped/README.md | 19 ++++--------------- .../piped/templates/frontend/lib/_probes.tpl | 2 +- 3 files changed, 8 insertions(+), 19 deletions(-) diff --git a/charts/apps/piped/Chart.yaml b/charts/apps/piped/Chart.yaml index 50615b9..d01ebae 100644 --- a/charts/apps/piped/Chart.yaml +++ b/charts/apps/piped/Chart.yaml @@ -9,7 +9,7 @@ sources: - https://github.com/TeamPiped/piped-proxy keywords: - streaming -version: 1.1.0 +version: 1.1.1 appVersion: latest kubeVersion: ">=1.22.0-0" maintainers: @@ -26,5 +26,5 @@ dependencies: condition: postgresql.enabled annotations: artifacthub.io/changes: |- - - kind: added - description: Ability to use a secret for backend database credentials + - kind: fixed + description: Frontend probe definitions diff --git a/charts/apps/piped/README.md b/charts/apps/piped/README.md index 7a7e353..f02c1ba 100644 --- a/charts/apps/piped/README.md +++ b/charts/apps/piped/README.md @@ -1,6 +1,6 @@ # piped -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-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. @@ -174,11 +174,11 @@ helm install piped TeamPiped/piped -f values.yaml ## Changelog -### Version 1.1.0 +### Version 1.1.1 #### Added -* Ability to use a secret for backend database credentials +N/A #### Changed @@ -186,18 +186,7 @@ N/A #### Fixed -N/A - -### Version 1.0.0 - -#### Added - -N/A - -### Changed - -* Updated to common v1.3.2 which bumps kubeVersion to 1.22. -* Enabled the probes by default. +* Frontend probe definitions ## Support diff --git a/charts/apps/piped/templates/frontend/lib/_probes.tpl b/charts/apps/piped/templates/frontend/lib/_probes.tpl index 9bf08a6..828b33a 100644 --- a/charts/apps/piped/templates/frontend/lib/_probes.tpl +++ b/charts/apps/piped/templates/frontend/lib/_probes.tpl @@ -2,7 +2,7 @@ Probes selection logic. */}} {{- define "frontend.controller.probes" -}} -{{- $primaryService := get .Values.backend.service (include "frontend.service.primary" .) -}} +{{- $primaryService := get .Values.frontend.service (include "frontend.service.primary" .) -}} {{- $primaryPort := "" -}} {{- if $primaryService -}} {{- $primaryPort = get $primaryService.ports (include "frontend.classes.service.ports.primary" (dict "serviceName" (include "frontend.service.primary" .) "values" $primaryService)) -}}