feat(common): Release common-3.1.0 (#303)

This commit is contained in:
Bernd Schorgers 2024-04-04 08:05:57 +02:00 committed by GitHub
parent 55b1b3a383
commit 11f1a43664
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 185 additions and 19 deletions

View file

@ -64,7 +64,7 @@ spec:
name: {{ default .name $service.name }}
namespace: {{ default $rootContext.Release.Namespace .namespace }}
port: {{ default .port $servicePrimaryPort.port }}
weight: {{ default 1 .weight }}
weight: {{ include "bjw-s.common.lib.defaultKeepNonNullValue" (dict "value" .weight "default" 1) }}
{{- end }}
{{- if or (eq $routeKind "HTTPRoute") (eq $routeKind "GRPCRoute") }}
{{- with .matches }}