kind: Ingress apiVersion: networking.k8s.io/v1beta1 metadata: name: "" namespace: testing annotations: traefik.ingress.kubernetes.io/router.tls: "true" spec: tls: - secretName: myTlsSecret rules: - host: example.com http: paths: - path: "" backend: serviceName: example-com servicePort: 80 --- kind: Ingress apiVersion: networking.k8s.io/v1beta1 metadata: name: "" namespace: testing spec: tls: - secretName: myUndefinedSecret rules: - host: example.fail http: paths: - path: "" backend: serviceName: example-fail servicePort: 80