Skip to content

Commit ec97d85

Browse files
pulumi-botblampe
andauthored
Automated upgrade: bump pulumi/pulumi to 3.136.1 (#208)
Automated upgrade: bump pulumi/pulumi to 3.136.1 --------- Co-authored-by: Bryce Lampe <[email protected]>
1 parent 497bba9 commit ec97d85

File tree

14 files changed

+606
-51
lines changed

14 files changed

+606
-51
lines changed

.pulumi.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.116.1
1+
3.136.1

provider/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ toolchain go1.21.6
77
require (
88
github.com/pulumi/pulumi-go-helmbase v0.0.15-0.20240130224250-9aab5822f6ea
99
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.7.1
10-
github.com/pulumi/pulumi/pkg/v3 v3.134.1
11-
github.com/pulumi/pulumi/sdk/v3 v3.134.1
10+
github.com/pulumi/pulumi/pkg/v3 v3.136.1
11+
github.com/pulumi/pulumi/sdk/v3 v3.136.1
1212
)
1313

1414
require (

provider/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ github.com/pulumi/pulumi-go-helmbase v0.0.15-0.20240130224250-9aab5822f6ea h1:BG
156156
github.com/pulumi/pulumi-go-helmbase v0.0.15-0.20240130224250-9aab5822f6ea/go.mod h1:cxsd1EGTjMa/gjhowyfoT3x2jEFcgRXM6SxyLAT699E=
157157
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.7.1 h1:2UevMcV/aV1CFIUJLfypkIpk/hpV875gzF6qrHCsDlM=
158158
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.7.1/go.mod h1:qhS6ceWLzuezFONGe+0OOxGuMLKLUdQk816B07/D8IY=
159-
github.com/pulumi/pulumi/pkg/v3 v3.134.1 h1:iGKvaSHEoPCGBqDoIGQUXUm3qkrawfd513lL0I9vnNQ=
160-
github.com/pulumi/pulumi/pkg/v3 v3.134.1/go.mod h1:1iCee1QIwXYvkIQJ/HnBjsPsmYJ/arBPWX6hAao/Pro=
161-
github.com/pulumi/pulumi/sdk/v3 v3.134.1 h1:v1zd0d+B9gpUhsdJ483YUMHwHXqDvXvZ+mh/A4HhPWg=
162-
github.com/pulumi/pulumi/sdk/v3 v3.134.1/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8=
159+
github.com/pulumi/pulumi/pkg/v3 v3.136.1 h1:zA8aJZ7qI0QgZkBKjjQaYHEcigK6pZfrbfG38imXzWo=
160+
github.com/pulumi/pulumi/pkg/v3 v3.136.1/go.mod h1:Iz8QIs07AbEdrO52hEIEM5C4VBDUYFH2NdM9u2xxBxY=
161+
github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI=
162+
github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI=
163163
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
164164
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
165165
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=

sdk/java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@ if (signingKey) {
151151
useInMemoryPgpKeys(signingKey, signingPassword)
152152
sign publishing.publications.mainPublication
153153
}
154-
}
154+
}

