Skip to content

Commit

Permalink
fix: tweak
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Sep 24, 2024
1 parent dd070e1 commit 22469cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/vald/templates/gateway/ing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
{{- $reflectionEnabled := .Values.defaults.server_config.servers.grpc.server.grpc.enable_reflection -}}
{{- $filter := .Values.gateway.filter -}}
{{- $filterIngEnabled := and $filter.enabled $filter.ingress.enabled -}}
{{- $filterReflectionEnabled := and $filter.enabled (default $reflectionEnabled $filter.server_config.servers.grpc.enable_reflection) -}}
{{- $filterReflectionEnabled := and $filterIngEnabled (default $reflectionEnabled $filter.server_config.servers.grpc.enable_reflection) -}}
{{- $mirror := .Values.gateway.mirror -}}
{{- $mirrorIngEnabled := and $mirror.enabled $mirror.ingress.enabled -}}
{{- $lb := .Values.gateway.lb -}}
{{- $lbIngEnabled := and $lb.enabled $lb.ingress.enabled -}}
{{- $lbReflectionEnabled := and $lb.enabled (default $reflectionEnabled $lb.server_config.servers.grpc.enable_reflection) -}}
{{- $lbReflectionEnabled := and $lbIngEnabled (default $reflectionEnabled $lb.server_config.servers.grpc.enable_reflection) -}}
{{- $lbReflectionEnabled := and $lb.enabled -}}
{{- $gateway := "" -}}
{{- $gatewayName := "" -}}
Expand Down

0 comments on commit 22469cc

Please sign in to comment.