netbox-community/netbox-chart

Chart fails if ingress is enabled and no ingress className is defined

Closed this issue · 1 comments

It looks like this broke a few releases back. If there is no ingress.className defined I am receiving the following error:

Helm upgrade failed for release netbox/netbox with chart netbox@5.0.0-beta.74:
      cannot patch "netbox" with kind Ingress: Ingress.networking.k8s.io "netbox"
      is invalid: spec.ingressClassName: Invalid value: "": a lowercase RFC 1123 subdomain
      must consist of lower case alphanumeric characters, ''-'' or ''.'', and must
      start and end with an alphanumeric character (e.g. ''example.com'', regex used
      for validation is ''[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'')'