sdk/java/src/main/java/com/pulumi/kubernetescertmanager/CertManager.java

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public Output<ReleaseStatus> status() {
3737
*
3838
* @param name The _unique_ name of the resulting resource.
3939
*/
40-
public CertManager(String name) {
40+
public CertManager(java.lang.String name) {
4141
this(name, CertManagerArgs.Empty);
4242
}
4343
/**
4444
*
4545
* @param name The _unique_ name of the resulting resource.
4646
* @param args The arguments to use to populate this resource's properties.
4747
*/
48-
public CertManager(String name, @Nullable CertManagerArgs args) {
48+
public CertManager(java.lang.String name, @Nullable CertManagerArgs args) {
4949
this(name, args, null);
5050
}
5151
/**
@@ -54,11 +54,18 @@ public CertManager(String name, @Nullable CertManagerArgs args) {
5454
* @param args The arguments to use to populate this resource's properties.
5555
* @param options A bag of options that control this resource's behavior.
5656
*/
57-
public CertManager(String name, @Nullable CertManagerArgs args, @Nullable com.pulumi.resources.ComponentResourceOptions options) {
58-
super("kubernetes-cert-manager:index:CertManager", name, args == null ? CertManagerArgs.Empty : args, makeResourceOptions(options, Codegen.empty()), true);
57+
public CertManager(java.lang.String name, @Nullable CertManagerArgs args, @Nullable com.pulumi.resources.ComponentResourceOptions options) {
58+
super("kubernetes-cert-manager:index:CertManager", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), true);
5959
}
6060

61-
private static com.pulumi.resources.ComponentResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.ComponentResourceOptions options, @Nullable Output<String> id) {
61+
private static CertManagerArgs makeArgs(@Nullable CertManagerArgs args, @Nullable com.pulumi.resources.ComponentResourceOptions options) {
62+
if (options != null && options.getUrn().isPresent()) {
63+
return null;
64+
}
65+
return args == null ? CertManagerArgs.Empty : args;
66+
}
67+
68+
private static com.pulumi.resources.ComponentResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.ComponentResourceOptions options, @Nullable Output<java.lang.String> id) {
6269
var defaultOptions = com.pulumi.resources.ComponentResourceOptions.builder()
6370
.version(Utilities.getVersion())
6471
.build();

sdk/java/src/main/java/com/pulumi/kubernetescertmanager/Provider.java

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ public class Provider extends com.pulumi.resources.ProviderResource {
1616
*
1717
* @param name The _unique_ name of the resulting resource.
1818
*/
19-
public Provider(String name) {
19+
public Provider(java.lang.String name) {
2020
this(name, ProviderArgs.Empty);
2121
}
2222
/**
2323
*
2424
* @param name The _unique_ name of the resulting resource.
2525
* @param args The arguments to use to populate this resource's properties.
2626
*/
27-
public Provider(String name, @Nullable ProviderArgs args) {
27+
public Provider(java.lang.String name, @Nullable ProviderArgs args) {
2828
this(name, args, null);
2929
}
3030
/**
@@ -33,11 +33,18 @@ public Provider(String name, @Nullable ProviderArgs args) {
3333
* @param args The arguments to use to populate this resource's properties.
3434
* @param options A bag of options that control this resource's behavior.
3535
*/
36-
public Provider(String name, @Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
37-
super("kubernetes-cert-manager", name, args == null ? ProviderArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
36+
public Provider(java.lang.String name, @Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
37+
super("kubernetes-cert-manager", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
3838
}
3939

40-
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output<String> id) {
40+
private static ProviderArgs makeArgs(@Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
41+
if (options != null && options.getUrn().isPresent()) {
42+
return null;
43+
}
44+
return args == null ? ProviderArgs.Empty : args;
45+
}
46+
47+
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output<java.lang.String> id) {
4148
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
4249
.version(Utilities.getVersion())
4350
.build();

sdk/java/src/main/java/com/pulumi/kubernetescertmanager/Utilities.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
public class Utilities {
1919

20-
public static Optional<String> getEnv(String... names) {
20+
public static Optional<java.lang.String> getEnv(java.lang.String... names) {
2121
for (var n : names) {
2222
var value = Environment.getEnvironmentVariable(n);
2323
if (value.isValue()) {
@@ -27,7 +27,7 @@ public static Optional<String> getEnv(String... names) {
2727
return Optional.empty();
2828
}
2929

30-
public static Optional<Boolean> getEnvBoolean(String... names) {
30+
public static Optional<java.lang.Boolean> getEnvBoolean(java.lang.String... names) {
3131
for (var n : names) {
3232
var value = Environment.getBooleanEnvironmentVariable(n);
3333
if (value.isValue()) {
@@ -37,7 +37,7 @@ public static Optional<Boolean> getEnvBoolean(String... names) {
3737
return Optional.empty();
3838
}
3939

40-
public static Optional<Integer> getEnvInteger(String... names) {
40+
public static Optional<java.lang.Integer> getEnvInteger(java.lang.String... names) {
4141
for (var n : names) {
4242
var value = Environment.getIntegerEnvironmentVariable(n);
4343
if (value.isValue()) {
@@ -47,7 +47,7 @@ public static Optional<Integer> getEnvInteger(String... names) {
4747
return Optional.empty();
4848
}
4949

50-
public static Optional<Double> getEnvDouble(String... names) {
50+
public static Optional<java.lang.Double> getEnvDouble(java.lang.String... names) {
5151
for (var n : names) {
5252
var value = Environment.getDoubleEnvironmentVariable(n);
5353
if (value.isValue()) {
@@ -68,8 +68,8 @@ public static InvokeOptions withVersion(@Nullable InvokeOptions options) {
6868
);
6969
}
7070

71-
private static final String version;
72-
public static String getVersion() {
71+
private static final java.lang.String version;
72+
public static java.lang.String getVersion() {
7373
return version;
7474
}
7575

@@ -78,7 +78,7 @@ public static String getVersion() {
7878
var versionFile = Utilities.class.getClassLoader().getResourceAsStream(resourceName);
7979
if (versionFile == null) {
8080
throw new IllegalStateException(
81-
String.format("expected resource '%s' on Classpath, not found", resourceName)
81+
java.lang.String.format("expected resource '%s' on Classpath, not found", resourceName)
8282
);
8383
}
8484
version = new BufferedReader(new InputStreamReader(versionFile))

sdk/nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@pulumi/kubernetes": "^4.0.0",
19-
"@pulumi/pulumi": "^3.42.0"
19+
"@pulumi/pulumi": "^3.136.0"
2020
},
2121
"devDependencies": {
2222
"@types/node": "^14",

0 commit comments

Comments
 (0)