1
0
forked from k-space/kube

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: services:
- kind: TraefikService - kind: TraefikService
name: api@internal 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 - name: PYTHONUNBUFFERED
value: "1" value: "1"
- name: INVENTORY_ASSETS_BASE_URL - 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 - name: OIDC_USERS_NAMESPACE
value: passmower value: passmower
- name: SECRET_KEY - name: SECRET_KEY
@ -49,7 +49,7 @@ spec:
name: slack-secrets name: slack-secrets
envFrom: envFrom:
- secretRef: - secretRef:
name: miniobucket-inventory-owner-secrets name: miniobucket-inventory-external-owner-secrets
- secretRef: - secretRef:
name: oidc-client-inventory-app-owner-secrets name: oidc-client-inventory-app-owner-secrets
- secretRef: - secretRef: