Skip to content

Commit

Permalink
fix: backendtls minversion (envoyproxy#3835)
Browse files Browse the repository at this point in the history
fix backendtls

Signed-off-by: Guy Daich <guy.daich@sap.com>
  • Loading branch information
guydc authored Jul 12, 2024
1 parent 13b04fb commit d5fde3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gatewayapi/backendtlspolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (t *Translator) processBackendTLSPolicy(
if envoyProxy.Spec.BackendTLS.MinVersion != nil {
tlsBundle.MinVersion = ptr.To(ir.TLSVersion(*envoyProxy.Spec.BackendTLS.MinVersion))
}
if envoyProxy.Spec.BackendTLS.MinVersion != nil {
if envoyProxy.Spec.BackendTLS.MaxVersion != nil {
tlsBundle.MaxVersion = ptr.To(ir.TLSVersion(*envoyProxy.Spec.BackendTLS.MaxVersion))
}
if len(envoyProxy.Spec.BackendTLS.ALPNProtocols) > 0 {
Expand Down

0 comments on commit d5fde3e

Please sign in to comment.