Skip to content

API

Primary Resource

  • API group: kleym.sonda.red
  • Version: v1alpha1
  • Kind: InferenceIdentityBinding
  • Scope: namespaced

InferenceIdentityBinding expresses identity intent for a single InferencePool and, in PerObjective mode, an InferenceObjective subject. It drives reconciliation of managed ClusterSPIFFEID resources.

External Gateway API Inference Extension (GAIE) schema references:

External SPIFFE/SPIRE references:

Spec Fields

FieldRequiredNotes
poolRef.nameYesReferences an InferencePool in the same namespace.
poolRef.groupNoConstrains pool resolution to a supported GAIE InferencePool group.
objectiveRef.nameConditionallyRequired in PerObjective; references an InferenceObjective in the same namespace.
objectiveRef.groupNoConstrains objective resolution to a supported GAIE InferenceObjective group.
serviceAccountNameYesKubernetes service account required in every rendered identity selector set.
modeNoPoolOnly or PerObjective. Defaults to PerObjective.
containerNameConditionallyRequired in PerObjective; forbidden in PoolOnly.

Current validation rules enforced by the CRD:

  • containerName must be empty when mode is PoolOnly.
  • containerName is required when mode is PerObjective, including the defaulted case.
  • objectiveRef is required when mode is PerObjective, including the defaulted case.
  • serviceAccountName is required.

Status Fields

FieldMeaning
conditionsLatest controller observations.
computedSpiffeIDsComputed SPIFFE IDs with the mode that produced them.
renderedSelectorsFinal selector set used for each rendered identity.

Current Defaults

The controller always renders deterministic SPIFFE IDs under its configured trust domain:

  • PoolOnly: spiffe://<trustDomain>/ns/<namespace>/pool/<pool-name>
  • PerObjective: spiffe://<trustDomain>/ns/<namespace>/objective/<objective-name>

When mode is omitted, the controller behaves as PerObjective.

External Objects Resolved

The controller resolves InferencePool and, when needed, InferenceObjective from supported GAIE GVKs. See GAIE Compatibility for the compatibility matrix, consumed fields, group-constrained reference behavior, and startup discovery rules.

Last updated on