Skip to content

test(e2e): assert that the root ingress routes to a backend #4615

Description

@myasnikovdaniil

E2E install used to check root ingress end to end with curl through root-ingress-controller at Host: grafana.example.org. #4023 turns off monitoring instance in tenant-root, so grafana is not installed anymore and this check goes away with it. It was the only assertion in the run that root ingress routes request to backend, rest of install waits on HelmReleases and Deployments, and they are Ready even if controller serves nothing.

Replacement should use host that install brings up anyway. Root tenant has seaweedfs enabled, it publishes s3.<root-host> and filer.<root-host>, so Host: s3.example.org is obvious candidate.

Open question is what response to match. Anonymous request to S3 gateway should return S3 XML (error or bucket listing), which is different from ingress-nginx default backend 404 and from 502/503 when service has no endpoints. I didn't check what seaweedfs returns here, it needs live stand before going into hack/e2e-install-cozystack.bats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testingIssues or PRs related to testing (e2e, bats, unit tests)kind/cleanupCategorizes issue or PR as related to cleanup of code, process, or technical debttriage/needs-triageIndicates an issue needs triage by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions