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