From 3809150c22d75ee0780f77eca47cdce225c5a145 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Fri, 21 Mar 2025 05:39:56 -0500 Subject: [PATCH] update --- dmz/internalproxy/templates/minio.yaml | 63 ++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 dmz/internalproxy/templates/minio.yaml diff --git a/dmz/internalproxy/templates/minio.yaml b/dmz/internalproxy/templates/minio.yaml new file mode 100644 index 0000000..f6aaa1e --- /dev/null +++ b/dmz/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.200 + ports: + - name: app + port: 9769 + protocol: TCP + +--- + +apiVersion: traefik.io/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: 9769 + scheme: http + tls: + secretName: minio-tls + +--- + +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: minio-tls +spec: + secretName: minio-tls + issuerRef: + name: vault-issuer + kind: ClusterIssuer + commonName: "minio.internal.durp.info" + dnsNames: + - "minio.internal.durp.info"