Gateway
Scope: namespaced · Workload: LiteLLM via the litellm-operator, or Wäg via the waeg-operator
The AI gateway — the front door for model traffic, with models, teams, organizations, budgets, and optional Langfuse trace export.
spec.type picks the implementation. It defaults to litellm, so the rest of this page describes the LiteLLM gateway unless stated otherwise; see Wäg gateway (type: waeg) for the differences.
Spec
| Field | Type | Description |
|---|---|---|
type | litellm | waeg | Gateway implementation. Default litellm. |
waeg | object | Wäg-only wiring (topology, ClickHouse/Redis planes, OpenFGA). Required when type: waeg |
secretsRef | LocalRef (optional) | Same-namespace SecretsManagement to wait for. Leave it out to use plain Kubernetes Secrets you manage yourself — see secretsRef |
database | object (required) | Where LiteLLM stores its state |
instance | object | Settings for the gateway workload itself, translated into the upstream LiteLLMInstance — see instance |
organization | object | The gateway's own organization + budgets. Optional; on Wäg without it (and without organizationRef) Wäg's built-in Default Organization is used |
organizationRef | LocalRef | Wäg only: an Organization in the same namespace, manageable in the console, instead of organization (not both) |
teams[] | list | Teams with per-team budgets |
models[] | list | The model catalog |
guardrailRefs | []ObjectRef | Guardrail CRs to wire into this gateway (licensed guardrail; emitted as LiteLLMGuardrail via each guardrail's license-gate proxy) |
observabilityRef | ObjectRef | An Observability for trace export (auto-wired if licensed) |
observability | object | Manual Langfuse callback fallback |
sso | object | OIDC/SSO login for the LiteLLM Admin UI (see SSO) |
enableEntraSSO | bool | Deprecated — use sso with provider: azure-entra |
database
| Field | Description |
|---|---|
mode | postgresCluster (reference a PostgresCluster) or external |
postgresClusterRef | The cluster to use (mode postgresCluster) |
databaseName | Database inside the shared cluster |
connectionSecretRef | DATABASE_URL Secret (mode external) |
models[]
| Field | Description |
|---|---|
name / modelName / model | Display name, LiteLLM model name, and provider model id |
refSecretKey | Key in the model-credentials Secret holding the API key. Optional only for an Azure model on a Wäg gateway that signs in with Entra ID; every other model without one is refused |
credentials.apiBase | Provider endpoint, for any provider that needs an explicit one (Azure OpenAI / AI Foundry, self-hosted, a proxy) |
credentials.apiVersion | Provider API version, when the provider requires one (e.g. Azure OpenAI / AI Foundry) |
rpm / tpm / timeout / maxTokens | Per-model limits (LiteLLM only) |
provider / providerName / modelId / fallbacks / weight | Wäg-only catalog fields — see Wäg gateway |
mode | chat (default), ocr or embedding. An ocr model (e.g. mistral/mistral-ocr-latest) is served on the gateway's /v1/ocr, is never offered as a chat model, and is what a ChatUI's document OCR uses. On a Wäg gateway the model is created with the ocr capability that Wäg's /v1/ocr routes on; Wäg serves OCR for Mistral, Azure AI Foundry and Azure Document Intelligence models. An embedding model (e.g. azure/text-embedding-3-small) is served on /v1/embeddings, is never offered as a chat model, and is what a ChatUI's file search uses; on Wäg it is created with the embed op unless ops says otherwise |
ops | Wäg only: what the model serves — chat_complete, embed, rerank, ocr, image_generate, audio_transcribe, audio_synthesize, video_generate, … Wäg sends a request only to models listing its op. Unset, the gateway decides (chat models need nothing). A model whose ops leave out chat_complete is not offered in the chat app. The ops that exist come from the bundled waeg-operator: an unknown one refuses the Gateway with the list of known ones, and the operator publishes that list in the navique-model-ops ConfigMap for the management console |
When a model needs a custom endpoint and/or API version, set them on credentials — the operator passes them through to the gateway alongside the API key from refSecretKey. Keep apiBase the bare endpoint and put the version in apiVersion (don't bake ?api-version= into the URL). This is provider-agnostic: the operator emits whatever you supply and never special-cases a provider.
Removing and renaming. A model or team removed from models[] / teams[] is removed from the gateway too (and on Wäg a provider no remaining model uses). Renaming a model's modelName keeps the same model and changes the name clients call it by; changing its name replaces it with a new model.
instance
spec.instance is a curated wrapper around the litellm-operator's LiteLLMInstance CR, not a pass-through. Each field below is translated into one specific setting of the LiteLLMInstance the Gateway emits. The rest of that CR is filled in by the operator from other parts of the Gateway (database, ingress, sso, trace export, TLS) and from the PlatformConfig (registry, pod placement, proxy). Anything else stays at the litellm-operator's default.
| Field | Becomes on the LiteLLMInstance |
|---|---|
image.repository / .tag / .pullPolicy | spec.image. Leave it unset to use the litellm-operator's default tag, which matches its database migration entrypoint |
replicas | spec.replicas (default 1) |
resources | spec.resources of the proxy container |
masterKey / saltKey | spec.masterKey / spec.saltKey: autoGenerate (default) or a secretRef |
healthCheck | spec.generalSettings.backgroundHealthChecks / healthCheckInterval — see below |
jwtAuth | spec.jwtAuth — see JWT API authentication |
rolePermissions | spec.rbac (enabled: true plus rolePermissions) |
storePromptsInLogs | Not on the CR: applied at runtime through the proxy's /config/update admin API (general_settings.store_prompts_in_spend_logs) once the gateway is ready. Unset leaves it unmanaged |
licenseSecretRef | Used by a Wäg gateway only. On a LiteLLM gateway it is not forwarded to the LiteLLMInstance yet |
Options outside this list cannot be set through the Gateway. The LiteLLMInstance offers more (caching, router and LiteLLM settings, autoscaling, extra env vars and volumes, …), but the operator owns the emitted CR and replaces its whole spec on every reconcile, so editing it by hand does not stick. If you need one of those options, ask for it to be added to spec.instance.
On a Wäg gateway the same block drives the WaegInstance instead; the LiteLLM-only fields are listed under What is not applied.
instance.healthCheck
Tunes LiteLLM's background model health checks. Disabled by default: GET /health probes the models on demand instead of running a background loop. Background checks add periodic upstream traffic and can incur cost or hit rate-limits on some providers, so opt in only when you want /health to serve cached results.
| Field | Type | Description |
|---|---|---|
enabled | bool | Turn on background health checks. Default false (disabled). |
intervalSeconds | int | Seconds between checks (LiteLLM default 300). Only applies when enabled: true. |
instance:
healthCheck:
enabled: true
intervalSeconds: 300Maps to the LiteLLMInstance generalSettings.backgroundHealthChecks / healthCheckInterval. When disabled the operator explicitly sets backgroundHealthChecks: false.
What it emits
The controller resolves the database, ensures the litellm-operator (waiting for its CRDs to be Established), then emits, in order:
LiteLLMInstance → LiteLLMOrganization → LiteLLMTeam(s)
→ LiteLLMCredential(s) → LiteLLMModel(s)(All in API group litellm.palena.ai/v1alpha1.)
Database wiring
postgresCluster— the operator resolves the referenced cluster, provisions thelitellmdatabase and role, generates the password, and injects the credentials Secret. No manual secret needed.external— supply aconnectionSecretRefholding aDATABASE_URL.
Langfuse trace export
- With the
auto-wiringfeature and anobservabilityRef, the operator wires LiteLLM's Langfuse callback (host + public/secret keys) from the referencedObservabilityso traces export automatically. - Without it (or against a community Langfuse that cannot mint project keys), create the project + key in the Langfuse UI and set
spec.observability.{host, callbackSecretRef}(keyspublicKey/secretKey).
See Auto-Wiring for the two gates involved.
SSO / OIDC login
spec.sso enables single sign-on for the LiteLLM Admin UI, translated to the LiteLLMInstance.spec.sso block. The OAuth client credentials come from a same-namespace Secret (via SecretsManagement — never inline).
| Field | Description |
|---|---|
issuerURL | OIDC issuer / discovery base URL |
clientSecretRef.name | Secret holding the OAuth client (keys default to client-id / client-secret, overridable with clientIDKey / clientSecretKey) |
provider | generic-oidc (default), azure-entra, google, or okta |
tenantID | Directory/tenant ID (for azure-entra) |
authorizationEndpoint / tokenEndpoint / userinfoEndpoint | Explicit endpoints — required for generic-oidc (LiteLLM does not perform discovery) |
scopes | Requested scopes (default openid, profile, email) |
providerName | Display label |
spec:
sso:
provider: generic-oidc
issuerURL: https://idp.example.com
authorizationEndpoint: https://idp.example.com/authorize
tokenEndpoint: https://idp.example.com/token
userinfoEndpoint: https://idp.example.com/userinfo
clientSecretRef: { name: gateway-oidc }Licensing
LiteLLM SSO is free for up to 5 users; full/unlimited SSO requires a LiteLLM Enterprise license. The Navique operator does not gate the field itself.
Redirect URL behind public access
LiteLLM builds the OAuth redirect_uri from PROXY_BASE_URL, which is derived from the Gateway's ingress. For SSO over public access, expose the Gateway on its public host with TLS — spec.ingress.enabled: true, spec.ingress.host: <public-host>, and spec.ingress.tls: true — so the callback resolves to https://<public-host>/sso/callback. Register exactly that URL with your IdP. Without ingress.tls: true the redirect falls back to a plain-http/in-cluster address and the OAuth callback fails. (status.endpoint on the underlying LiteLLMInstance always reports the in-cluster .svc URL — that is the operator's own admin-API address, not the SSO redirect base.)
The deprecated enableEntraSSO: true boolean still works when sso is unset — it synthesizes an azure-entra config reading the legacy entra-sso-credentials Secret. Prefer sso with provider: azure-entra.
JWT API authentication & RBAC
spec.instance.jwtAuth turns on JWT-based API authentication: LiteLLM validates a bearer JWT from your IdP on every request and maps its claims to roles/teams (distinct from sso, which is the browser login for the Admin UI). Pair it with spec.instance.rolePermissions to restrict which models each role may call.
| Field | Maps to (litellm_jwtauth) |
|---|---|
jwtAuth.enabled | general_settings.enable_jwt_auth |
jwtAuth.publicKeyURL | JWKS endpoint (JWT_PUBLIC_KEY_URL) — required: without it LiteLLM can't validate any token |
jwtAuth.issuer | expected token issuer iss (JWT_ISSUER) |
jwtAuth.audience | expected token audience aud (JWT_AUDIENCE) |
jwtAuth.userRolesJWTField | user_roles_jwt_field — JWT claim holding the list of roles |
jwtAuth.userAllowedRoles | user_allowed_roles — roles that map to an internal_user |
jwtAuth.enforceRBAC | enforce_rbac — deny callers whose roles aren't allowed |
jwtAuth.userRoleJWTField | user_role_jwt_field (single role) |
jwtAuth.userIDJWTField | user_id_jwt_field — claim used as the user id (sub / oid / preferred_username) |
jwtAuth.userIDUpsert | user_id_upsert — auto-create the LiteLLM user on first login |
jwtAuth.teamIDsJWTField | team_ids_jwt_field |
jwtAuth.adminJWTScope | admin_jwt_scope |
rolePermissions.<role>.models / .routes | general_settings.role_permissions |
spec:
instance:
licenseSecretRef: { name: litellm-enterprise-license, key: license }
jwtAuth:
enabled: true
publicKeyURL: https://login.microsoftonline.com/<tenant>/discovery/v2.0/keys # REQUIRED (JWKS)
issuer: https://login.microsoftonline.com/<tenant>/v2.0
audience: <client-id>
userIDJWTField: sub # claim identifying the user (sub / oid / preferred_username)
userIDUpsert: true # auto-create the LiteLLM user on first login
userRolesJWTField: roles
userAllowedRoles: ["basic_user"]
enforceRBAC: true
rolePermissions:
internal_user:
models: ["anthropic-claude"]On a Wäg gateway the same jwtAuth block turns on Wäg's own data-plane JWT module, with the Wäg-specific knobs under spec.waeg.jwt — see Data-plane JWT authentication.
Enterprise only
enable_jwt_auth, enforce_rbac, and role_permissions are LiteLLM Enterprise features — set instance.licenseSecretRef to a valid LiteLLM Enterprise license or they have no effect. Setting any rolePermissions entry turns on general_settings.enforce_rbac so the restrictions are actually enforced.
Example
apiVersion: core.navique.com/v1alpha1
kind: Gateway
metadata:
name: gateway
namespace: forge-gateway
spec:
secretsRef: { name: forge-secrets }
database:
mode: postgresCluster
postgresClusterRef: { name: forge-pg, namespace: forge-data }
databaseName: litellm
instance:
image: { repository: ghcr.io/berriai/litellm, tag: v1.86.1 }
replicas: 1
masterKey: { autoGenerate: true }
saltKey: { autoGenerate: true }
observabilityRef: { name: observability, namespace: forge-langfuse }
organization:
name: navique-ag
maxBudget: 2000
budgetDuration: 30d
rpmLimit: 1000
tpmLimit: 200000
teams:
- { name: data-engineering, maxBudgetMonthly: 1000, budgetDuration: 30d }
models:
- name: gpt-5.4
modelName: gpt-5.4
model: azure/gpt-5.4 # provider/deployment id (here: an Azure OpenAI deployment)
refSecretKey: OPENAI_API_KEY
rpm: 300
tpm: 80000
timeout: 120
credentials:
apiBase: "https://my-resource.cognitiveservices.azure.com"
apiVersion: "2024-10-21"Wäg gateway (type: waeg)
Wäg is an alternative AI gateway, driven by the bundled waeg-operator (gateway.waeg.ai). It is a different product, not a LiteLLM clone, and this CRD does not pretend otherwise: everything below is a real difference, and anything Wäg cannot do is reported, never silently dropped.
What changes
| Concern | LiteLLM | Wäg |
|---|---|---|
| Storage | one Postgres (+ optional Redis) | dual-plane by default (storageMode: split): Postgres and ClickHouse. storageMode: single keeps analytics in the control-plane Postgres and needs no ClickHouse |
| Redis | optional | required once the API serves more than one replica (HA quotas) |
| Authorization | proxy roles / virtual keys | OpenFGA — external, or a Postgres-backed one the operator deploys |
| Process model | one proxy Deployment | AllInOne, or Split (api + optional worker) |
| Catalog | one model object | provider (connection + credential) and model alias pointing at it |
| Budgets | on the org/team objects | separate org-rooted budget policies |
Switching an existing Gateway between implementations
spec.type can be changed on a running Gateway, in either direction. Both implementations use the same instance name, Service and ingress host, so they cannot run side by side. The operator replaces one with the other in this order:
- It waits until the new implementation's prerequisites are ready: its operator, its database and, for Wäg, the ClickHouse/Redis planes. If they never become ready, the old gateway keeps serving.
- It deletes the old implementation's upstream resources: instance, models, teams, keys and guardrails. Then it deletes the Secrets the operator wrote for it (the
-litellm-db/-waeg-db/-waeg-storageSecrets and the-brandingConfigMap). While this runs,Readyhas reasonGatewayTypeSwitching. - It uninstalls the old operator if nothing else needs it, starts the new implementation and records it in
status.activeType.
Nothing is migrated. Virtual keys, budgets, spend and request history, and teams stay with the old implementation, in its own database. That database is kept on the Postgres and in its backups: each implementation has its own (litellm / waeg) and databases are never dropped. Clients need new keys. A ChatUI that references the Gateway re-wires itself: it removes the key it minted against the old implementation and mints one against the new. Expect downtime from step 2 until the new gateway is Ready. The Wäg data-encryption key is kept, so switching back to Wäg later can still read its stored configuration.
kubectl get gateway -o wide # TYPE = spec.type, ACTIVE = status.activeTypespec.waeg
| Field | Description |
|---|---|
topology | AllInOne (default) or Split (*-api plus an optional *-worker Deployment) |
jobWorkers | In-process durable-job workers (AllInOne only) |
worker | The dedicated worker Deployment (enabled, replicas, jobWorkers, resources, autoscaling) — requires topology: Split. autoscaling scales workers on their job queue with KEDA — see Scaling on load (KEDA) |
storageMode | Where analytics live: split (default — ClickHouse) or single (the control-plane Postgres, no ClickHouse at all) — see Analytics storage mode |
clickhouse | The analytics plane — required for storageMode: split, ignored and not required for single: mode: ref to a ClickHouseCluster, or mode: external with a connection Secret |
clickhouseDatabase | The ClickHouse database analytics are written to in split mode. Default waeg; the operator creates it on a managed or adopt cluster |
redis | The HA-quota store: mode: ref to a RedisInstance, or external. Required for >1 API replica |
openfga | External apiUrl / apiUrlSecretRef, or omit it and the operator deploys a Postgres-backed OpenFGA (image, replicas, resources, storeId, modelId) |
autoscaling | Scales the API: on CPU/memory (backend: HPA, the default), or on load with KEDA (backend: KEDA, or Auto to use KEDA only where it is already installed). enabled, minReplicas, maxReplicas, CPU/memory targets, and for KEDA metric, targetValue, keda — see Scaling on load (KEDA) |
assistant | Wäg's console assistant, off unless enabled: enabled, replicas, resources, image — see Console assistant |
artifacts | Where job and media files live: a volume (type: emptyDir (default), pvc (an existing claim) or none), or an object store (backend: s3 / azureBlob) — see Artifact storage |
bootstrapAdmin | Seeds the first console admin from one Secret (secretRef, emailKey, passwordKey) |
dataEncryptionKeySecretRef | The key Wäg seals config revisions with (Wäg's counterpart to LiteLLM's salt key). Unset, the operator generates one into <gateway>-data-encryption-key. That Secret is never rotated and is kept when the Gateway is deleted, because the stored config can't be read without it |
configYAML | Overrides the waeg.yaml bootstrap seed. Non-secret only — it is rendered into a ConfigMap |
brandingConfigMapRef | Your own Enterprise theme pack (JSON) the operator POSTs to the Admin API once Ready. Replaces the built-in Navique pack — licensed feature custom-branding; see Console branding |
defaultBranding | Apply the built-in Navique theme pack when no brandingConfigMapRef is set — whether the Enterprise licence comes from instance.licenseSecretRef or is activated in the gateway's own console. Default true |
modelAccess | The org-rooted model ACL (openByDefault, fallbackMode, grants[]). Lives in the gateway's organization, or Wäg's Default Organization when it has none |
scim | SCIM v2 user provisioning (enabled, tokenSecretRef, defaultRole, defaultOrgID, orgSource, roleMap, orgMap) — see SCIM provisioning |
jwt | The Wäg-only data-plane JWT knobs (appClaim, appClaimFallbacks, tenantClaim, requireRegisteredApplication, allowMasterKey, allowVirtualKeys, insecureSkipVerify) — see Data-plane JWT authentication |
azureEntra | Sign every Azure model provider in with Entra ID instead of an API key (mode, tenantID, clientID, clientSecretRef, authorityHost, scope) — see Entra ID for Azure models |
smtp | The mail relay the gateway console sends invites, password resets and security notices through (host, port, tls, from, replyTo, username, passwordSecretRef) — see Email (SMTP) |
publicURL | The address people reach the gateway at, for example https://ai.example.com. Invite and password-reset links are built from it. Unset, the operator uses spec.ingress.host when the ingress has TLS — see Email (SMTP) |
Postgres still comes from spec.database — the same field, resolved the same way. The operator assembles every connection string into one owned <gateway>-waeg-storage Secret and references it by key, so no credential-bearing URL ever lands in the CR.
Analytics storage mode
Wäg keeps its control plane (config, keys, orgs, teams, applications) in Postgres and its analytics plane (request logs, usage, spend) in a store selected by spec.waeg.storageMode:
| Mode | Analytics live in | ClickHouse needed |
|---|---|---|
split (default) | ClickHouse — spec.waeg.clickhouse must point at it | yes |
single | the same Postgres as the control plane (spec.database) | no |
split is this operator's default: it is what the Gateway has always emitted, and it is what holds up at volume. Upstream Wäg's own default is single, and that is its recommended starting point — which is exactly why this field exists. Requiring a ClickHouse for every gateway forced a dependency upstream had already dropped, and for a small or evaluation deployment it doubles the datastores you run, size and back up for no benefit.
With single the emitted WaegInstance carries no clickhouse block at all; spec.waeg.clickhouse is ignored and is not required.
Switching modes does not migrate analytics history
The two planes are separate stores. Changing storageMode on a running gateway points it at the other one — the analytics already written stay where they were and are no longer visible in the console. Neither the operator nor Wäg copies them across. Choose a mode before you collect data you care about, or export it first.
single — Postgres only
apiVersion: core.navique.com/v1alpha1
kind: Gateway
metadata:
name: waeg-gateway
namespace: forge-gateway
spec:
type: waeg
secretsRef: { name: forge-secrets }
database:
mode: postgresCluster
postgresClusterRef: { name: forge-pg, namespace: forge-data }
databaseName: waeg
instance:
replicas: 1
masterKey: { autoGenerate: true }
waeg:
storageMode: single # analytics land in forge-pg, next to the control plane
# no clickhouse block — none is needed, and one here would be ignoredsplit — ClickHouse analytics
spec:
type: waeg
secretsRef: { name: forge-secrets }
database:
mode: postgresCluster
postgresClusterRef: { name: forge-pg, namespace: forge-data }
databaseName: waeg
instance:
replicas: 2
masterKey: { autoGenerate: true }
waeg:
storageMode: split # the default; may be omitted
clickhouse: { mode: ref, ref: { name: forge-ch, namespace: forge-data } }
clickhouseDatabase: waeg # the default
redis: { mode: ref, ref: { name: forge-redis, namespace: forge-data } }Wäg creates only its tables, never its database. On a managed or adoptClickHouseCluster the operator declares that database under spec.databases and creates it for you; on an external cluster you must create it yourself, or the gateway exits at start-up with Database waeg does not exist.
Scaling on load (KEDA)
LLM requests spend most of their time waiting on the model provider, so CPU says little about how busy a gateway is. With KEDA the gateway scales on its own load signal instead:
- API pods on
inFlight, the requests being handled (default target 16 per pod), oractiveStreams, the open streaming responses. - Workers on their job queue:
jobsQueued(default, 5 waiting jobs per extra worker),jobsRunningorwebhooksPending. Workers can scale to zero when idle (minReplicas: 0).
spec:
type: waeg
waeg:
topology: Split
autoscaling:
enabled: true
backend: KEDA
minReplicas: 2
maxReplicas: 10
metric: inFlight
targetValue: 16
keda: { fallbackReplicas: 4, fallbackFailureThreshold: 3 }
worker:
enabled: true
autoscaling: { enabled: true, minReplicas: 0, maxReplicas: 5 } # KEDA by defaultKEDA is free and installed on demand. When a gateway asks for backend: KEDA (the worker default), the operator installs KEDA into the keda namespace, the same way it installs a datastore's operator, and removes it when no gateway needs it any more. It stays installed while any of your own workloads scale through it.
- An existing KEDA, or OpenShift's Custom Metrics Autoscaler, is used as it is and never touched.
- Another metrics adapter (for example Prometheus Adapter) already serving the cluster's external metrics API means KEDA cannot be installed beside it. The Gateway reports
AutoscalingReady=Falsewith reasonExternalMetricsInUse, and the gateway runs at its minimum replica count. backend: Autouses KEDA where it is already installed and CPU scaling otherwise (workers then keep their fixedreplicas). It never installs anything.- HTTPS: the gateway serves HTTPS from the platform CA. The operator mounts that CA into the KEDA it installs. A KEDA installed by someone else must be given it by hand; until then the Gateway reports
KEDATrustRequired. keda.fallbackReplicasholds a replica count when the load signal cannot be readfallbackFailureThresholdtimes in a row, so a gateway outage does not freeze scaling. Keepkeda.cooldownPeriod(default 300 seconds) above the gateway's shutdown time.- More than one API replica needs
spec.waeg.redis.
Console assistant
Wäg's console assistant answers questions in the gateway's console, using the gateway's models, the Wäg manual and the person's own console data, and acts as the signed-in person. It is off unless enabled:
spec:
waeg:
assistant: { enabled: true } # optional: replicas, resources, imageThe waeg-operator then runs it next to the gateway and connects the two. It needs Wäg gateway 1.12.0 or later. Who may use it, its model and its per-person budget are set in the Wäg console under Platform settings → System → Assistant. Setting enabled: false removes it again.
replicasdefaults to 1 (it keeps no state);resourcesdefaults to requests 100m / 256Mi and a 512Mi memory limit.imageoverrides the assistant image, which otherwise follows the gateway's release. With a mirror registry set it: like the gateway image, an unset one cannot be moved onto the mirror, and the Gateway warns.
Artifact storage
Jobs such as document OCR, and generated media, leave files behind that the gateway serves later. By default they live on a volume in each pod. With more than one gateway pod (several replicas, KEDA scaling or Split workers), a file one pod wrote is missing on the pod that serves it. The operator warns about this with an ArtifactsNotShared event. Keep them in an object store instead:
spec:
type: waeg
waeg:
artifacts:
backend: s3 # or azureBlob
s3:
bucket: waeg-artifacts
region: eu-central-1
# endpoint: http://minio.storage:9000 # an S3-compatible store
accessKeyIDSecretRef: { name: artifacts-s3 } # key access-key-id
secretAccessKeySecretRef: { name: artifacts-s3 } # key secret-access-key
# azureBlob:
# account: stwaegartifacts
# container: artifacts
# credentialsSecretRef: { name: artifacts-blob } # key connection-stringFor S3 the gateway signs in with access keys. For Azure Blob, use either credentialsSecretRef (a storage account key, connection string or SAS token) or entra to sign in keyless with Entra ID, exactly one of them:
azureBlob:
account: stwaegartifacts
container: artifacts
entra: {} # the gateway's workload identity from spec.waeg.azureEntra
# entra: { clientID: <managed identity> } # a different one, if the models use none
# endpoint: https://stwaegartifacts.blob.core.usgovcloudapi.net # sovereign cloud, private endpointThe identity needs the Storage Blob Data Contributor role on the container. The gateway pods run as one workload identity: an entra.clientID that differs from spec.waeg.azureEntra.clientID is refused. An RWX pvc is the other way to share artifacts between pods.
Entra ID for Azure models
With spec.waeg.azureEntra, every Azure model provider of the gateway (azure, azure_ai, …) signs in with Entra ID instead of an API key, so those models need no refSecretKey and there is no key to store or rotate. Other providers keep their keys.
spec:
type: waeg
waeg:
azureEntra:
mode: workloadIdentity
clientID: 11111111-1111-1111-1111-111111111111 # the managed identity
tenantID: 00000000-0000-0000-0000-000000000000
models:
- name: gpt-4o
modelName: gpt-4o
model: azure/gpt-4o
credentials: { apiBase: https://my-resource.openai.azure.com, apiVersion: 2024-10-21 }mode | How the gateway signs in |
|---|---|
workloadIdentity | AKS workload identity. The operator puts the identity on the gateway pods' ServiceAccount (named like the Gateway) and labels the pods. Create a federated credential for system:serviceaccount:<namespace>:<gateway> on the managed identity, and give it a role such as Cognitive Services OpenAI User on the Azure resource |
managedIdentity | The node's or a user-assigned managed identity (clientID picks one) |
clientSecret | A service principal: tenantID, clientID and clientSecretRef (key client-secret), passed to the pods as an environment variable, never in the CR |
auto (default) | The gateway tries workload identity, then a managed identity, then a client secret |
authorityHost serves sovereign clouds; scope overrides the token scope.
Providers and models
Wäg keeps an upstream connection — the kind of provider, its address and its API key — as a provider of its own, and models only name the provider they run on. List the providers under spec.waeg.providers; each becomes a WaegProvider, each entry in spec.models a WaegModel on it.
spec:
type: waeg
waeg:
providers:
- { name: foundry, kind: azure_openai, baseURL: "https://my-resource.openai.azure.com", refSecretKey: AZURE_API_KEY }
- { name: claude, kind: anthropic, baseURL: "https://my-resource.services.ai.azure.com/anthropic", refSecretKey: CLAUDE_API_KEY }
models:
- { name: gpt, modelName: gpt-5.4, model: azure_openai/gpt-5.4, providerName: foundry, modelId: gpt-5.4 }
- { name: opus, modelName: claude-opus-5, model: anthropic/claude-opus-5, providerName: claude, modelId: claude-opus-5 }| Provider field | Description |
|---|---|
name | The provider's name in the gateway's catalog, which models[].providerName refers to. Lowercase letters, digits and - |
kind | The Wäg provider kind: openai, anthropic, gemini, azure_openai, azure_foundry, bedrock, mistral, vllm, ollama, … Claude on Azure AI Foundry is anthropic with the address https://<resource>.services.ai.azure.com/anthropic |
baseURL | The provider's address. Azure and self-hosted kinds need it; the others default to the provider's public API |
refSecretKey | The API key in the model-credentials Secret. Not needed for an Azure kind with spec.waeg.azureEntra, or for vllm / ollama |
region | The region, for kinds that need one (bedrock) |
| Model field | Description |
|---|---|
providerName | The provider the model runs on. With a single provider listed it may be left out |
modelId | The model's id at the provider (for Azure, the deployment name) |
fallbacks | Model aliases to try when this one fails |
weight | Balances this deployment against others on the same alias |
A model naming a provider the list does not have refuses the Gateway with a message naming the model. The emitted WaegProvider is named <gateway>-<name>.
Without spec.waeg.providers (Gateways written before the list), the operator derives one provider per distinct connection the models carry: the driver from the model string (azure/gpt-4o → azure), credentials.apiBase and refSecretKey. The connection most models of a driver use keeps the driver's name (<gateway>-azure); another endpoint or key of the same driver gets a provider of its own with a suffix. Earlier versions put every model of a driver on one provider, connected as the first of them said. A derived provider's kind is the driver as written, so Claude on Azure AI Foundry, written as an Azure model, still needs a provider list with kind: anthropic; the management console fills that list in from the models when the Stack's models are edited.
What it emits
WaegInstance → WaegOrganization → WaegBudget (org caps) → WaegTeam(s)
→ WaegProvider(s) → WaegModel(s) → WaegModelAccess(All in API group gateway.waeg.ai/v1alpha1.)
Enterprise licence
spec.instance.licenseSecretRef carries the gateway's Wäg Enterprise licence. It reaches the instance as WaegInstance.spec.secrets.licenseKey; the Secret key defaults to license.
Every Wäg Enterprise module is gated on it — SSO, SCIM, audit, CMEK, FIPS and branding alike — and enforcement is unconditional: an EE-linked gateway image with no licence answers 402 license_required. Running the Enterprise build is not on its own enough, so if a module reports LicenseRequired, this field is what is missing.
spec:
instance:
licenseSecretRef: { name: waeg-enterprise-license, key: license }The licence is referenced, never inlined: let your SecretsManagement backend materialize the Secret (ESO from Key Vault, or a SealedSecret) like every other credential. In a Stack it is declared once as spec.gateway.licenseSecretRef and passed through to the Gateway.
Activating the licence in the gateway's console instead
licenseSecretRef is optional. You can leave it unset and activate the licence in the Wäg console (Platform → License) once the gateway is up — the gateway keeps it in its own configuration. The two are exclusive: when licenseSecretRef is set the environment wins and the console's licence page is read-only.
The operator cannot see a licence activated in the console, so nothing on its side depends on knowing about it: the Enterprise modules it configures (SSO, SCIM, data-plane JWT) are emitted either way and take effect once the gateway is licensed, and the Navique theme pack is handed over regardless.
SSO and trace export
Both work, through paths that differ from LiteLLM's.
SSO (spec.sso) is applied through a WaegEnterpriseConfig CR, which configures Wäg's Enterprise modules via its admin API rather than through instance env. The operator reads the client id from your Secret and sets it as a plain field (a client id is public by construction — it travels in the browser's authorize URL), while the client secret stays a Secret reference, projected onto the pod as WAEG_EE_OIDC_CLIENT_SECRET. That is deliberate: the CR could also write the secret into the gateway's sealed config store, which would put it in the gateway's config revisions instead of leaving it in Kubernetes.
The redirect URI is derived as <public origin>/waeg/ui/v1/ee/sso/callback — the gateway rejects any value that does not contain that path. So SSO needs spec.ingress with a host; without one the operator warns rather than emit a callback that can never resolve. Register exactly that URL with your IdP.
Requires the Enterprise gateway build and a licence; the CR reports EnterpriseNotLinked or LicenseRequired per module if either is missing.
Trace export (observabilityRef / observability) maps onto WaegInstance.spec.observability.langfuse, with the project keys supplied as a Secret reference. Environment is the only declarative path the gateway has — it seeds its config file on first boot only and the console wins afterwards — so the sink is built once at start-up and a key change rolls the pods. The resolution order is the same as for LiteLLM: manual keys first, then licensed auto-wiring from a referenced Observability.
SCIM provisioning
spec.waeg.scim turns on Wäg's SCIM v2 endpoints, so your IdP creates, updates and deprovisions console users directly instead of someone doing it by hand. SCIM is independent of spec.sso: it works on a gateway with no interactive login configured at all, which is the usual shape for a headless provisioning integration.
| Field | Description |
|---|---|
enabled | Turns the endpoints on. Default true; while off they answer 404 |
tokenSecretRef | Required. The bearer token your IdP presents. Key defaults to scim-token |
defaultRole | Console role a newly provisioned user receives: viewer, operator or admin |
defaultOrgID | Wäg organization provisioned users land in. Defaults to the gateway's organization (spec.organization or organizationRef), else Wäg's Default Organization |
orgSource | Where a provisioned user's organization comes from: waeg (the gateway decides), enterprise (the IdP payload) or none |
roleMap | IdP group name → Wäg console role. Sent as a whole-map replacement |
orgMap | IdP value → Wäg organization id. Whole-map replacement |
roleMap and orgMap are replaced wholesale on every apply rather than merged, so the gateway always holds exactly what is declared here — deleting an entry deletes the mapping.
Leaving defaultOrgID unset is fine when the Gateway has an organization: users land there rather than org-less, which matters because a user with no organization misses every org-rooted model-access grant.
The endpoints live under /waeg/admin/v1/ee/scim/v2:
/waeg/admin/v1/ee/scim/v2/Users
/waeg/admin/v1/ee/scim/v2/Groups
/waeg/admin/v1/ee/scim/v2/ServiceProviderConfigPoint your IdP's SCIM connector at that base URL with the bearer token from tokenSecretRef. Without the token every call answers 401.
The token is an env var, not a stored config value
The operator projects the token onto the gateway pods as WAEG_EE_SCIM_TOKEN rather than writing it into the gateway's sealed config store. That store can never be read back, so a copy written there would silently go stale the moment you rotate the Secret. As an env var, rotating the Secret and letting the pods roll is the whole rotation procedure.
Requires the gateway's Enterprise licence — without it the module answers 402 — and nothing else.
Not the platform's sso-scim feature
The FORGE AI Core licence has its own sso-scim feature. That is a separate, not-yet-implemented platform capability and has no bearing on the gateway module described here.
spec:
organization: { name: navique-ag }
instance:
licenseSecretRef: { name: waeg-enterprise-license, key: license }
waeg:
scim:
enabled: true
tokenSecretRef: { name: waeg-scim-token, key: scim-token }
defaultRole: viewer
orgSource: waeg
roleMap:
"AI Platform Admins": admin
"AI Platform Users": viewerData-plane JWT authentication
Wäg can validate a bearer JWT from your IdP on data-plane requests, so callers present a token instead of — or alongside — a key. It is switched on by the shared spec.instance.jwtAuth block (the same field LiteLLM uses) and tuned by the Wäg-only spec.waeg.jwt.
spec.instance.jwtAuth | Wäg's EE jwt module |
|---|---|
enabled | enabled |
publicKeyURL | jwksUrl — the JWKS endpoint token-signing keys are fetched from |
issuer | issuer — the expected iss |
audience | audience — the expected aud |
userIDJWTField | subjectClaim — which claim identifies the caller |
spec.waeg.jwt | Description |
|---|---|
appClaim | Claim identifying the calling application. Default azp |
appClaimFallbacks | Claims tried in order when appClaim is absent. Whole-list replacement — an empty list clears Wäg's own defaults (appid, client_id) |
tenantClaim | Claim carrying the org/tenant (Wäg otherwise falls back to tenant_id, then tid) |
requireRegisteredApplication | Reject tokens whose application is not a registered WaegApplication |
allowMasterKey | Keep the master key working on the data plane. Default true |
allowVirtualKeys | Keep virtual keys working on the data plane. Default true |
insecureSkipVerify | Accept unverified token signatures. Development only — Wäg refuses it in a production environment and alongside any hardening flag |
The hardening switches can stop the gateway booting
allowMasterKey: false and allowVirtualKeys: false lock the data plane to JWTs only, and Wäg refuses to start unless the rest is coherent: jwtAuth.enabled: true, a publicKeyURL (JWKS), an audience, and insecureSkipVerify: false. A half-configured hardening flag takes the gateway down rather than degrading — set both halves in the same apply.
allowVirtualKeys: false also stops every application key, the ChatUI's included. Change it deliberately.
The LiteLLM-only claim mappings are not applied. userRolesJWTField, userRoleJWTField, userAllowedRoles, enforceRBAC, userIDUpsert, teamIDsJWTField and adminJWTScope have no Wäg counterpart: Wäg validates the token but never projects roles or teams out of it — authorization comes from OpenFGA and registered applications. Setting them is reported on the FeaturesSupported condition and in status.unsupportedFeatures rather than silently dropped. Reach for spec.waeg.jwt.requireRegisteredApplication and spec.waeg.modelAccess instead.
Requires the gateway's Enterprise licence (entitlement jwt_api); without it the module answers 402.
spec:
instance:
licenseSecretRef: { name: waeg-enterprise-license, key: license }
jwtAuth:
enabled: true
publicKeyURL: https://login.microsoftonline.com/<tenant>/discovery/v2.0/keys
issuer: https://login.microsoftonline.com/<tenant>/v2.0
audience: <client-id>
userIDJWTField: sub # -> Wäg's subjectClaim
waeg:
jwt:
appClaim: azp
tenantClaim: tid
requireRegisteredApplication: true
# allowMasterKey: false # only together with the four settings aboveConsole branding
A Wäg console carries the Navique theme pack by default. The operator materializes the built-in pack into a ConfigMap it owns — <gateway-name>-branding, key theme-pack.json — and points the instance at it; the waeg-operator then POSTs it to the branding API. Wäg shows a theme only once it holds an Enterprise licence — from instance.licenseSecretRef or activated in its console; until then the console keeps Wäg's own look, and the theme appears once the gateway is licensed. Until then the WaegInstance reports BrandingReady=False (LicenseRequired) and phase Degraded. That is expected: the gateway serves normally and the Gateway stays Ready. The waeg-operator keeps retrying, so once you activate the licence in the console the theme is applied within its next poll and the instance returns to Ready.
| Situation | Result |
|---|---|
waeg.brandingConfigMapRef is set, licence has custom-branding | Your pack wins. The operator creates nothing of its own; CustomBranding=True |
waeg.brandingConfigMapRef is set, licence lacks custom-branding | The Navique pack is applied and CustomBranding=False (CustomBrandingUnlicensed) says why. The reference stays, so your pack applies as soon as the licence allows |
waeg.defaultBranding: false | Opt out — the console keeps Wäg's own livery |
No instance.licenseSecretRef | The pack is still created and handed over: the licence may be activated in the gateway's console, which the operator cannot see. It shows once the gateway is licensed |
| Otherwise (the default) | The Navique pack is applied |
The ConfigMap is rewritten on every reconcile. The pack ships inside the operator, so an operator upgrade rolls the console forward instead of pinning whichever pack happened to be installed first — which also means hand-editing it is pointless, the next reconcile reverts it. To carry your own styling (white-label, licensed feature custom-branding), publish a ConfigMap and point brandingConfigMapRef at it — or use Gateway branding on the gateway's page in the management console, which validates the pack, previews it, and connects it (on the gateway's Stack when one manages it). A Stack passes spec.gateway.waeg.brandingConfigMapRef / defaultBranding through.
spec:
instance:
licenseSecretRef: { name: waeg-enterprise-license, key: license }
waeg:
defaultBranding: true # the default; false keeps Wäg's own livery
# brandingConfigMapRef: { name: my-theme-pack, key: theme-pack.json }Email (SMTP)
The Wäg console emails invites, password resets and security notices. Give it a mail relay in spec.waeg.smtp:
spec:
type: waeg
waeg:
publicURL: https://ai.example.com
smtp:
host: smtp.office365.com
tls: starttls # or tls (encrypted from the start, usually port 465)
from: ai@example.com
replyTo: it-help@example.com
username: ai@example.com
passwordSecretRef: { name: waeg-smtp, key: password }portdefaults by TLS mode: 587 forstarttls, 465 fortls.- Plain SMTP is not accepted: in production Wäg refuses to send credentials and reset links unencrypted.
- The password stays in its Secret. Settings made here show as locked in the gateway console.
- Links in the emails are built only from
publicURL, never from the address a request came in on. Without it, invites can't be emailed and "Forgot password?" is unavailable. It must behttps://. When it is unset, the operator usesspec.ingress.hostif the ingress has TLS; with Gateway API routing or several hostnames, set it yourself.
ChatUI connects as an application
A ChatUI with gatewayRef pointing at a Wäg gateway is auto-wired, but through a different object than LiteLLM uses.
Wäg has no standalone virtual key: a key belongs to an application — an org-rooted tenancy object with its own model access, budgets and audit trail. So the operator registers the ChatUI as a WaegApplication and mints a WaegVirtualKey against it:
WaegApplication (the chat UI's identity) → WaegVirtualKey (its credential)The practical difference is attribution: spend, rate limits and audit entries land against "the chat UI" instead of an anonymous key, and the application appears in Wäg's EU AI Act deployer inventory with a declared purpose.
Applications belong to an organization: the Gateway's spec.organization, the Organization its organizationRef names, or, when it has neither, Wäg's built-in Default Organization. To use a key you minted yourself instead, set the ChatUI's spec.gateway.{url, apiKeySecretRef}.
Credential rotation works as it does for LiteLLM: advancing the rotation index mints a new key into a fresh Secret rather than overwriting in place. The application is stable across rotations — it is the identity, not the credential.
Each request names the signed-in user
LibreChat sends the signed-in user's email with every request, and the application allows it to (Wäg's on-behalf policy). Each call then runs with that person's model access, budget and logging preferences, with the chat UI's own budget on top, and usage is attributed to the person instead of the chat UI. This is always on for a ChatUI wired to a Wäg gateway.
LibreChat also sends the chat's conversation ID as x-conversation-id, so the gateway groups all calls of one conversation into a single session in its request logs and traces. The first message of a new chat may go out before the chat has an ID; the gateway handles that request on its own.
The ChatUI's spec.onBehalf decides what happens to people the gateway does not know yet:
unknownUser | Effect |
|---|---|
reject (default) | Only people with a gateway account can chat; anyone else gets an error. Create accounts through Identities or the gateway console |
provision | The gateway creates an account on first use, without console access. Requires allowedEmailDomains |
kind: ChatUI
spec:
gatewayRef: { name: forge-gateway }
onBehalf:
unknownUser: provision
allowedEmailDomains: [example.com]allowedEmailDomains (without @) also limits who may chat with reject.
Encryption in transit
When the platform CA has issued a certificate, the operator turns on WaegInstance.spec.tls so the gateway serves HTTPS in-pod — traffic is encrypted to the pod, not only to the edge. The gateway has a single listener, so this switches everything together and the waeg-operator follows: probes, the Service's appProtocol, status.endpoint, the ServiceMonitor and the KEDA scale URL.
The platform CA bundle goes with it. The operator's own Admin API calls ride that connection, so without the CA they would fail x509 verification against the in-cluster CA and take branding and every product CR with them.
Guardrails
spec.guardrailRefs works on a Wäg gateway, but the shape differs. LiteLLM takes one object per execution mode; Wäg takes three:
WaegGuardrailItem (one per Guardrail) → WaegGuardrailChain (orders them)
→ WaegGuardrailBinding (applies the chain)The operator emits all three at scope: platform, so no organization is required. The binding uses mode: floor, meaning it always runs — an org- or team-level binding added later in the Wäg console cannot switch off a guardrail the platform attached.
Three item settings are load-bearing, and the operator picks them for you:
| Setting | Why |
|---|---|
role | transform engines rewrite content. Configured as a policy item, Wäg treats the rewrite as a redact decision and mid-stream substitution silently does not happen. Catalog engines declare their own role |
onError | Taken from unreachableFallback (default fail_closed). Wäg defaults to fail-open, so an engine that deliberately answers 502 would otherwise have the original prompt forwarded to the provider |
mode | Wäg has a during_call phase LiteLLM lacks. A transform engine needs it, or streamed responses go un-rewritten. The bundled pseudonymizer runs all three phases on Wäg |
External guardrails need spec.waeg.path. Wäg POSTs to a URL given in full, whereas LiteLLM appends /beta/litellm_basic_guardrail_api — so the operator cannot guess where a user-managed endpoint serves the Wäg protocol. Without it the guardrail is skipped and an Event says so, rather than the operator guessing a path and making every scan fail while the gateway looks healthy. Catalog engines supply their own path (the pseudonymizer serves /v1/waeg/check).
spec.waeg on a Guardrail also carries optional role, timeoutMs, forwardIdentity and forwardSessionId. The last two matter for engines that keep per-session state: the pseudonymizer's name mappings stay consistent across turns only when Wäg forwards an identity, otherwise it falls back to the request id, which stitches a single request together but not a conversation. The catalog pseudonymizer therefore turns both on by default; set them to false in spec.waeg to opt out.
What is not applied
A few fields on this CRD are still not applied to a Wäg gateway. Setting one does not break anything — it is listed in status.unsupportedFeatures, the FeaturesSupported condition goes False with reason UnsupportedByBackend, and an Event fires.
| Field | Why |
|---|---|
instance.saltKey | Wäg has no salt key — use waeg.dataEncryptionKeySecretRef |
instance.storePromptsInLogs | No equivalent runtime setting |
instance.healthCheck | Wäg exposes fixed /healthz and /readyz probes and no configurable background loop |
instance.jwtAuth — the claim mappings only | JWT auth itself is applied (see Data-plane JWT authentication). Only userRolesJWTField, userRoleJWTField, userAllowedRoles, enforceRBAC, userIDUpsert, teamIDsJWTField and adminJWTScope are refused: Wäg authorizes through OpenFGA and registered applications rather than by projecting roles out of the token |
instance.rolePermissions | Wäg has no LiteLLM role_permissions — use waeg.modelAccess for org-rooted model ACLs |
models[].rpm / tpm / timeout / maxTokens | The Wäg model object carries no rate or token caps, and the gateway has no per-model request timeout at all. A per-model limit is a WaegBudget with scope: model (an org-wide pool for the alias), which this operator does not emit |
organization.budgetDuration | Wäg budget policies have no period field |
Outside the Gateway spec, the identity resources are fully supported on Wäg: Identity, Organization and Team emit WaegUser, WaegOrganization, WaegTeam and the org- and team-scoped WaegBudget policies. Point them at this Gateway with type: gateway and they follow its spec.type — see Choosing the backend.
Two identity fields are not applied on Wäg: an Identity's teamRefs and budget. Wäg keeps membership on the team (list the address in the Team's members), and a per-user cap is a WaegBudget with scope: user. A Wäg Identity also gets a generated console password Secret and reports Ready only once the WaegUser is Synced — see Wäg accounts.
Rejected up front
Rather than emitting a resource that would wedge, the operator refuses these with Ready=False, reason InvalidTarget:
type: waegwith nospec.waegor nospec.waeg.clickhousewaeg.worker.enabledontopology: AllInOne- more than one API replica with no
waeg.redis
Example
apiVersion: core.navique.com/v1alpha1
kind: Gateway
metadata:
name: waeg-gateway
namespace: forge-gateway
spec:
type: waeg
secretsRef: { name: forge-secrets }
database:
mode: postgresCluster
postgresClusterRef: { name: forge-pg, namespace: forge-data }
databaseName: waeg # never share a schema with a LiteLLM gateway
instance:
replicas: 2
masterKey: { autoGenerate: true }
licenseSecretRef: { name: waeg-enterprise-license, key: license } # unlocks every EE module
jwtAuth:
enabled: true
publicKeyURL: https://login.microsoftonline.com/<tenant>/discovery/v2.0/keys
issuer: https://login.microsoftonline.com/<tenant>/v2.0
audience: <client-id>
userIDJWTField: sub
waeg:
topology: Split
worker: { enabled: true, replicas: 2, jobWorkers: 4 }
storageMode: split # the default; `single` drops ClickHouse entirely
clickhouse: { mode: ref, ref: { name: forge-ch, namespace: forge-data } }
redis: { mode: ref, ref: { name: forge-redis, namespace: forge-data } }
# openfga omitted -> the operator deploys a Postgres-backed OpenFGA
# defaultBranding defaults to true -> the Navique theme pack is applied
scim:
enabled: true
tokenSecretRef: { name: waeg-scim-token, key: scim-token }
defaultRole: viewer
roleMap: { "AI Platform Admins": admin }
jwt:
appClaim: azp
requireRegisteredApplication: true
modelAccess:
openByDefault: false
fallbackMode: deny
grants:
- models: [premium, economy]
organization: { name: navique-ag, maxBudget: 2000, rpmLimit: 1000 }
teams:
- { name: data-engineering }
models:
- name: gpt-5-4
modelName: premium
model: azure/gpt-5.4 # -> provider "azure", modelId "gpt-5.4"
refSecretKey: OPENAI_API_KEY
credentials: { apiBase: "https://my-resource.openai.azure.com/openai/v1" }
fallbacks: [economy]Check what was skipped:
kubectl -n forge-gateway get gateway waeg-gateway \
-o jsonpath='{.status.conditions[?(@.type=="FeaturesSupported")].message}'In a Stack
Stack.spec.gateway.type: waeg selects it for a whole Stack. The Stack then requires datastores.clickhouse.enabled (admission rejects it otherwise), auto-wires its own ClickHouse and Redis into the second plane, and names the gateway's logical database waeg so it never lands on a LiteLLM schema. Stack.spec.gateway.waeg passes through the topology/worker/OpenFGA/autoscaling knobs, plus scim and jwt; the Enterprise licence is declared once as Stack.spec.gateway.licenseSecretRef, and Stack.spec.gateway.jwtAuth turns data-plane JWT auth on.
Status
status.url exposes the gateway endpoint (public when ingress is enabled, else in-cluster), plus instance readiness, model/team counts, and database readiness. status.unsupportedFeatures lists any configured field the selected gateway type cannot honour (always empty for type: litellm); the FeaturesSupported condition mirrors it.
License notes
Teams, organizations, and budgets are part of the multi-tenancy feature; more than one Gateway requires a gateways limit above the Community default of 1. See Editions & Licensing.