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

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