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
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

View File

@ -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

View File

@ -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)) -}}