fix tls termination

This commit is contained in:
2025-04-06 20:58:12 +02:00
parent 4709f6ba84
commit c8501f505b
5 changed files with 61 additions and 49 deletions

View File

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

View File

@@ -6,8 +6,6 @@ metadata:
annotations: annotations:
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-prod cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
spec: spec:
rules: rules:
- host: s3.minio.panic.haus - host: s3.minio.panic.haus
@@ -19,7 +17,7 @@ spec:
service: service:
name: minio name: minio
port: port:
number: 443 number: 9000
- host: console.minio.panic.haus - host: console.minio.panic.haus
http: http:
paths: paths:
@@ -27,9 +25,9 @@ spec:
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: panic-minio-console name: minio-console
port: port:
number: 9443 number: 9001
tls: tls:
- hosts: - hosts:
- s3.minio.panic.haus - s3.minio.panic.haus

View File

@@ -7,6 +7,7 @@ resources:
- namespace.yaml - namespace.yaml
- secret.yaml - secret.yaml
- tenant.yaml - tenant.yaml
- certificate.yaml
- ingress.yaml - ingress.yaml
- svc-minio.yaml - svc-minio.yaml
- svc-minio-console.yaml - svc-minio-console.yaml

View File

@@ -7,8 +7,6 @@ stringData:
config.env: |- config.env: |-
export MINIO_ROOT_USER="minio" export MINIO_ROOT_USER="minio"
export MINIO_ROOT_PASSWORD="minio123" export MINIO_ROOT_PASSWORD="minio123"
export MINIO_STORAGE_CLASS_STANDARD="EC:2"
export MINIO_SERVER_URL="https://s3.minio.panic.haus"
type: Opaque type: Opaque
--- ---
apiVersion: v1 apiVersion: v1

View File

@@ -10,6 +10,9 @@ metadata:
name: panic-minio name: panic-minio
namespace: minio-tenant namespace: minio-tenant
spec: spec:
requestAutoCert: false
externalCertSecret:
- name: minio-tls
exposeServices: {} exposeServices: {}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
certConfig: {} certConfig: {}
@@ -17,7 +20,6 @@ spec:
name: storage-configuration name: storage-configuration
env: [] env: []
externalCaCertSecret: [] externalCaCertSecret: []
externalCertSecret: []
externalClientCertSecrets: [] externalClientCertSecrets: []
features: features:
bucketDNS: false bucketDNS: false
@@ -27,7 +29,8 @@ spec:
mountPath: /export mountPath: /export
podManagementPolicy: Parallel podManagementPolicy: Parallel
pools: pools:
- affinity: - name: pool-0
affinity:
nodeAffinity: {} nodeAffinity: {}
podAffinity: {} podAffinity: {}
podAntiAffinity: {} podAntiAffinity: {}
@@ -41,7 +44,6 @@ spec:
runAsUser: 1000 runAsUser: 1000
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault
name: pool-0
nodeSelector: {} nodeSelector: {}
resources: {} resources: {}
securityContext: securityContext:
@@ -67,7 +69,6 @@ spec:
status: {} status: {}
volumesPerServer: 1 volumesPerServer: 1
priorityClassName: "" priorityClassName: ""
requestAutoCert: true
serviceAccountName: "" serviceAccountName: ""
serviceMetadata: serviceMetadata:
consoleServiceAnnotations: {} consoleServiceAnnotations: {}