Skip to content

After uninstalling cert-manager, ingress resources can still only be accessed via https #7717

Description

@pptfz

cert-manager version:v1.17.2

install ns:devops

Install using the following command

helm install \
  cert-manager jetstack/cert-manager \
  --namespace cert-manager \
  --create-namespace \
  --version v1.17.2 \
  --set crds.enabled=true

The current problem

In another ns, the access to ingress resources has all been changed to https. If http is accessed, only the nginx test page can be accessed. Why is that

For example, in the monitor command space, all ingress can only be accessed via https. Accessing http is the nginx test page

k -n monitor get ingress
NAME                      CLASS    HOSTS                      ADDRESS     PORTS     AGE
alertmanager              nginx    alertmanager.ops.com       localhost   80        19d
grafana                   <none>   grafana.ops.com            localhost   80        20d
k -n monitor get ingress grafana -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    meta.helm.sh/release-name: grafana
    meta.helm.sh/release-namespace: monitor
  creationTimestamp: "2025-04-08T10:47:02Z"
  generation: 1
  labels:
    app.kubernetes.io/instance: grafana
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: grafana
    app.kubernetes.io/version: 11.6.0
    helm.sh/chart: grafana-8.11.3
  name: grafana
  namespace: monitor
  resourceVersion: "638483"
  uid: 24667a78-a9da-4ee8-a5b2-366f0b33245f
spec:
  rules:
  - host: grafana.ops.com
    http:
      paths:
      - backend:
          service:
            name: grafana
            port:
              number: 80
        path: /
        pathType: Prefix
status:
  loadBalancer:
    ingress:
    - hostname: localhost

Accessing http is the nginx test page

Image

Only by accessing https is it possible

Image

It won't work even if I delete cert-manager

How should I solve this problem? Is it to restore grafana access through ingress 80 under the original monitor namespace

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions