fix minio

This commit is contained in:
2025-04-06 21:16:23 +02:00
parent a40c495e26
commit ece670c77e
4 changed files with 18 additions and 3 deletions

View File

@@ -14,11 +14,11 @@ spec:
- /bin/sh
- -c
- |
kubectl get secret minio-tls -n minio-tenant -o json | jq '{
kubectl get secret panic-minio-tls -n minio-tenant -o json | jq '{
apiVersion: "v1",
kind: "Secret",
metadata: {
name: "panic-minio-tls",
name: "panic-minio-tls-converted",
namespace: "minio-tenant"
},
type: "Opaque",

View File

@@ -0,0 +1,14 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: panic-minio-cert
namespace: minio-tenant
spec:
secretName: panic-minio-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
commonName: s3.minio.panic.haus
dnsNames:
- s3.minio.panic.haus
- console.minio.panic.haus

View File

@@ -5,6 +5,7 @@ namespace: minio-tenant
resources:
- namespace.yaml
- certificate.yaml
- rbac.yaml
- secret.yaml
- cert-job.yaml

View File

@@ -12,7 +12,7 @@ metadata:
spec:
requestAutoCert: false
externalCertSecret:
- name: panic-minio-tls
- name: panic-minio-tls-converted
exposeServices: {}
imagePullPolicy: IfNotPresent
certConfig: {}