Not possible to configure ingress class with annotations, code will delete this annotation. I don't know reason, but it's not flexible. For example GKE with https support enabled will try to use https lb, but sometime better use TCP LB with internal ingress.
|
delete(obj.ObjectMeta.Annotations, ingressClassAnnotationKey) |
Also ingress pathType hardcoded too. I'd like to have ability to configure it self.
Not possible to configure ingress class with annotations, code will delete this annotation. I don't know reason, but it's not flexible. For example GKE with https support enabled will try to use https lb, but sometime better use TCP LB with internal ingress.
wordpress-operator/pkg/controller/wordpress/internal/sync/ingress.go
Line 103 in 39f32a0
Also ingress pathType hardcoded too. I'd like to have ability to configure it self.