From c6ea93821470e4e55f8f87f0e9c0109c783ff010 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Thu, 22 Feb 2024 12:42:11 +0200 Subject: [PATCH] fix(camtiler): add temporary ingress for camtiler dedicated s3 --- camtiler/logmower.yml | 2 +- minio-clusters/dedicated.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/camtiler/logmower.yml b/camtiler/logmower.yml index b789f2c..d0d6b1f 100644 --- a/camtiler/logmower.yml +++ b/camtiler/logmower.yml @@ -112,7 +112,7 @@ spec: name: miniobucket-camtiler-owner-secrets key: AWS_ACCESS_KEY_ID - name: MINIO_HOSTNAME - value: 'external.minio-clusters.k-space.ee' + value: 'dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2.minio-clusters.k-space.ee' - name: MINIO_PORT value: '443' - name: MINIO_SCHEMA diff --git a/minio-clusters/dedicated.yaml b/minio-clusters/dedicated.yaml index 8e9e3a1..396297b 100644 --- a/minio-clusters/dedicated.yaml +++ b/minio-clusters/dedicated.yaml @@ -21,3 +21,30 @@ spec: key: dedicated operator: Equal value: storage +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2 + namespace: minio-clusters + annotations: + kubernetes.io/ingress.class: traefik + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + external-dns.alpha.kubernetes.io/target: traefik.k-space.ee +spec: + rules: + - host: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2.minio-clusters.k-space.ee + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2 + port: + name: http + tls: + - hosts: + - "*.k-space.ee" + secretName: wildcard-tls