You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "sebschlue (via GitHub)" <gi...@apache.org> on 2023/08/01 11:24:02 UTC

[GitHub] [apisix-ingress-controller] sebschlue commented on issue #1905: Support for HTTPS backends

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org