-
Notifications
You must be signed in to change notification settings - Fork 3
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
KANSUP74-12 add ingressClass config #163
Conversation
I'm trying to understand what it does, So by adding the field: ingressClassName: nginx to the Ingress resources... it will automatically look for the ingressClass resources named nginx. this defintions inside the ingressClass resource then appends? the controller: k8s.io/ingress-nginx field defined in the class to the original one? |
If I understood correctly, the nginx-controller used to look for annotations on the ingress object to detect whether it should interact. However, this was implicit behaviour and not officially standardized. |
xenit-alfresco/templates/ingress/nginx-default-ingressClass.yaml
Outdated
Show resolved
Hide resolved
…ssClassName configurable, update templating for annotation vs property
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Why the local-values.yaml?
- Now you define the ingress class 2x, once as an annotation in the values file and once as an ingress.ingressClass variable. Ideally this should be only one since both values should be the same. The variable should also be used to define the annotations.
Unfortunately this annotation is already overwritten by some local deployments (OUP) where we set the ingress.class:alb - also update the readme file
- and preferably also the changelog, certainly when this would introduce a breaking change if we overwrite the ingressAnnotations with another value.
Will do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best to indicate in the changelog that this could be a breaking change on AWS where we need to set ingressClass to ALB.
Since kubernetes 1.18, the
IngressClass
object (&ingressClassName
property) are intended as a replacement for the deprecatedkubernetes.io/ingress.class
annotation.This pr provides default config for our alfresco deployment.
https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation