diff --git a/provider/cmd/pulumi-resource-kubernetes/schema.json b/provider/cmd/pulumi-resource-kubernetes/schema.json index 268d2e4fc9..71323200b3 100644 --- a/provider/cmd/pulumi-resource-kubernetes/schema.json +++ b/provider/cmd/pulumi-resource-kubernetes/schema.json @@ -29608,6 +29608,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "webhooks" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29666,6 +29676,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29719,6 +29739,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "webhooks" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29777,6 +29807,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29830,6 +29870,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "webhooks" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29888,6 +29938,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29941,6 +30001,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "webhooks" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -29999,6 +30069,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30055,6 +30135,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30111,6 +30202,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30166,6 +30267,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30222,6 +30334,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30274,6 +30396,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30332,6 +30465,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30388,6 +30531,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30446,6 +30600,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30507,6 +30671,17 @@ "required": [ "revision" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "data", + "kind", + "metadata", + "revision" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30573,6 +30748,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30627,6 +30812,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30685,6 +30881,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30739,6 +30945,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30800,6 +31017,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30854,6 +31081,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30912,6 +31150,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -30965,14 +31213,25 @@ } }, "type": "object", - "inputProperties": { - "apiVersion": { - "type": "string", - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "const": "apps/v1" - }, - "kind": { - "type": "string", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, + "inputProperties": { + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "const": "apps/v1" + }, + "kind": { + "type": "string", "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "const": "StatefulSet" }, @@ -31020,6 +31279,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31076,6 +31345,17 @@ "required": [ "revision" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "data", + "kind", + "metadata", + "revision" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31143,6 +31423,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31197,6 +31487,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31259,6 +31560,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31312,6 +31623,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31368,6 +31690,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31424,6 +31756,17 @@ "required": [ "revision" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "data", + "kind", + "metadata", + "revision" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31491,6 +31834,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31545,6 +31898,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31604,6 +31968,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31658,6 +32032,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31720,6 +32105,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31774,6 +32169,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31833,6 +32239,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31886,6 +32302,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31942,6 +32369,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -31989,6 +32426,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32037,6 +32484,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32090,6 +32547,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32141,6 +32609,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32198,6 +32677,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32255,6 +32745,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32312,6 +32813,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32369,6 +32881,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32426,6 +32949,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32483,6 +33017,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32540,6 +33085,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32597,6 +33153,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32654,6 +33221,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32709,6 +33287,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32767,6 +33356,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32821,6 +33420,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32879,6 +33489,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32933,6 +33553,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -32991,6 +33622,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33045,6 +33686,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33103,6 +33755,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33157,6 +33819,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33207,6 +33880,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33261,6 +33944,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33319,6 +34013,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33373,6 +34077,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33431,6 +34146,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33487,6 +34212,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33543,6 +34279,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33595,6 +34341,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33646,6 +34403,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33694,6 +34461,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33745,10 +34522,20 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "type": "object", - "required": [ - "items" - ], + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33799,6 +34586,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33854,6 +34651,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33907,6 +34714,16 @@ "required": [ "target" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "target" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -33968,6 +34785,18 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "binaryData", + "data", + "immutable", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34032,6 +34861,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34085,6 +34924,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "subsets" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34138,6 +34987,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34198,6 +35057,16 @@ "required": [ "ephemeralContainers" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "ephemeralContainers", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34308,6 +35177,29 @@ "involvedObject", "metadata" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "action", + "apiVersion", + "count", + "eventTime", + "firstTimestamp", + "involvedObject", + "kind", + "lastTimestamp", + "message", + "metadata", + "reason", + "related", + "reportingComponent", + "reportingInstance", + "series", + "source", + "type" + ] + } + }, "inputProperties": { "action": { "type": "string", @@ -34422,6 +35314,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34472,6 +35374,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34522,6 +35434,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34576,6 +35498,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34626,6 +35559,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34680,6 +35623,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34730,6 +35684,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34784,6 +35748,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34832,6 +35807,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34882,6 +35868,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34938,6 +35934,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -34992,6 +35998,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35042,6 +36059,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35091,7 +36118,17 @@ "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "type": "object", + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "template" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35142,6 +36179,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35196,6 +36243,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35246,6 +36304,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35300,6 +36368,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35350,6 +36429,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35420,6 +36509,19 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "data", + "immutable", + "kind", + "metadata", + "stringData", + "type" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35490,6 +36592,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35544,6 +36656,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35602,6 +36725,18 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "automountServiceAccountToken", + "imagePullSecrets", + "kind", + "metadata", + "secrets" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35666,6 +36801,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35722,6 +36867,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35790,6 +36945,18 @@ "addressType", "endpoints" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "addressType", + "apiVersion", + "endpoints", + "kind", + "metadata", + "ports" + ] + } + }, "inputProperties": { "addressType": { "type": "string", @@ -35863,6 +37030,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -35931,6 +37108,18 @@ "addressType", "endpoints" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "addressType", + "apiVersion", + "endpoints", + "kind", + "metadata", + "ports" + ] + } + }, "inputProperties": { "addressType": { "type": "string", @@ -36004,6 +37193,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36109,6 +37308,29 @@ "required": [ "eventTime" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "action", + "apiVersion", + "deprecatedCount", + "deprecatedFirstTimestamp", + "deprecatedLastTimestamp", + "deprecatedSource", + "eventTime", + "kind", + "metadata", + "note", + "reason", + "regarding", + "related", + "reportingController", + "reportingInstance", + "series", + "type" + ] + } + }, "inputProperties": { "action": { "type": "string", @@ -36222,6 +37444,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36327,6 +37559,29 @@ "required": [ "eventTime" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "action", + "apiVersion", + "deprecatedCount", + "deprecatedFirstTimestamp", + "deprecatedLastTimestamp", + "deprecatedSource", + "eventTime", + "kind", + "metadata", + "note", + "reason", + "regarding", + "related", + "reportingController", + "reportingInstance", + "series", + "type" + ] + } + }, "inputProperties": { "action": { "type": "string", @@ -36440,6 +37695,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36494,6 +37759,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36549,10 +37825,20 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "type": "object", - "required": [ - "items" - ], + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36607,6 +37893,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36669,6 +37966,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36723,6 +38030,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36782,6 +38100,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36832,6 +38160,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36887,6 +38225,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36937,6 +38285,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -36992,6 +38350,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37046,6 +38414,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37105,6 +38484,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37159,6 +38548,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37214,6 +38614,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37268,6 +38678,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37323,6 +38744,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37377,6 +38808,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37432,6 +38874,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37486,6 +38938,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37541,6 +39004,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37612,6 +39085,20 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "code", + "details", + "kind", + "message", + "metadata", + "reason", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37672,6 +39159,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37724,6 +39222,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37779,6 +39287,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37835,6 +39353,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37884,7 +39412,17 @@ "description": "Specification of the desired behavior for this NetworkPolicy." } }, - "type": "object", + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37940,6 +39478,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -37994,6 +39542,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38046,6 +39605,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38101,6 +39670,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38157,6 +39736,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38218,6 +39807,18 @@ "required": [ "handler" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "handler", + "kind", + "metadata", + "overhead", + "scheduling" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38287,6 +39888,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38340,6 +39951,16 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38401,6 +40022,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38462,6 +40093,18 @@ "required": [ "handler" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "handler", + "kind", + "metadata", + "overhead", + "scheduling" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38531,6 +40174,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38585,6 +40238,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38640,6 +40304,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38693,6 +40367,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38745,6 +40430,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38793,6 +40488,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38848,6 +40553,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -38905,6 +40620,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "aggregationRule", + "apiVersion", + "kind", + "metadata", + "rules" + ] + } + }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1:AggregationRule", @@ -38974,6 +40700,17 @@ "required": [ "roleRef" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "roleRef", + "subjects" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39042,6 +40779,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39098,6 +40845,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39151,6 +40908,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "rules" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39216,6 +40983,17 @@ "required": [ "roleRef" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "roleRef", + "subjects" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39280,10 +41058,20 @@ "description": "Standard object's metadata." } }, - "type": "object", - "required": [ - "items" - ], + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39340,6 +41128,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39397,6 +41195,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "aggregationRule", + "apiVersion", + "kind", + "metadata", + "rules" + ] + } + }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1alpha1:AggregationRule", @@ -39466,6 +41275,17 @@ "required": [ "roleRef" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "roleRef", + "subjects" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39534,6 +41354,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39590,6 +41420,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39643,6 +41483,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "rules" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39708,6 +41558,17 @@ "required": [ "roleRef" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "roleRef", + "subjects" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39776,6 +41637,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39832,6 +41703,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -39889,6 +41770,17 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "aggregationRule", + "apiVersion", + "kind", + "metadata", + "rules" + ] + } + }, "inputProperties": { "aggregationRule": { "$ref": "#/types/kubernetes:rbac.authorization.k8s.io/v1beta1:AggregationRule", @@ -39958,6 +41850,17 @@ "required": [ "roleRef" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "roleRef", + "subjects" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40026,6 +41929,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40082,6 +41995,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40135,6 +42058,16 @@ } }, "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "rules" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40200,6 +42133,17 @@ "required": [ "roleRef" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "roleRef", + "subjects" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40268,6 +42212,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40324,6 +42278,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40389,6 +42353,19 @@ "required": [ "value" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "description", + "globalDefault", + "kind", + "metadata", + "preemptionPolicy", + "value" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40462,6 +42439,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40527,6 +42514,19 @@ "required": [ "value" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "description", + "globalDefault", + "kind", + "metadata", + "preemptionPolicy", + "value" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40600,6 +42600,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40665,6 +42675,19 @@ "required": [ "value" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "description", + "globalDefault", + "kind", + "metadata", + "preemptionPolicy", + "value" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40738,6 +42761,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40785,7 +42818,17 @@ "$ref": "#/types/kubernetes:settings.k8s.io/v1alpha1:PodPresetSpec" } }, - "type": "object", + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40834,6 +42877,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40887,6 +42940,16 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40945,6 +43008,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -40998,6 +43071,16 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41056,6 +43139,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41142,6 +43235,22 @@ "required": [ "provisioner" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "allowVolumeExpansion", + "allowedTopologies", + "apiVersion", + "kind", + "metadata", + "mountOptions", + "parameters", + "provisioner", + "reclaimPolicy", + "volumeBindingMode" + ] + } + }, "inputProperties": { "allowVolumeExpansion": { "type": "boolean", @@ -41233,6 +43342,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41290,6 +43409,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41351,6 +43481,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41416,6 +43556,19 @@ "required": [ "storageClassName" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "capacity", + "kind", + "maximumVolumeSize", + "metadata", + "nodeTopology", + "storageClassName" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41486,6 +43639,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41543,6 +43706,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41604,6 +43778,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41657,6 +43841,16 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41715,6 +43909,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41768,6 +43972,16 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41827,6 +44041,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41892,6 +44116,19 @@ "required": [ "storageClassName" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "capacity", + "kind", + "maximumVolumeSize", + "metadata", + "nodeTopology", + "storageClassName" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -41962,6 +44199,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -42048,6 +44295,22 @@ "required": [ "provisioner" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "allowVolumeExpansion", + "allowedTopologies", + "apiVersion", + "kind", + "metadata", + "mountOptions", + "parameters", + "provisioner", + "reclaimPolicy", + "volumeBindingMode" + ] + } + }, "inputProperties": { "allowVolumeExpansion": { "type": "boolean", @@ -42139,6 +44402,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -42196,6 +44469,17 @@ "required": [ "spec" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "kind", + "metadata", + "spec", + "status" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", @@ -42257,6 +44541,16 @@ "required": [ "items" ], + "language": { + "nodejs": { + "requiredOutputs": [ + "apiVersion", + "items", + "kind", + "metadata" + ] + } + }, "inputProperties": { "apiVersion": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 0506b47837..c7857a9627 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -11,7 +11,7 @@ require ( github.com/onsi/ginkgo v1.12.0 // indirect github.com/onsi/gomega v1.9.0 // indirect github.com/pkg/errors v0.9.1 - github.com/pulumi/pulumi/pkg/v3 v3.7.0 + github.com/pulumi/pulumi/pkg/v3 v3.8.1-0.20210722201133-a4ee050afcc4 github.com/pulumi/pulumi/sdk/v3 v3.7.0 github.com/stretchr/testify v1.7.0 google.golang.org/grpc v1.37.0 diff --git a/provider/go.sum b/provider/go.sum index 818915153d..a5a42f8315 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -985,8 +985,8 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O github.com/prometheus/procfs v0.2.0 h1:wH4vA7pcjKuZzjF7lM8awk4fnuJO6idemZXoKnULUx4= github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.7.0 h1:++E0f1tiY8Goog/D0VrfaSa6Q71k02OjWTCU8QpdIeU= -github.com/pulumi/pulumi/pkg/v3 v3.7.0/go.mod h1:VgIJMIZxVwKg7qVz0smW2UuzOasgfh2997L9etiqkOw= +github.com/pulumi/pulumi/pkg/v3 v3.8.1-0.20210722201133-a4ee050afcc4 h1:pRueIMFTTbt5VFO0PU9oZQU/xY7SLoVVVdhXAaKoxzQ= +github.com/pulumi/pulumi/pkg/v3 v3.8.1-0.20210722201133-a4ee050afcc4/go.mod h1:2Y+Q5wUVGmJ2T3jyBxXEe1C0MjNwWn0dwG4blLB3om8= github.com/pulumi/pulumi/sdk/v3 v3.3.1/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= github.com/pulumi/pulumi/sdk/v3 v3.7.0 h1:0Sm4k6QNLTm7QQmn9t31tVG7d9fuyvFOnogffgvbluE= github.com/pulumi/pulumi/sdk/v3 v3.7.0/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= diff --git a/provider/pkg/gen/nodejs-templates/yaml/yaml.tmpl b/provider/pkg/gen/nodejs-templates/yaml/yaml.tmpl index 9f33d3630e..e701a79f9c 100644 --- a/provider/pkg/gen/nodejs-templates/yaml/yaml.tmpl +++ b/provider/pkg/gen/nodejs-templates/yaml/yaml.tmpl @@ -535,9 +535,9 @@ export interface ConfigOpts { throw new Error(`YAML object does not have a .metadata.name: ${obj.apiVersion}/${obj.kind} ${JSON.stringify(obj.metadata)}`) } - const meta = obj["metadata"]; - let id: pulumi.Output = pulumi.output(meta["name"]); - const namespace = meta["namespace"] || undefined; + const metadata = obj["metadata"]; + let id: pulumi.Output = pulumi.output(metadata["name"]); + const namespace = metadata["namespace"] || undefined; if (namespace !== undefined) { id = pulumi.concat(namespace, "/", id); } diff --git a/provider/pkg/gen/schema.go b/provider/pkg/gen/schema.go index c345ff00e3..c153e2455c 100644 --- a/provider/pkg/gen/schema.go +++ b/provider/pkg/gen/schema.go @@ -1,4 +1,4 @@ -// Copyright 2016-2020, Pulumi Corporation. +// Copyright 2016-2021, Pulumi Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ func PulumiSchema(swagger map[string]interface{}) pschema.PackageSpec { Description: "The contents of a kubeconfig file or the path to a kubeconfig file. If this is set," + " this config will be used instead of $KUBECONFIG.", TypeSpec: pschema.TypeSpec{Type: "string"}, - Language: map[string]json.RawMessage{ + Language: map[string]pschema.RawMessage{ "csharp": rawMessage(map[string]interface{}{ "name": "KubeConfig", }), @@ -86,8 +86,8 @@ func PulumiSchema(swagger map[string]interface{}) pschema.PackageSpec { }, }, Description: "The contents of a kubeconfig file or the path to a kubeconfig file.", - TypeSpec: pschema.TypeSpec{Type: "string"}, - Language: map[string]json.RawMessage{ + TypeSpec: pschema.TypeSpec{Type: "string"}, + Language: map[string]pschema.RawMessage{ "csharp": rawMessage(map[string]interface{}{ "name": "KubeConfig", }), @@ -133,7 +133,7 @@ func PulumiSchema(swagger map[string]interface{}) pschema.PackageSpec { Types: map[string]pschema.ComplexTypeSpec{}, Resources: map[string]pschema.ResourceSpec{}, Functions: map[string]pschema.FunctionSpec{}, - Language: map[string]json.RawMessage{}, + Language: map[string]pschema.RawMessage{}, } goImportPath := "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes" @@ -162,7 +162,7 @@ func PulumiSchema(swagger map[string]interface{}) pschema.PackageSpec { Description: kind.Comment() + kind.PulumiComment(), Type: "object", Properties: map[string]pschema.PropertySpec{}, - Language: map[string]json.RawMessage{}, + Language: map[string]pschema.RawMessage{}, } var propNames []string @@ -250,8 +250,8 @@ func PulumiSchema(swagger map[string]interface{}) pschema.PackageSpec { pkg.Language["csharp"] = rawMessage(map[string]interface{}{ "packageReferences": map[string]string{ - "Glob": "1.1.5", - "Pulumi": "3.*", + "Glob": "1.1.5", + "Pulumi": "3.*", }, "namespaces": csharpNamespaces, "compatibility": kubernetes20, @@ -357,7 +357,7 @@ func genPropertySpec(p Property, resourceGV string, resourceKind string) pschema languageName := strings.ToUpper(p.name[:1]) + p.name[1:] if languageName == resourceKind { // .NET does not allow properties to be the same as the enclosing class - so special case these - propertySpec.Language = map[string]json.RawMessage{ + propertySpec.Language = map[string]pschema.RawMessage{ "csharp": rawMessage(map[string]interface{}{ "name": languageName + "Value", }), @@ -366,7 +366,7 @@ func genPropertySpec(p Property, resourceGV string, resourceKind string) pschema // JSONSchema type includes `$ref` and `$schema` properties, and $ is an invalid character in // the generated names. Replace them with `Ref` and `Schema`. if strings.HasPrefix(p.name, "$") { - propertySpec.Language = map[string]json.RawMessage{ + propertySpec.Language = map[string]pschema.RawMessage{ "csharp": rawMessage(map[string]interface{}{ "name": strings.ToUpper(p.name[1:2]) + p.name[2:], }), @@ -381,7 +381,7 @@ func genPropertySpec(p Property, resourceGV string, resourceKind string) pschema return propertySpec } -func rawMessage(v interface{}) json.RawMessage { +func rawMessage(v interface{}) pschema.RawMessage { bytes, err := json.Marshal(v) contract.Assert(err == nil) return bytes diff --git a/sdk/dotnet/ApiExtensions/V1/Inputs/JSONSchemaPropsArgs.cs b/sdk/dotnet/ApiExtensions/V1/Inputs/JSONSchemaPropsArgs.cs index 9052522e40..51ce0ccafa 100644 --- a/sdk/dotnet/ApiExtensions/V1/Inputs/JSONSchemaPropsArgs.cs +++ b/sdk/dotnet/ApiExtensions/V1/Inputs/JSONSchemaPropsArgs.cs @@ -100,7 +100,7 @@ public InputList Enum public Input? Id { get; set; } [Input("items")] - public InputUnion>? Items { get; set; } + public InputUnion>? Items { get; set; } [Input("maxItems")] public Input? MaxItems { get; set; } diff --git a/sdk/dotnet/ApiExtensions/V1Beta1/Inputs/JSONSchemaPropsArgs.cs b/sdk/dotnet/ApiExtensions/V1Beta1/Inputs/JSONSchemaPropsArgs.cs index 102a286637..8e41cdea08 100644 --- a/sdk/dotnet/ApiExtensions/V1Beta1/Inputs/JSONSchemaPropsArgs.cs +++ b/sdk/dotnet/ApiExtensions/V1Beta1/Inputs/JSONSchemaPropsArgs.cs @@ -100,7 +100,7 @@ public InputList Enum public Input? Id { get; set; } [Input("items")] - public InputUnion>? Items { get; set; } + public InputUnion>? Items { get; set; } [Input("maxItems")] public Input? MaxItems { get; set; } diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 9234adea36..50f6f11f09 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -1,23 +1,58 @@ // *** WARNING: this file was generated by pulumigen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** +using System; using System.Collections.Immutable; namespace Pulumi.Kubernetes { public static class Config { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = + "Double underscore prefix used to avoid conflicts with variable names.")] + private sealed class __Value + { + private readonly Func _getter; + private T _value = default!; + private bool _set; + + public __Value(Func getter) + { + _getter = getter; + } + + public T Get() => _set ? _value : _getter(); + + public void Set(T value) + { + _value = value; + _set = true; + } + } + private static readonly Pulumi.Config __config = new Pulumi.Config("kubernetes"); + + private static readonly __Value _cluster = new __Value(() => __config.Get("cluster")); /// /// If present, the name of the kubeconfig cluster to use. /// - public static string? Cluster { get; set; } = __config.Get("cluster"); + public static string? Cluster + { + get => _cluster.Get(); + set => _cluster.Set(value); + } + private static readonly __Value _context = new __Value(() => __config.Get("context")); /// /// If present, the name of the kubeconfig context to use. /// - public static string? Context { get; set; } = __config.Get("context"); + public static string? Context + { + get => _context.Get(); + set => _context.Set(value); + } + private static readonly __Value _enableDryRun = new __Value(() => __config.GetBoolean("enableDryRun")); /// /// BETA FEATURE - If present and set to true, enable server-side diff calculations. /// This feature is in developer preview, and is disabled by default. @@ -26,13 +61,23 @@ public static class Config /// 1. This `enableDryRun` parameter. /// 2. The `PULUMI_K8S_ENABLE_DRY_RUN` environment variable. /// - public static bool? EnableDryRun { get; set; } = __config.GetBoolean("enableDryRun"); + public static bool? EnableDryRun + { + get => _enableDryRun.Get(); + set => _enableDryRun.Set(value); + } + private static readonly __Value _kubeconfig = new __Value(() => __config.Get("kubeconfig")); /// /// The contents of a kubeconfig file or the path to a kubeconfig file. If this is set, this config will be used instead of $KUBECONFIG. /// - public static string? KubeConfig { get; set; } = __config.Get("kubeconfig"); + public static string? KubeConfig + { + get => _kubeconfig.Get(); + set => _kubeconfig.Set(value); + } + private static readonly __Value _namespace = new __Value(() => __config.Get("namespace")); /// /// If present, the default namespace to use. This flag is ignored for cluster-scoped resources. /// @@ -41,8 +86,13 @@ public static class Config /// 2. This `namespace` parameter. /// 3. `namespace` set for the active context in the kubeconfig. /// - public static string? Namespace { get; set; } = __config.Get("namespace"); + public static string? Namespace + { + get => _namespace.Get(); + set => _namespace.Set(value); + } + private static readonly __Value _renderYamlToDirectory = new __Value(() => __config.Get("renderYamlToDirectory")); /// /// BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not /// be created on a Kubernetes cluster, but the rendered manifests will be kept in sync with changes @@ -53,8 +103,13 @@ public static class Config /// and may result in an error if they are referenced by other resources. Also note that any secret values /// used in these resources will be rendered in plaintext to the resulting YAML. /// - public static string? RenderYamlToDirectory { get; set; } = __config.Get("renderYamlToDirectory"); + public static string? RenderYamlToDirectory + { + get => _renderYamlToDirectory.Get(); + set => _renderYamlToDirectory.Set(value); + } + private static readonly __Value _suppressDeprecationWarnings = new __Value(() => __config.GetBoolean("suppressDeprecationWarnings")); /// /// If present and set to true, suppress apiVersion deprecation warnings from the CLI. /// @@ -62,7 +117,11 @@ public static class Config /// 1. This `suppressDeprecationWarnings` parameter. /// 2. The `PULUMI_K8S_SUPPRESS_DEPRECATION_WARNINGS` environment variable. /// - public static bool? SuppressDeprecationWarnings { get; set; } = __config.GetBoolean("suppressDeprecationWarnings"); + public static bool? SuppressDeprecationWarnings + { + get => _suppressDeprecationWarnings.Get(); + set => _suppressDeprecationWarnings.Set(value); + } } } diff --git a/sdk/dotnet/Pulumi.Kubernetes.csproj b/sdk/dotnet/Pulumi.Kubernetes.csproj index 8549b6d461..2659536899 100644 --- a/sdk/dotnet/Pulumi.Kubernetes.csproj +++ b/sdk/dotnet/Pulumi.Kubernetes.csproj @@ -12,6 +12,7 @@ netcoreapp3.1 enable + false diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index a2a9a97575..dc45a6f903 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -24,7 +24,8 @@ "devDependencies": { "@types/mocha": "^5.2.5", "@types/shell-quote": "^1.6.0", - "mocha": "^5.2.0" + "mocha": "^5.2.0", + "typescript": "^4.3.5" }, "pulumi": { "resource": true diff --git a/sdk/nodejs/yaml/yaml.ts b/sdk/nodejs/yaml/yaml.ts index c5c2157673..7dba2afb08 100644 --- a/sdk/nodejs/yaml/yaml.ts +++ b/sdk/nodejs/yaml/yaml.ts @@ -3090,9 +3090,9 @@ export interface ConfigOpts { throw new Error(`YAML object does not have a .metadata.name: ${obj.apiVersion}/${obj.kind} ${JSON.stringify(obj.metadata)}`) } - const meta = obj["metadata"]; - let id: pulumi.Output = pulumi.output(meta["name"]); - const namespace = meta["namespace"] || undefined; + const metadata = obj["metadata"]; + let id: pulumi.Output = pulumi.output(metadata["name"]); + const namespace = metadata["namespace"] || undefined; if (namespace !== undefined) { id = pulumi.concat(namespace, "/", id); } diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 7b7b18aa43..0554c87ddd 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -8,19 +8,22 @@ from subprocess import check_call +VERSION = "0.0.0" +PLUGIN_VERSION = "0.0.0" + class InstallPluginCommand(install): def run(self): install.run(self) try: - check_call(['pulumi', 'plugin', 'install', 'resource', 'kubernetes', '${PLUGIN_VERSION}']) + check_call(['pulumi', 'plugin', 'install', 'resource', 'kubernetes', PLUGIN_VERSION]) except OSError as error: if error.errno == errno.ENOENT: - print(""" + print(f""" There was an error installing the kubernetes resource provider plugin. It looks like `pulumi` is not installed on your system. Please visit https://pulumi.com/ to install the Pulumi CLI. You may try manually installing the plugin by running - `pulumi plugin install resource kubernetes ${PLUGIN_VERSION}` + `pulumi plugin install resource kubernetes {PLUGIN_VERSION}` """) else: raise @@ -35,7 +38,7 @@ def readme(): setup(name='pulumi_kubernetes', - version='${VERSION}', + version=VERSION, description="A Pulumi package for creating and managing Kubernetes resources.", long_description=readme(), long_description_content_type='text/markdown', diff --git a/tests/go.mod b/tests/go.mod index 2f60e8949b..40c7a1c2f3 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -12,7 +12,7 @@ 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.7.0 + github.com/pulumi/pulumi/pkg/v3 v3.8.1-0.20210722201133-a4ee050afcc4 github.com/pulumi/pulumi/sdk/v3 v3.7.0 github.com/stretchr/testify v1.7.0 ) diff --git a/tests/go.sum b/tests/go.sum index 7982e616f2..ad00e7edef 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -946,8 +946,8 @@ github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+Gx github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.7.0 h1:++E0f1tiY8Goog/D0VrfaSa6Q71k02OjWTCU8QpdIeU= -github.com/pulumi/pulumi/pkg/v3 v3.7.0/go.mod h1:VgIJMIZxVwKg7qVz0smW2UuzOasgfh2997L9etiqkOw= +github.com/pulumi/pulumi/pkg/v3 v3.8.1-0.20210722201133-a4ee050afcc4 h1:pRueIMFTTbt5VFO0PU9oZQU/xY7SLoVVVdhXAaKoxzQ= +github.com/pulumi/pulumi/pkg/v3 v3.8.1-0.20210722201133-a4ee050afcc4/go.mod h1:2Y+Q5wUVGmJ2T3jyBxXEe1C0MjNwWn0dwG4blLB3om8= github.com/pulumi/pulumi/sdk/v3 v3.3.1/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= github.com/pulumi/pulumi/sdk/v3 v3.7.0 h1:0Sm4k6QNLTm7QQmn9t31tVG7d9fuyvFOnogffgvbluE= github.com/pulumi/pulumi/sdk/v3 v3.7.0/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds=