Backup
This commit is contained in:
28
gallery/gallery-ingress.yaml
Normal file
28
gallery/gallery-ingress.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gallery-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: gallery-tls
|
||||
hosts:
|
||||
- gallery.squi.fr
|
||||
rules:
|
||||
- host: gallery.squi.fr
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gallery
|
||||
port:
|
||||
number: 80
|
||||
path: /
|
||||
|
Reference in New Issue
Block a user