You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/23 12:25:04 UTC

[GitHub] [airflow] mik-laj commented on issue #16010: Helm chart: How to enable HTTPS connection

mik-laj commented on issue #16010:
URL: https://github.com/apache/airflow/issues/16010#issuecomment-846554952


   You just don't need to configure Nginx, but you can configure SSL in Ingress. This will also allow certmanager to automatically manage the certificates.
   
   Example:
   ```
   apiVersion: networking.k8s.io/v1
   kind: Ingress
   metadata:
     annotations:
       # add an annotation indicating the issuer to use.
       cert-manager.io/cluster-issuer: nameOfClusterIssuer
     name: myIngress
     namespace: myIngress
   spec:
     rules:
     - host: example.com
       http:
         paths:
         - pathType: Prefix
           path: /
           backend:
             service:
               name: myservice
               port: 
                 number: 80
     tls: # < placing a host in the TLS config will indicate a certificate should be created
     - hosts:
       - example.com
       secretName: myingress-cert # < cert-manager will store the created certificate in this secret.
   ```
   See: https://cert-manager.io/docs/usage/ingress/


-- 
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.

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