certificates are kind of working, but https redirect not

This commit is contained in:
Aaron Riedel 2022-09-25 18:49:58 +02:00
parent c9d86f51eb
commit 2c1ce8eae0
Signed by: aaron
GPG key ID: 643004654D40D577
3 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,4 @@
### Just an unfinished example, do not deploy!
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment

View file

@ -38,8 +38,10 @@ kind: Ingress
metadata: metadata:
name: helloworld-ingress name: helloworld-ingress
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"
ingress.kubernetes.io/ssl-redirect: "false"
spec: spec:
rules: rules:
- host: "lb1.yolokube.de" - host: "lb1.yolokube.de"