Skip to content

Commit

Permalink
Automated pulumi/pulumi upgrade (#1888)
Browse files Browse the repository at this point in the history
* Regenerating Node.js SDK based on updated modules

* Regenerating .NET SDK based on updated modules

* Updated modules

* Changelog

Co-authored-by: Levi Blackstone <levi@pulumi.com>
  • Loading branch information
pulumi-bot and lblackstone committed Jan 27, 2022
1 parent 8f97b44 commit 2559491
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 15 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
## HEAD (Unreleased)

- [Helm/Release] Remove beta warnings (https://github.com/pulumi/pulumi-kubernetes/pull/1885)
- [Helm/Release] Handle partial failure during create/update (https://github.com/pulumi/pulumi-kubernetes/pull/1880)
- [Helm/Release] Improve support for helm release operations when cluster is unreachable (https://github.com/pulumi/pulumi-kubernetes/pull/1886)
- Fix detailed diff for server-side apply (https://github.com/pulumi/pulumi-kubernetes/pull/1873)
- Update to latest pulumi dependencies (https://github.com/pulumi/pulumi-kubernetes/pull/1888)

## 3.14.1 (January 18, 2022)

Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require (
github.com/mitchellh/mapstructure v1.4.1
github.com/pkg/errors v0.9.1
github.com/pulumi/cloud-ready-checks v1.0.1-0.20220105213132-0fbbc00d3335
github.com/pulumi/pulumi/pkg/v3 v3.22.1
github.com/pulumi/pulumi/sdk/v3 v3.22.1
github.com/pulumi/pulumi/pkg/v3 v3.23.0
github.com/pulumi/pulumi/sdk/v3 v3.23.0
github.com/stretchr/testify v1.7.0
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
google.golang.org/grpc v1.43.0
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1102,11 +1102,11 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/pulumi/cloud-ready-checks v1.0.1-0.20220105213132-0fbbc00d3335 h1:Lujy/rTbyRE1ZM8bkwm26Q1THtUELJ/Zy36BMlPzk+A=
github.com/pulumi/cloud-ready-checks v1.0.1-0.20220105213132-0fbbc00d3335/go.mod h1:C6HmNtth9oPAWKyRJveZSU4rK/tvzhSGuoOV5y+S17g=
github.com/pulumi/pulumi/pkg/v3 v3.22.1 h1:cGL1pl/e1nXU89OWActStaXk0zAep1Sy8/wtqHj33EI=
github.com/pulumi/pulumi/pkg/v3 v3.22.1/go.mod h1:XnaJRJx6I+i/sp+ZoonMVtbA/z4xpU0ie3lbII35kqo=
github.com/pulumi/pulumi/pkg/v3 v3.23.0 h1:LQnWlAUhW5A7EoPMXBUcJkng9stQ4z5q0WWfGKvmsmw=
github.com/pulumi/pulumi/pkg/v3 v3.23.0/go.mod h1:eJaa+U0nLXFlhuTND4KAMRic2sXRUAVjY7A1Hv4+/EA=
github.com/pulumi/pulumi/sdk/v3 v3.19.0/go.mod h1:AnbQmAhp0ezO/MhcVjqkhvoQnxZ0+79Xb035NcuKrtM=
github.com/pulumi/pulumi/sdk/v3 v3.22.1 h1:xmoxh08lhgQKgFkp8HcQ4NdFuetA5WgvwmY2yBW5wpM=
github.com/pulumi/pulumi/sdk/v3 v3.22.1/go.mod h1:WHOQB00iuHZyXhwrymxpKXhpOahSguJIpRjVokmM11w=
github.com/pulumi/pulumi/sdk/v3 v3.23.0 h1:5stmwiNF7oHZ3p9qU/7I29EwXBq7LyPWUdVMGXtDOvw=
github.com/pulumi/pulumi/sdk/v3 v3.23.0/go.mod h1:WHOQB00iuHZyXhwrymxpKXhpOahSguJIpRjVokmM11w=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8=
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Pulumi.Kubernetes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Pulumi Corp.</Authors>
<Company>Pulumi Corp.</Company>
<Authors>Pulumi</Authors>
<Company>Pulumi</Company>
<Description>A Pulumi package for creating and managing Kubernetes resources.</Description>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://pulumi.com</PackageProjectUrl>
Expand Down
3 changes: 2 additions & 1 deletion sdk/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"repository": "https://github.com/pulumi/pulumi-kubernetes",
"license": "Apache-2.0",
"scripts": {
"build": "tsc"
"build": "tsc",
"install": "node scripts/install-pulumi-plugin.js resource kubernetes ${VERSION}"
},
"dependencies": {
"@pulumi/pulumi": "^3.0.0",
Expand Down
26 changes: 26 additions & 0 deletions sdk/nodejs/scripts/install-pulumi-plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"use strict";
var childProcess = require("child_process");

var args = process.argv.slice(2);

if (args.indexOf("${VERSION}") !== -1) {
process.exit(0);
}

var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), {
stdio: ["ignore", "inherit", "inherit"]
});

if (res.error && res.error.code === "ENOENT") {
console.error("\nThere was an error installing the resource provider plugin. " +
"It looks like `pulumi` is not installed on your system. " +
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
"You may try manually installing the plugin by running " +
"`pulumi plugin install " + args.join(" ") + "`");
} else if (res.error || res.status !== 0) {
console.error("\nThere was an error installing the resource provider plugin. " +
"You may try to manually installing the plugin by running " +
"`pulumi plugin install " + args.join(" ") + "`");
}

process.exit(0);
4 changes: 2 additions & 2 deletions tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ replace (
require (
github.com/pulumi/pulumi-kubernetes/provider/v3 v3.0.0-rc.1
github.com/pulumi/pulumi-kubernetes/sdk/v3 v3.0.0-rc.1
github.com/pulumi/pulumi/pkg/v3 v3.22.1
github.com/pulumi/pulumi/sdk/v3 v3.22.1
github.com/pulumi/pulumi/pkg/v3 v3.23.0
github.com/pulumi/pulumi/sdk/v3 v3.23.0
github.com/stretchr/testify v1.7.0
helm.sh/helm/v3 v3.7.2
k8s.io/client-go v0.23.1
Expand Down
8 changes: 4 additions & 4 deletions tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1106,12 +1106,12 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/pulumi/cloud-ready-checks v1.0.1-0.20220105213132-0fbbc00d3335 h1:Lujy/rTbyRE1ZM8bkwm26Q1THtUELJ/Zy36BMlPzk+A=
github.com/pulumi/cloud-ready-checks v1.0.1-0.20220105213132-0fbbc00d3335/go.mod h1:C6HmNtth9oPAWKyRJveZSU4rK/tvzhSGuoOV5y+S17g=
github.com/pulumi/pulumi/pkg/v3 v3.22.1 h1:cGL1pl/e1nXU89OWActStaXk0zAep1Sy8/wtqHj33EI=
github.com/pulumi/pulumi/pkg/v3 v3.22.1/go.mod h1:XnaJRJx6I+i/sp+ZoonMVtbA/z4xpU0ie3lbII35kqo=
github.com/pulumi/pulumi/pkg/v3 v3.23.0 h1:LQnWlAUhW5A7EoPMXBUcJkng9stQ4z5q0WWfGKvmsmw=
github.com/pulumi/pulumi/pkg/v3 v3.23.0/go.mod h1:eJaa+U0nLXFlhuTND4KAMRic2sXRUAVjY7A1Hv4+/EA=
github.com/pulumi/pulumi/sdk/v3 v3.16.0/go.mod h1:252ou/zAU1g6E8iTwe2Y9ht7pb5BDl2fJlOuAgZCHiA=
github.com/pulumi/pulumi/sdk/v3 v3.19.0/go.mod h1:AnbQmAhp0ezO/MhcVjqkhvoQnxZ0+79Xb035NcuKrtM=
github.com/pulumi/pulumi/sdk/v3 v3.22.1 h1:xmoxh08lhgQKgFkp8HcQ4NdFuetA5WgvwmY2yBW5wpM=
github.com/pulumi/pulumi/sdk/v3 v3.22.1/go.mod h1:WHOQB00iuHZyXhwrymxpKXhpOahSguJIpRjVokmM11w=
github.com/pulumi/pulumi/sdk/v3 v3.23.0 h1:5stmwiNF7oHZ3p9qU/7I29EwXBq7LyPWUdVMGXtDOvw=
github.com/pulumi/pulumi/sdk/v3 v3.23.0/go.mod h1:WHOQB00iuHZyXhwrymxpKXhpOahSguJIpRjVokmM11w=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8=
Expand Down

0 comments on commit 2559491

Please sign in to comment.