diff --git a/chart/templates/istio/values.yaml b/chart/templates/istio/values.yaml index 63fbeceee129fd0c17c8519bf2d1b9a708294480..e699ea9e0be74298f69baaf0eee4cd27cc125c12 100644 --- a/chart/templates/istio/values.yaml +++ b/chart/templates/istio/values.yaml @@ -121,6 +121,10 @@ gateways: {{- if or (eq $tlsMode "SIMPLE") (eq $tlsMode "MUTUAL") }} credentialName: {{ $index }}-{{ $name }}-cert {{- end }} + {{- $tlsMinVersion := (dig "tls" "minProtocolVersion" "" $values) }} + {{- if $tlsMinVersion }} + minProtocolVersion: {{ $tlsMinVersion }} + {{- end }} {{- end }} {{- else if ($values.ports) }} {{- range $values.ports }} @@ -134,6 +138,10 @@ gateways: {{- if or (eq $tlsMode "SIMPLE") (eq $tlsMode "MUTUAL") }} credentialName: {{ $name }}-cert {{- end }} + {{- $tlsMinVersion := (dig "tls" "minProtocolVersion" "" $values) }} + {{- if $tlsMinVersion }} + minProtocolVersion: {{ $tlsMinVersion }} + {{- end }} {{- end }} {{- else }} - hosts: @@ -148,6 +156,10 @@ gateways: {{- if or (eq $tlsMode "SIMPLE") (eq $tlsMode "MUTUAL") }} credentialName: {{ $name }}-cert {{- end }} + {{- $tlsMinVersion := (dig "tls" "minProtocolVersion" "" $values) }} + {{- if $tlsMinVersion }} + minProtocolVersion: {{ $tlsMinVersion }} + {{- end }} {{- end }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index 2ca7e16cb7a88154f3af87068acb098a33599f3c..f5a9a40d724345f25e66a7d8242d62508d8082d2 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -206,6 +206,7 @@ istio: tls: key: "" cert: "" + minProtocolVersion: "" # private: # ingressGateway: "private-ingressgateway" # hosts: @@ -223,6 +224,7 @@ istio: # tls: # key: "" # cert: "" + # minProtocolVersion: "" # passthrough: # ingressGateway: "passthrough-ingressgateway" # hosts: @@ -245,6 +247,7 @@ istio: # tls: # key: "" # cert: "" + # minProtocolVersion: "" # - hosts: # - "example.bigbang.dev" # port: @@ -257,6 +260,7 @@ istio: # tls: # key: "" # cert: "" + # minProtocolVersion: "" # passthrough: # ingressGateway: "passthrough-ingressgateway" # hosts: