Skip to content

Commit

Permalink
Try putting minio tenant in different namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
creedasaurus committed Jun 18, 2024
1 parent b32ea36 commit fc99dec
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 29 deletions.
4 changes: 2 additions & 2 deletions apps/infra/minio-tenant-1/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: minio-operator
namespace: vulfminio
resources:
- external-secrets.yml
helmCharts:
- name: tenant
repo: https://operator.min.io
version: "5.0.15"
releaseName: tenant
namespace: minio-operator
namespace: vulfminio
includeCRDs: true
valuesFile: values.yml
4 changes: 4 additions & 0 deletions apps/infra/minio-tenant-1/namespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: vulfminio
48 changes: 24 additions & 24 deletions apps/infra/minio-tenant-1/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ tenant:
name: vulfminio
configuration:
name: minio-secret
features:
bucketDNS: true
domains:
minio:
- https://s3.vulf.haus
console: https://minio.vulf.haus
enableSFTP: false
# features:
# bucketDNS: true
# domains:
# minio:
# - https://s3.vulf.haus
# console: https://minio.vulf.haus
# enableSFTP: false
pools:
###
# The number of MinIO Tenant Pods / Servers in this pool.
Expand All @@ -25,23 +25,23 @@ tenant:
volumesPerServer: 2
size: 32Gi
storageClassName: directpv-min-io
ingress:
api:
enabled: true
ingressClassName: "traefik"
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
tls:
- secretName: cm-shared-wildcard-vulfhaus-tls
# ingress:
# api:
# enabled: false
# ingressClassName: "traefik"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
# tls:
# - secretName: cm-shared-wildcard-vulfhaus-tls

host: s3.vulf.haus
# host: s3.vulf.haus

console:
enabled: true
ingressClassName: "traefik"
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
tls:
- secretName: cm-shared-wildcard-vulfhaus-tls
# console:
# enabled: false
# ingressClassName: "traefik"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
# tls:
# - secretName: cm-shared-wildcard-vulfhaus-tls

host: minio.vulf.haus
# host: minio.vulf.haus
2 changes: 1 addition & 1 deletion apps/infra/secrets/cluster-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ spec:
- atuin
- minio-operator
- gluetun
- rook-ceph
- vulfminio
2 changes: 1 addition & 1 deletion apps/networking/certmanager/certificate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
annotations:
reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true"
reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "media,authentik,traefik,argocd,development,longhorn-system,atuin,gluetun,minio-operator"
reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "media,authentik,traefik,argocd,development,longhorn-system,atuin,gluetun,minio-operator,vulfminio"
2 changes: 1 addition & 1 deletion apps/networking/certmanager/staging-certificate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
annotations:
reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true"
reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "media,authentik,traefik,argocd,default,development,atuin,gluetun,minio-operator"
reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "media,authentik,traefik,argocd,default,development,atuin,gluetun,minio-operator,vulfminio"
2 changes: 2 additions & 0 deletions bootstrap/infra-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ spec:
server: "*"
- namespace: minio-operator
server: "*"
- namespace: vulfminio
server: "*"

clusterResourceWhitelist:
- group: "*"
Expand Down

0 comments on commit fc99dec

Please sign in to comment.