From 2f2fa1a99fd6693f6dadceb4c97bad295d789113 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Tue, 13 Aug 2024 20:18:58 +0300 Subject: [PATCH] migrate inventory to external s3 --- hackerspace/inventory-extras.yaml | 9 +++++++++ hackerspace/inventory.yaml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/hackerspace/inventory-extras.yaml b/hackerspace/inventory-extras.yaml index bfa45be..0203c76 100644 --- a/hackerspace/inventory-extras.yaml +++ b/hackerspace/inventory-extras.yaml @@ -23,3 +23,12 @@ spec: services: - kind: TraefikService name: api@internal +--- +apiVersion: codemowers.cloud/v1beta1 +kind: MinioBucketClaim +metadata: + name: inventory-external + namespace: hackerspace +spec: + capacity: 1Gi + class: external diff --git a/hackerspace/inventory.yaml b/hackerspace/inventory.yaml index 37777b9..482fc22 100644 --- a/hackerspace/inventory.yaml +++ b/hackerspace/inventory.yaml @@ -24,7 +24,7 @@ spec: - name: PYTHONUNBUFFERED value: "1" - name: INVENTORY_ASSETS_BASE_URL - value: https://minio-cluster-shared.k-space.ee/inventory-5b342be1-60a1-4290-8061-e0b8fc17d40d/ + value: https://external.minio-clusters.k-space.ee/hackerspace-701d9303-0f27-4829-a2be-b1084021ad91/ - name: OIDC_USERS_NAMESPACE value: passmower - name: SECRET_KEY @@ -49,7 +49,7 @@ spec: name: slack-secrets envFrom: - secretRef: - name: miniobucket-inventory-owner-secrets + name: miniobucket-inventory-external-owner-secrets - secretRef: name: oidc-client-inventory-app-owner-secrets - secretRef: