From 494b9edab79527373d4a3a7e5dd3c74d96cdc9f8 Mon Sep 17 00:00:00 2001 From: Bertalan Gergaly Date: Wed, 15 Nov 2023 07:34:11 +0100 Subject: [PATCH] Add support for loadBalancerIP --- charts/uptime-kuma/templates/service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/uptime-kuma/templates/service.yaml b/charts/uptime-kuma/templates/service.yaml index dd067cc..930864e 100644 --- a/charts/uptime-kuma/templates/service.yaml +++ b/charts/uptime-kuma/templates/service.yaml @@ -18,5 +18,8 @@ spec: nodePort: {{ . }} {{- end }} name: http +{{- if .Values.service.loadBalancerIP }} + loadBalancerIP: {{ .Values.service.loadBalancerIP | quote }} +{{- end }} selector: {{- include "uptime-kuma.selectorLabels" . | nindent 4 }}