feat: litellm creds for mail/rspamd #163

Merged
benvin merged 1 commits from benvin/rspamd-litellm-role into master 2026-10-12 00:27:44 +11:00
3 changed files with 20 additions and 1 deletions
@@ -0,0 +1,10 @@
---
# Kubernetes auth role for rspamd: the rspamd service account in the mail
# namespace, used by VaultDynamicSecret to read litellm/creds/rspamd.
bound_service_account_names:
- rspamd
bound_service_account_namespaces:
- mail
token_ttl: 600
token_max_ttl: 600
audience: vault
@@ -1,7 +1,6 @@
---
models:
- claude-haiku-4-5
- claude-sonnet-4-6
max_budget: 50
ttl: 3600 # seconds (1h)
max_ttl: 86400 # seconds (24h)
+10
View File
@@ -0,0 +1,10 @@
# Lets rspamd mint a Haiku-scoped LiteLLM virtual key for its GPT/LLM module.
---
rules:
- path: "litellm/creds/rspamd"
capabilities:
- read
auth:
k8s/au/syd1:
- rspamd