infra/feast-operator/docs/namespace-registry.md
The Feast Namespace Registry is a feature that automatically creates and maintains a centralized ConfigMap containing information about all Feast feature store instances deployed by the operator. This enables dashboard applications and other tools to discover and connect to Feast instances across different namespaces.
ConfigMap Creation: The operator creates a ConfigMap in the appropriate namespace:
redhat-ods-applications namespace (or DSCi configured namespace)feast-operator-system namespaceAccess Control: A RoleBinding is created to allow system:authenticated users to read the ConfigMap
Automatic Registration & Cleanup: When a new feature store instance is created, it automatically registers its namespace and client configuration in the ConfigMap. When deleted, it automatically removes its entry from the ConfigMap
Data Structure: The ConfigMap contains a JSON structure with namespace names as keys and lists of client configuration names as values
The namespace registry ConfigMap (feast-configs-registry) contains the following data:
{
"namespaces": {
"namespace-1": ["client-config-1", "client-config-2"],
"namespace-2": ["client-config-3"]
}
}
The namespace registry is automatically deployed when any Feast feature store instance is created. No additional configuration is required.
External applications can discover Feast instances by:
# For OpenShift
kubectl get configmap feast-configs-registry -n redhat-ods-applications -o jsonpath='{.data.namespaces}'
# For Kubernetes
kubectl get configmap feast-configs-registry -n feast-operator-system -o jsonpath='{.data.namespaces}'
The namespace registry automatically manages the lifecycle of feature store instances: