Ingress en tls, ajout auth, etc
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user