Add CertManager field to IngressConfig and add an Ingress TLS example

This commit is contained in:
M. Mert Yildiran
2023-05-24 04:01:45 +03:00
parent 39f8d40b76
commit c19cd00c77
5 changed files with 47 additions and 4 deletions

View File

@@ -587,6 +587,7 @@ func (provider *Provider) BuildIngress() *networking.Ingress {
}, provider),
Annotations: map[string]string{
"nginx.ingress.kubernetes.io/rewrite-target": "/$2",
"certmanager.k8s.io/cluster-issuer": config.Config.Tap.Ingress.CertManager,
},
},
Spec: networking.IngressSpec{