Fix frontend probe generation

This commit is contained in:
Skyler Mäntysaari 2023-03-11 16:09:03 +02:00
parent 16308dbe48
commit 1bf70a1979
3 changed files with 8 additions and 19 deletions

View File

@ -9,7 +9,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy - https://github.com/TeamPiped/piped-proxy
keywords: keywords:
- streaming - streaming
version: 1.1.0 version: 1.1.1
appVersion: latest appVersion: latest
kubeVersion: ">=1.22.0-0" kubeVersion: ">=1.22.0-0"
maintainers: maintainers:
@ -26,5 +26,5 @@ dependencies:
condition: postgresql.enabled condition: postgresql.enabled
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: added - kind: fixed
description: Ability to use a secret for backend database credentials description: Frontend probe definitions

View File

@ -1,6 +1,6 @@
# piped # 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. 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 ## Changelog
### Version 1.1.0 ### Version 1.1.1
#### Added #### Added
* Ability to use a secret for backend database credentials N/A
#### Changed #### Changed
@ -186,18 +186,7 @@ N/A
#### Fixed #### Fixed
N/A * Frontend probe definitions
### 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.
## Support ## Support

View File

@ -2,7 +2,7 @@
Probes selection logic. Probes selection logic.
*/}} */}}
{{- define "frontend.controller.probes" -}} {{- define "frontend.controller.probes" -}}
{{- $primaryService := get .Values.backend.service (include "frontend.service.primary" .) -}} {{- $primaryService := get .Values.frontend.service (include "frontend.service.primary" .) -}}
{{- $primaryPort := "" -}} {{- $primaryPort := "" -}}
{{- if $primaryService -}} {{- if $primaryService -}}
{{- $primaryPort = get $primaryService.ports (include "frontend.classes.service.ports.primary" (dict "serviceName" (include "frontend.service.primary" .) "values" $primaryService)) -}} {{- $primaryPort = get $primaryService.ports (include "frontend.classes.service.ports.primary" (dict "serviceName" (include "frontend.service.primary" .) "values" $primaryService)) -}}