apiVersion: networking.k8s.io/v1 kind: IngressClass metadata: name: {{ ingress_nginx_class }} labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx {% if ingress_nginx_default %} annotations: ingressclass.kubernetes.io/is-default-class: "true" {% endif %} spec: controller: k8s.io/ingress-nginx