UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Verified Commit 40e69450 authored by Micah Nagel's avatar Micah Nagel :moneybag:
Browse files

Allow setting minProtocolVersion on istio gateways

parent 48c96c6f
No related branches found
No related tags found
1 merge request!2838Allow setting minProtocolVersion on istio gateways
Pipeline #1842142 passed
......@@ -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 }}
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment