chore: replace chart value from the _helpers.tpl and set it to bentopdf

This commit is contained in:
Tom Zaspel
2026-02-19 11:06:50 +01:00
parent 1c7cc36472
commit b4ff2f68f8
8 changed files with 33 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
{{- if .Values.gateway.enabled -}}
{{- $gatewayName := .Values.gateway.name -}}
{{- if not $gatewayName -}}
{{- $gatewayName = printf "%s-gateway" (include "chart.fullname" .) -}}
{{- $gatewayName = printf "%s-gateway" (include "bentopdf.fullname" .) -}}
{{- end -}}
{{- $gatewayNs := default .Release.Namespace .Values.gateway.namespace -}}
apiVersion: gateway.networking.k8s.io/v1
@@ -10,7 +10,7 @@ metadata:
name: {{ $gatewayName }}
namespace: {{ $gatewayNs }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- include "bentopdf.labels" . | nindent 4 }}
{{- with .Values.gateway.annotations }}
annotations:
{{- toYaml . | nindent 4 }}