Skip to content

Fixing the Integration Test Properly #267

Open
@methylDragon

Description

@methylDragon

Description

This PR:

Bumps the version of k8s.io/client-go to a version beyond v1.26, triggering this deprecation, which broke our integration tests.

This is because the integration test relies on an auth provider to GCP that used to be a golang import, but is now an installed dependency that requires the test to be run in an environment that ran:

  • gcloud components install gke-gcloud-auth-plugin or
  • sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin

At least, that's the proper way to fix the test. In #266, I could not get the proper way to work because despite the test runner having access to the auth plugin, the test itself did not.

So I added the removed dependency as a hack (which is A VERY BAD WORKAROUND.)
See note in relevant file.

Ideally the test runner should be able to be injected with the above dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions