Skip to content

[Bug]: Cert manager integration for VirtualServers when using HTTP01 challenges and Redirect not working #8469

@aknot242

Description

@aknot242

Version

edge

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

NOTE: Re-creating a closed issue that was technically never addressed. I was asked to create an issue. I ran into this myself just today with NIC v 5.2.1.

The following was in the previously reported issue:

Describe the bug
I was add "ssl-redirect: True" option to my config map but cert manager doesn't work with enabled this option because it try http request which redirects to https by ingress. Also I can't disable this option from config map and rule
if ($scheme = 'http') { return 301 https://$host$request_uri; }
always present in my nginx configuration.

Expected behavior
Redirect 301 disappear from nginx configuration if I disable ssl-redirect when set option "ssl-redirect: False" or cert manager challenge request works with enabled this option

Your environment

Version of the Ingress Controller - helm chart https://helm.nginx.com/stable ingress-nginx 0.15.1
Version of Kubernetes - 1.23.7
Kubernetes platform (e.g. Mini-kube or GCP) - Custom deploy(3 masters, 3 etc and 6 workers)
Using NGINX or NGINX Plus - NGINX

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bugneeds triageAn issue that needs to be triaged

    Type

    No type

    Projects

    Status

    Todo ☑

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions