Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubernetes.io/ingress.class annotation is deprecated in favor of ingressClassName #279

Open
walkafwalka opened this issue Aug 2, 2024 · 0 comments

Comments

@walkafwalka
Copy link

{
    "level": "error",
    "ts": "2024-08-02T19:21:48.724Z",
    "msg": "Reconciler error",
    "controller": "redisenterprisecluster-controller",
    "object": {
        "name": "redis-enterprise",
        "namespace": "redis-enterprise"
    },
    "namespace": "redis-enterprise",
    "name": "redis-enterprise",
    "reconcileID": "337f98fb-a52a-4b3d-9da5-a230185f25c6",
    "error": "1 error occurred:\n\t* Active Active spec is enabled with Ingress but includes no annotations.\nAn ingress class annotation is needed.\"\nPlease see the following annotations expected per ingress controller type:\nhaproxy - annotations: kubernetes.io/ingress.class: \"haproxy\", ingress.kubernetes.io/ssl-passthrough: \"true\", \nnginx - annotations: kubernetes.io/ingress.class: \"nginx\"\n\n",
    "stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"
}

kubernetes.io/ingress.class annotation is deprecated in favor of ingressClassName. See https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant