diff --git a/internal/ingress/controller/controller.go b/internal/ingress/controller/controller.go index 95a4955aad..9e7a7f833a 100644 --- a/internal/ingress/controller/controller.go +++ b/internal/ingress/controller/controller.go @@ -399,6 +399,7 @@ func (n *NGINXController) getBackendServers(ingresses []*extensions.Ingress) ([] } if server.CertificateAuth.CAFileName == "" { + server.CertificateAuth = anns.CertificateAuth // It is possible that no CAFileName is found in the secret if server.CertificateAuth.CAFileName == "" { glog.V(3).Infof("secret %v does not contain 'ca.crt', mutual authentication not enabled - ingress rule %v/%v.", server.CertificateAuth.Secret, ing.Namespace, ing.Name)