Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Update ingressClass deployment to newer spec #469

@gcarcassi

Description

@gcarcassi

As stated here:
https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation
the annotation "ingressclass.kubernetes.io/is-default-class" has been deprecated in favor of the field "spec/ingressClassName" field.

Ingress classes should be declared as ingressClass objects, as shown in:
https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class

Our current deployment does not have a "slate" ingressClass, but it has a "nginx" ingress class, which does work. If one runs the command:
kubectl --kubeconfig uutah-prod.conf get ingressClass nginx --output=yaml
one can see the details of the object - there is no special configuration

We should create a "slate" ingressClass similar to the above. In principle, we could make it the default ingressClass as well:
https://kubernetes.io/docs/concepts/services-networking/ingress/#default-ingress-class
It may be a problem on other clusters since there can only be one default ingress per cluster, so it may clash with other settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions