Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Remove unused code#3498

Merged
antgamdia merged 10 commits into
vmware-tanzu:masterfrom
antgamdia:goDepsUpdate-pre
Oct 6, 2021
Merged

Remove unused code#3498
antgamdia merged 10 commits into
vmware-tanzu:masterfrom
antgamdia:goDepsUpdate-pre

Conversation

@antgamdia
Copy link
Copy Markdown
Contributor

Description of the change

Due to the memory issues faced in #3483 (comment), this PR aims at solving just a single: removing the old references to Helm2 as well as other unused code.
This action is required before we update the go deps to avoid deps conflicts.

Benefits

The root of the memory issue perhaps will arise.

Possible drawbacks

N/A

Applicable issues

N/A

Additional information

This is not the same code as in #3483; I've replaced response.NewDataResponse(rel).Write(w) with response.NewDataResponse(*rel).Write(w), since I'm thinking it could be the cause. Not verified, though, just sending the PR to see if it is OOMKilled.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
After bumping Helm up to 3.7.0, we are able to also upgrade Oras and containerd
Removing Helm2 also implies some minor changes in our code

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Copy link
Copy Markdown
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. Glad to see references to proxy gone.

@antgamdia antgamdia merged commit 258cd93 into vmware-tanzu:master Oct 6, 2021
@antgamdia antgamdia deleted the goDepsUpdate-pre branch October 6, 2021 07:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants