Skip to content

fix: controller tests fail due to missing CRD path after Helm migration #12

@STRRL

Description

@STRRL

Problem

The controller test suite (internal/controller/suite_test.go) fails in CI with:

unable to install CRDs onto control plane: unable to read CRD files:
stat ../../config/crd/bases: no such file or directory

Root Cause

After the migration from kustomize to Helm-based deployment (ceb8595), CRDs are now located under helm/supabase-operator/crds/ instead of config/crd/bases/. The test suite's envtest configuration still references the old path.

Expected Fix

Update the CRD path in internal/controller/suite_test.go to point to the new Helm CRD location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions