mik-laj edited a comment 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:
```yaml
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:
[email protected]