Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Remove-capp-e2e-tags #384

Merged
merged 4 commits into from
Jul 26, 2022
Merged

✨ Remove-capp-e2e-tags #384

merged 4 commits into from
Jul 26, 2022

Conversation

cprivitere
Copy link
Member

@cprivitere cprivitere commented Jul 25, 2022

Signed-off-by: Chris Privitere 23177737+cprivitere@users.noreply.github.com

What this PR does / why we need it:
The capp e2e testing useragent overrides via ldflags resulted in an akward situation. The few calls to equinix metal done by the e2e test code itself had the correct useragent, but the majority of calls via the manager did not, due to the CI framework pre-building the manager and thus not gettting any of the ldflag overrides from the E2E tests.

Current thinking is to add an Environment variable in the future which can add more UserAgent information. #385

We're going to add an env override for useragent
tracking for things like this in the future. The ldflags
method was causing problems.
Also moving the built in client and ua formatting
back to constants.

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 25, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cprivitere

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 25, 2022
Use packet client instead of packngo.client

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
and clientUAFormat as vars.

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
@cprivitere cprivitere merged commit 71172a4 into kubernetes-sigs:main Jul 26, 2022
@cprivitere cprivitere deleted the remove-capp-e2e-tags branch July 26, 2022 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants