chore: replace chart value from the _helpers.tpl and set it to bentopdf
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user