Skip to content

Feast Operator fails when deployed to custom namespace - requires "feast-operator-system" to exist #5823

Open

Description

@RSBhoomika

Expected Behavior

The operator should function correctly regardless of which namespace it is deployed in. It should not require feast-operator-system to exist when running in a different namespace.

Current Behavior

The operator fails to fully reconcile FeatureStore CRs because it attempts to access resources in feast-operator-system, which doesn't exist when the operator is deployed elsewhere.

Steps to reproduce

  1. Deploy the Feast Operator to a custom namespace instead of feast-operator-system
  2. Verify the operator is running:
    kubectl get pods -n test

    feast-operator-controller-manager-xxx 1/1 Running

  3. Create a FeatureStore CR in any namespace
  4. Check the FeatureStore status:
    kubectl describe feast -n
  5. Observe the failure:
Image

Workaround

Creating an empty feast-operator-system namespace resolves the issue:

kubectl create namespace feast-operator-system.After this, FeatureStore CRs reconcile successfully and show Ready status.

Suggested Fix

The operator should dynamically determine its own namespace (using Kubernetes Downward API or ServiceAccount namespace) instead of assuming it runs in feast-operator-system.

Specifications

  • Version: 0.54.0

Activity

  1. uberstoic commented on Oct 3, 2026

    @uberstoic

    Hi!
    kind reminder regarding this issue
    Perhaps I had to ask before adding my PR to this issue so if it is a deal-breaker - let me know please, I will withdraw it

  2. imtpot commented on Oct 22, 2026

    @imtpot
    Contributor

    Still present in v0.67.0 on vanilla Kubernetes v1.35.6. With the operator in another namespace, the FeatureStore fails with namespaces "feast-operator-system" not found. Outside OpenShift, getNamespaceRegistryNamespace() returns the hard-coded DefaultKubernetesNamespace.

    As a workaround, we deploy the operator into feast-operator-system.

    #6477 fixes this: it reads the service-account namespace on every platform. Can a maintainer review it?

  3. added a commit that references this issue on Nov 4, 2026
    7157c4b
  4. added a commit that references this issue on Nov 25, 2026
    69ffd83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions