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

@@ -2,9 +2,9 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ include "chart.fullname" . }}
name: {{ include "bentopdf.fullname" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- include "bentopdf.labels" . | nindent 4 }}
{{- with .Values.httpRoute.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
@@ -25,7 +25,7 @@ spec:
{{- end }}
{{- else }}
# Default parentRef when parentRefs is empty or not set
- name: {{ .Values.gateway.name | default (printf "%s-gateway" (include "chart.fullName" .)) | quote }}
- name: {{ .Values.gateway.name | default (printf "%s-gateway" (include "bentopdf.fullName" .)) | quote }}
namespace: {{ default .Release.Namespace .Values.gateway.namespace | quote }}
sectionName: "http"
{{- end }}
@@ -44,7 +44,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
backendRefs:
- name: {{ include "chart.fullname" }}
- name: {{ include "bentopdf.fullname" }}
port: {{ $.Values.service.port }}
weight: 1
{{- end }}