Skip to content

Commit

Permalink
Create helm.v3 alias (#970)
Browse files Browse the repository at this point in the history
We currently support both Helm v2 and v3, but the SDK
is exposed under the v2 namespace. Create a v3 alias
to avoid confusion.

For now, the support is identical across versions, but
this could change in the future.
  • Loading branch information
lblackstone authored Jan 30, 2020
1 parent dfe5183 commit 938212d
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Update nodejs SDK to use optional chaining in constructor. (https://github.com/pulumi/pulumi-kubernetes/pull/959).
- Automatically set Secret inputs as pulumi.secret. (https://github.com/pulumi/pulumi-kubernetes/pull/961).
- Create helm.v3 alias. (https://github.com/pulumi/pulumi-kubernetes/pull/970).

## 1.4.5 (January 22, 2020)

Expand Down
3 changes: 2 additions & 1 deletion pkg/gen/nodejs-templates/helm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

// Import versions:
import * as v2 from "./v2/index";
import * as v3 from "./v2/index"; // v3 support is currently identical to v2

// Export sub-modules
export { v2 };

export { v3 };
1 change: 1 addition & 0 deletions pkg/gen/python-templates/helm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
# Make subpackages available:
__all__ = [
"v2",
"v3",
]
6 changes: 6 additions & 0 deletions pkg/gen/python-templates/helm/v3/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from ..v2.helm import * # v3 support is identical to v2
3 changes: 2 additions & 1 deletion sdk/nodejs/helm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

// Import versions:
import * as v2 from "./v2/index";
import * as v3 from "./v2/index"; // v3 support is currently identical to v2

// Export sub-modules
export { v2 };

export { v3 };
1 change: 1 addition & 0 deletions sdk/python/pulumi_kubernetes/helm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
# Make subpackages available:
__all__ = [
"v2",
"v3",
]
6 changes: 6 additions & 0 deletions sdk/python/pulumi_kubernetes/helm/v3/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from ..v2.helm import * # v3 support is identical to v2

0 comments on commit 938212d

Please sign in to comment.