32 lines
780 B
YAML
32 lines
780 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: nginx
|
||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||
|
name: matrix-registry-ingress
|
||
|
namespace: matrix-registry
|
||
|
spec:
|
||
|
defaultBackend:
|
||
|
service:
|
||
|
name: matrix-registry-service
|
||
|
port:
|
||
|
number: 5000
|
||
|
ingressClassName: nginx
|
||
|
rules:
|
||
|
- host: registry.matrix.test.sunet.se
|
||
|
http:
|
||
|
paths:
|
||
|
- backend:
|
||
|
service:
|
||
|
name: matrix-registry-service
|
||
|
port:
|
||
|
number: 5000
|
||
|
path: /
|
||
|
pathType: Prefix
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- registry.matrix.test.sunet.se
|
||
|
secretName: tls-secret
|