29 lines
969 B
YAML
29 lines
969 B
YAML
|
|
apiVersion: v1
|
||
|
|
kind: ConfigMap
|
||
|
|
metadata:
|
||
|
|
name: hive-config
|
||
|
|
namespace: lasuite
|
||
|
|
data:
|
||
|
|
config.toml: |
|
||
|
|
[drive]
|
||
|
|
base_url = "http://drive.lasuite.svc.cluster.local:8000"
|
||
|
|
workspace = "Game Assets"
|
||
|
|
oidc_client_id = "hive"
|
||
|
|
oidc_token_url = "http://hydra.ory.svc.cluster.local:4444/oauth2/token"
|
||
|
|
# oidc_client_secret_file = "/run/secrets/hive-oidc" # mounted from Secret
|
||
|
|
|
||
|
|
[s3]
|
||
|
|
endpoint = "http://seaweedfs-filer.storage.svc.cluster.local:8333"
|
||
|
|
bucket = "sunbeam-game-assets"
|
||
|
|
region = "us-east-1"
|
||
|
|
# access_key_file = "/run/secrets/seaweedfs-key" # mounted from Secret
|
||
|
|
# secret_key_file = "/run/secrets/seaweedfs-secret" # mounted from Secret
|
||
|
|
|
||
|
|
[postgres]
|
||
|
|
# url_file = "/run/secrets/hive-db-url" # mounted from Secret
|
||
|
|
|
||
|
|
[sync]
|
||
|
|
interval_seconds = 30
|
||
|
|
temp_dir = "/tmp/hive"
|
||
|
|
large_file_threshold_mb = 50
|