Open evans-zebra opened 1 year ago
Thanks for the feedback, I'd be glad to make these changes.
@zenon-was-here Can you also add className with an empty string value to both the ingress and grpcIngress sections in the values.yaml
@zenon-was-here thanks for making these changes. These are breaking changes, so we'll talking internally about how to handle this. I haven't been able to think yet of a clever way to handle the grpc breaking change.
@TylerHelmuth , understood, thanks for the feedback
@zenon-was-here thanks again for working on this, I am going to integrate your changes into an upcoming v3.0.0 version of the chart.
Which problem is this PR solving?
The
ingress-beta
andingress-grpc
Helm templates use one naming convention for an Ingress Class Name:ingress.className
, whereas theingress
template uses a different convention:ingressClassName
.The problem solved is to adopt a consistent naming convention. I've opted to the latter one,
ingressClassName
, as it's used in Kubernetes example docs.Otherwise, users have unexpected inconsistent behavior when trying to specify the Ingress Class Name for the different ingresses. And, populating the
grpcIngress
's Ingress Class Name currently would have to happen within theingress:
block in the values, which is unintuitive.Short description of the changes
Changes the
ingress-beta.yaml
andingress-grpc.yaml
ingress.className
toingressClassName
to be consistent withingress.yaml
and Kubernetes convention.How to verify that this has the expected result
Specify an
ingressClassName
in a values.yaml file and dry-run. No tests because it's a minimal change that seems to fit the "small and obvious" acceptance criteria laid out in the lifecycle-and-practices doc.