Ingress en tls, ajout auth, etc
This commit is contained in:
@ -2,7 +2,17 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: tasks-ingr
|
||||
annotations:
|
||||
kubernetes.io/tls-acme: "true"
|
||||
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'
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
tls:
|
||||
- secretName: todo-tls
|
||||
hosts:
|
||||
- todo.squi.fr
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: todo.squi.fr
|
||||
|
Reference in New Issue
Block a user