working example for deployments and certificate issuing

This commit is contained in:
Aaron Riedel 2022-11-05 20:44:46 +01:00
parent 9a0dda231f
commit c32d25269e
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -109,7 +109,7 @@ metadata:
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-staging
#acme.cert-manager.io/http01-edit-in-place: "true"
acme.cert-manager.io/http01-edit-in-place: "true"
ingress.kubernetes.io/ssl-redirect: "false"
spec:
rules:
@ -172,11 +172,8 @@ metadata:
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-staging
cert-manager.io/issue-temporary-certificate: "true"
acme.cert-manager.io/http01-edit-in-place: "true"
#ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
nginx.ingress.kubernetes.io/permanent-redirect: https://test2.apps.yolokube.de
ingress.kubernetes.io/ssl-redirect: "false"
spec:
rules:
- host: "test2.apps.yolokube.de"