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 deprecated helm/v2 SDK #2396

Merged
merged 5 commits into from
May 17, 2023
Merged

Remove deprecated helm/v2 SDK #2396

merged 5 commits into from
May 17, 2023

Conversation

lblackstone
Copy link
Member

Proposed changes

The helm/v2 SDK is deprecated, and is now being removed. The helm/v3 SDK provides equivalent support, but uses the helm client library rather than shelling out to the helm CLI. The v2:Chart and v3:Chart resources are already aliased, so users can update the SDK in code without a disruptive update.

Related issues (optional)

Fix #1789

The helm/v2 SDK is deprecated, and is now being removed. The helm/v3 SDK provides equivalent support, but uses the helm client library rather than shelling out to the helm CLI. The v2:Chart and v3:Chart resources are already aliased, so users can update the SDK in code without a disruptive update.
@lblackstone lblackstone force-pushed the lblackstone/drop-helmv2 branch from 233dfff to fb046fd Compare May 12, 2023 18:01
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

1 similar comment
@github-actions

This comment was marked as outdated.

@github-actions
Copy link

Does the PR have any schema changes?

Found 2 breaking changes:
Resource "kubernetes:helm.sh/v2:Chart" missing
Type "kubernetes:helm.sh/v2:FetchOpts" missing
No new resources/functions.

@lblackstone lblackstone requested a review from a team May 12, 2023 20:38
@lblackstone

This comment was marked as outdated.

@github-actions
Copy link

Does the PR have any schema changes?

Found 2 breaking changes:
Resource "kubernetes:helm.sh/v2:Chart" missing
Type "kubernetes:helm.sh/v2:FetchOpts" missing
No new resources/functions.

@@ -182,13 +182,6 @@ func TestAccHelm(t *testing.T) {
}
}
},
EditDirs: []integration.EditDir{
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do the two step2 disappear?

Copy link
Member Author

Choose a reason for hiding this comment

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

Those tests were checking that the Chart could be created with the v2 SDK, and subsequently updated to v3. Since v2 is gone, the second step is no longer needed.

@lblackstone lblackstone merged commit 1f34e05 into v4 May 17, 2023
@lblackstone lblackstone deleted the lblackstone/drop-helmv2 branch May 17, 2023 18:12
lblackstone added a commit that referenced this pull request Jul 14, 2023
The helm/v2 SDK is deprecated, and is now being removed. The helm/v3 SDK provides equivalent support, but uses the helm client library rather than shelling out to the helm CLI. The v2:Chart and v3:Chart resources are already aliased, so users can update the SDK in code without a disruptive update.
lblackstone added a commit that referenced this pull request Jul 17, 2023
The helm/v2 SDK is deprecated, and is now being removed. The helm/v3 SDK provides equivalent support, but uses the helm client library rather than shelling out to the helm CLI. The v2:Chart and v3:Chart resources are already aliased, so users can update the SDK in code without a disruptive update.
blampe added a commit that referenced this pull request Nov 26, 2024
Node 18 introduced native `fetch`. Pulumi already requires at least
18, so we can use this instead of `node-fetch` to resolve the punycode
deprecation warning.

Also remove the `tmp` dependency which was only used in Helm v2 and
removed in #2396.

Fixes #3301.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants