Ingress en tls, ajout auth, etc

This commit is contained in:
Justine Pelletreau
2022-08-19 14:53:02 +02:00
parent a5644f9f13
commit 2ebc7cec77
14 changed files with 70 additions and 175 deletions

View File

@ -3,8 +3,17 @@ kind: Ingress
metadata:
name: notes-ingr
annotations:
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: basic-auth
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - you fool'
kubernetes.io/ingress.class: "nginx"
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls:
- secretName: notes-tls
hosts:
- notes.squi.fr
rules:
- host: notes.squi.fr
http: