Skip to content

Conversation

@triffer
Copy link
Contributor

@triffer triffer commented Dec 22, 2022

Description

Currently some of the tests fail. We didn't have a test job configured for this repo when this was introduced, so we didn't see it.
The tests were failing since the update of sigs.k8s.io/controller-runtime from 0.13.1 to 0.14.0 (#46).
The root cause why tests are failing is, that a support for indexes was introduced to the fake client (kubernetes-sigs/controller-runtime#2025). Before the field selectors were just ignored. After adding the change in the fake client field selectors unknown to the fake client will cause an error.

Changes proposed in this pull request:

  • Add the status.phase field selector fake to the fake client

Related issue(s)

@kyma-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kyma-bot kyma-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 22, 2022
@triffer triffer marked this pull request as ready for review December 22, 2022 07:39
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 11, 2023
@kyma-bot kyma-bot merged commit dd37de0 into kyma-project:main Jan 11, 2023
@triffer triffer deleted the pod-field-selector-fake branch January 11, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants