mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
Fix frontend probe generation
This commit is contained in:
parent
16308dbe48
commit
1bf70a1979
3 changed files with 8 additions and 19 deletions
|
|
@ -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)) -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue