sebschlue commented on issue #1905:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1905#issuecomment-1660119099

   Ah, thank you very much :) 
   
   This works for me now:
   
   ```
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: vault
     namespace: svc-vault
   spec:
     http:
     - name: vault
       match:
         hosts:
         - vault.${DOMAIN}
         paths:
         - /*
       backends:
          - serviceName: vault-active
            servicePort: 8200
   ---
   apiVersion: apisix.apache.org/v2
   kind: ApisixUpstream
   metadata:
     name: vault-active
     namespace: svc-vault
   spec:
     scheme: https
   ---
   apiVersion: apisix.apache.org/v2
   kind: ApisixTls
   metadata:
     name: vault
     namespace: svc-vault
   spec:
     hosts:
     - vault.${DOMAIN}
     secret:
       name: vault-ssl-cert
       namespace: ingress-apisix
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to