From 4515bafe6cde085ad9718c3117fa77dd7010911e Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Wed, 6 Nov 2024 12:38:48 +0100 Subject: [PATCH] Add rexistry example ingress --- .../registry/matrix-registry-ingress.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 k8s/examples/registry/matrix-registry-ingress.yaml 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