<p>I am trying to configure an aws alb ingress for an existing cluster which already has nginx ingress configured. This is the resource file I'm using in nginx ingress which works fine.</p>
<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: &quot;stage-ingress-1&quot;
  namespace: &quot;teststage&quot;
  annotations:
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/backend-protocol: HTTP
    alb.ingress.kubernetes.io/listen-ports: '[{&quot;HTTP&quot;: 80}, {&quot;HTTPS&quot;: 443}]'
    alb.ingress.kubernetes.io/certificate-arn:  &lt;cert_arn&gt;
    alb.ingress.kubernetes.io/actions.ssl-redirect: '{&quot;Type&quot;: &quot;redirect&quot;, &quot;RedirectConfig&quot;: { &quot;Protocol&quot;: &quot;HTTPS&quot;, &quot;Port&quot;: &quot;443&quot;, &quot;StatusCode&quot;: &quot;HTTP_301&quot;}}'
    alb.ingress.kubernetes.io/target-type: ip
    alb.ingress.kubernetes.io/scheme: internet-facing
  labels:
    app: test-ingress
spec:
  rules:
    - http:
        paths:
          - path: /(.*)
            backend:
              serviceName: ssl-redirect
              servicePort: use-annotation
          - path: /(.*)
            backend:
              serviceName: &quot;test-service&quot;
              servicePort: 80
      host: test.abc.com
</code></pre>
<p>However, I get an error saying</p>
<p><code>&quot;msg&quot;=&quot;Reconciler error&quot; &quot;error&quot;=&quot;failed to reconcile listeners due to failed to reconcile rules due to failed modifying rule 2 on aws alb due to ValidationError: Condition value '/(.*)' contains a character that is not valid</code></p>
<p>I understand it is something to do with the path specified, but I do not get on how this has to be configured. This is the path which contains all my data.</p>

Bhargav Mg
<p>It is not regex.  Its much more simple matching than that
you want.</p>
<pre><code>spec:
  rules:
    - http:
        paths:
          - path: /*
            backend:
              serviceName: ssl-redirect
              servicePort: use-annotation
          - path: /*
            backend:
              serviceName: &quot;test-service&quot;
              servicePort: 80
      host: test.abc.com
</code></pre>
