set magic annotation: kubernetes.io/ingress.class for ingress
@@ -177,10 +177,11 @@ func (r *DependencyReconciler) desiredIngress(
ObjectMeta: v1.ObjectMeta{
Name: dep.Name,
Namespace: ns,
- //Annotations: map[string]string{
+ Annotations: map[string]string{
+ "kubernetes.io/ingress.class": "kong",
// "kubernetes.io/tls-acme": "true",
// "cert-manager.io/cluster-issuer": getNameForClusterIssuer(dep),
- //},
+ },
},
Spec: v1beta1.IngressSpec{
//TLS: []v1beta1.IngressTLS{
