pingidentity / helm-charts

Apache License 2.0
22 stars 31 forks source link

ingress.class deprecated - Missing support for ingressClassName #282

Closed zerowebcorp closed 7 months ago

zerowebcorp commented 8 months ago

An installation using the older helm chart values aren't working on Kubernetes 1.25 or above ( tested on 1.25.6 )

pingfederate-admin:
  enabled: true
  image:
    tag: 2307-11.2.7
  ingress:
    enabled: true
    hosts:
      - host: myhostname.com
        paths:
        - path: /
          pathType: Prefix
          backend:
            serviceName: https
    addReleaseNameToHost: none
    defaultDomain: "hostname.com"
    defaultTlsSecret: my-wildcard-ssl
    annotations:
      nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
      kubernetes.io/ingress.class: "nginx"

Kubernetes/Nginx dropped support for kubernetes.io/ingress.class: "nginx" as far as I can see.

https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation

To make the ingress work, I had to add this manually outside of the helm chart.

spec:
  ingressClassName: nginx

Can you add support for ingressClassName in the helm chart?

Upon looking at the ingress template - charts/ping-devops/templates/pinglib/_ingress.tpl

PingDavidR commented 8 months ago

Thanks for bringing this to our attention @zerowebcorp! We will review this and keep you posted on updates here.

PingDavidR commented 7 months ago

@zerowebcorp we have this in process and should be included in the next release at the start of February. Thanks again for letting us know.

erikostien-pingidentity commented 7 months ago

Resolved with https://github.com/pingidentity/helm-charts/commit/312d9dddd7e52827aac1c3014af5c90cc8bc25cb. Closing this ticket.