From e2cabee7ddce9a7447f95ab1c16533e11299c6d9 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 24 Aug 2024 20:57:18 -0500 Subject: [PATCH] update --- internalproxy/templates/minio.yaml | 63 ++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 internalproxy/templates/minio.yaml diff --git a/internalproxy/templates/minio.yaml b/internalproxy/templates/minio.yaml new file mode 100644 index 0000000..35f1ed4 --- /dev/null +++ b/internalproxy/templates/minio.yaml @@ -0,0 +1,63 @@ +apiVersion: v1 +kind: Service +metadata: + name: minio +spec: + ports: + - name: app + port: 9769 + protocol: TCP + targetPort: 9769 + clusterIP: None + type: ClusterIP + +--- + +apiVersion: v1 +kind: Endpoints +metadata: + name: minio +subsets: + - addresses: + - ip: 192.168.20.253 + ports: + - name: app + port: 9769 + protocol: TCP + +--- + +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: minio-ingress +spec: + entryPoints: + - websecure + routes: + - match: Host(`minio.internal.durp.info`) && PathPrefix(`/`) + middlewares: + - name: whitelist + namespace: traefik + kind: Rule + services: + - name: minio + port: 443 + scheme: http + tls: + secretName: minio-tls + +--- + +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: minio-tls +spec: + secretName: minio-tls + issuerRef: + name: letsencrypt-production + kind: ClusterIssuer + commonName: "minio.internal.durp.info" + dnsNames: + - "minio.internal.durp.info"