Skip to content

Commit

Permalink
Expose all Kubernetes types through SDK
Browse files Browse the repository at this point in the history
Fixes #336.
  • Loading branch information
hausdorff committed Jul 13, 2019
1 parent a8047e5 commit 1a0fac2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
## 0.25.3 (Unreleased)

### Supported Kubernetes versions

- v1.15.x
- v1.14.x
- v1.13.x

### Bug fixes

- Expose all Kubernetes types through the SDK
(https://github.com/pulumi/pulumi-kubernetes/pull/637).


## 0.25.2 (July 11, 2019)

### Supported Kubernetes versions
Expand All @@ -10,7 +22,7 @@

### Improvements

- The Kubernetes provider can now communicate detailed information about the difference between a resource's
- The Kubernetes provider can now communicate detailed information about the difference between a resource's
desired and actual state during a Pulumi update. (https://github.com/pulumi/pulumi-kubernetes/pull/618).
- Refactor Pod await logic for easier testing and maintenance (https://github.com/pulumi/pulumi-kubernetes/pull/590).
- Update to client-go v12.0.0 (https://github.com/pulumi/pulumi-kubernetes/pull/621).
Expand Down Expand Up @@ -72,7 +84,7 @@ desired and actual state during a Pulumi update. (https://github.com/pulumi/pulu

BREAKING: This release changes the behavior of the provider `namespace` flag introduced
in `0.23.0`. Previously, this flag was treated as an override, which ignored namespace
values set directly on resources. Now, the flag is a default, and will only set the
values set directly on resources. Now, the flag is a default, and will only set the
namespace if one is not already set. If you have created resources using a provider
with the `namespace` flag set, this change may cause these resources to be recreated
on the next update.
Expand Down
3 changes: 3 additions & 0 deletions pkg/gen/nodejs-templates/providerIndex.ts.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ import * as {{Group}} from "./{{Group}}/index";
// Export sub-modules
export { {{#Groups}}{{Group}}, {{/Groups}} };

// Import and export sub-modules for all Kubernetes types.
import * as types from "./types";
export { types };
3 changes: 3 additions & 0 deletions sdk/nodejs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ import * as storage from "./storage/index";
// Export sub-modules
export { admissionregistration, apiextensions, apiregistration, apps, auditregistration, authentication, authorization, autoscaling, batch, certificates, coordination, core, events, extensions, meta, networking, node, policy, rbac, scheduling, settings, storage, };

// Import and export sub-modules for all Kubernetes types.
import * as types from "./types";
export { types };
6 changes: 6 additions & 0 deletions sdk/nodejs/types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Import versions:
import * as input from "./input";
import * as output from "./output";

// Export sub-modules
export { input, output };

0 comments on commit 1a0fac2

Please sign in to comment.