diff --git a/k8s/examples/registry/matrix-registry-ingress.yaml b/k8s/examples/registry/matrix-registry-ingress.yaml new file mode 100644 index 0000000..0b90fe5 --- /dev/null +++ b/k8s/examples/registry/matrix-registry-ingress.yaml @@ -0,0 +1,31 @@ +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