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