feat(mlflow): enable authn

This commit is contained in:
Masaki Yatsu
2025-11-09 15:48:02 +09:00
parent 0142034535
commit 995abfe4d2
6 changed files with 727 additions and 28 deletions

View File

@@ -0,0 +1,27 @@
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: mlflow-oidc-external-secret
namespace: {{ .Env.MLFLOW_NAMESPACE }}
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: mlflow-oidc-config
creationPolicy: Owner
data:
- secretKey: OIDC_CLIENT_ID
remoteRef:
key: mlflow/oidc
property: client_id
- secretKey: OIDC_CLIENT_SECRET
remoteRef:
key: mlflow/oidc
property: client_secret
- secretKey: OIDC_USERS_DB_URI
remoteRef:
key: mlflow/oidc
property: auth_db_uri