migrate inventory to external s3

This commit is contained in:
Erki Aas 2024-08-13 20:18:58 +03:00
parent 66fbf32088
commit 2f2fa1a99f
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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: