@kilic.dev/pulumi-k8s-crds 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPool.d.ts +1 -1
- package/dist/cilium/v2/ciliumLoadBalancerIPPool.js +1 -1
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.d.ts +1 -1
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.js +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.d.ts +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.d.ts +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +1 -1
- package/dist/gateway/v1/gateway.d.ts +2 -0
- package/dist/gateway/v1/gateway.js +2 -0
- package/dist/gateway/v1/gatewayClass.d.ts +3 -0
- package/dist/gateway/v1/gatewayClass.js +3 -0
- package/dist/gateway/v1/gatewayClassPatch.d.ts +3 -0
- package/dist/gateway/v1/gatewayClassPatch.js +3 -0
- package/dist/gateway/v1/gatewayPatch.d.ts +2 -0
- package/dist/gateway/v1/gatewayPatch.js +2 -0
- package/dist/gateway/v1/index.d.ts +18 -0
- package/dist/gateway/v1/index.js +25 -1
- package/dist/gateway/v1/tcproute.d.ts +66 -0
- package/dist/gateway/v1/tcproute.js +100 -0
- package/dist/gateway/v1/tcprouteList.d.ts +69 -0
- package/dist/gateway/v1/tcprouteList.js +97 -0
- package/dist/gateway/v1/tcproutePatch.d.ts +72 -0
- package/dist/gateway/v1/tcproutePatch.js +106 -0
- package/dist/gateway/v1/udproute.d.ts +66 -0
- package/dist/gateway/v1/udproute.js +100 -0
- package/dist/gateway/v1/udprouteList.d.ts +69 -0
- package/dist/gateway/v1/udprouteList.js +97 -0
- package/dist/gateway/v1/udproutePatch.d.ts +72 -0
- package/dist/gateway/v1/udproutePatch.js +106 -0
- package/dist/gateway/v1alpha2/tcproute.js +2 -0
- package/dist/gateway/v1alpha2/tcproutePatch.js +2 -0
- package/dist/gateway/v1alpha2/udproute.js +2 -0
- package/dist/gateway/v1alpha2/udproutePatch.js +2 -0
- package/dist/types/input.d.ts +10401 -2343
- package/dist/types/output.d.ts +11008 -2389
- package/package.json +3 -3
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UDPRoutePatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* UDPRoute provides a way to route UDP traffic. When combined with a Gateway
|
|
49
|
+
* listener, it can be used to forward traffic on the port specified by the
|
|
50
|
+
* listener to a set of backends specified by the UDPRoute.
|
|
51
|
+
*/
|
|
52
|
+
class UDPRoutePatch extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing UDPRoutePatch resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, opts) {
|
|
62
|
+
return new UDPRoutePatch(name, undefined, { ...opts, id: id });
|
|
63
|
+
}
|
|
64
|
+
/** @internal */
|
|
65
|
+
static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:UDPRoutePatch';
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of UDPRoutePatch. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === UDPRoutePatch.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Create a UDPRoutePatch resource with the given unique name, arguments, and options.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resource.
|
|
80
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
81
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
82
|
+
*/
|
|
83
|
+
constructor(name, args, opts) {
|
|
84
|
+
let resourceInputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (!opts.id) {
|
|
87
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
88
|
+
resourceInputs["kind"] = "UDPRoute";
|
|
89
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
90
|
+
resourceInputs["spec"] = args?.spec;
|
|
91
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
99
|
+
}
|
|
100
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch" }] };
|
|
102
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
103
|
+
super(UDPRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.UDPRoutePatch = UDPRoutePatch;
|
|
@@ -92,6 +92,8 @@ class TCPRoute extends pulumi.CustomResource {
|
|
|
92
92
|
resourceInputs["status"] = undefined /*out*/;
|
|
93
93
|
}
|
|
94
94
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:TCPRoute" }] };
|
|
96
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
95
97
|
super(TCPRoute.__pulumiType, name, resourceInputs, opts);
|
|
96
98
|
}
|
|
97
99
|
}
|
|
@@ -98,6 +98,8 @@ class TCPRoutePatch extends pulumi.CustomResource {
|
|
|
98
98
|
resourceInputs["status"] = undefined /*out*/;
|
|
99
99
|
}
|
|
100
100
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:TCPRoutePatch" }] };
|
|
102
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
101
103
|
super(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
102
104
|
}
|
|
103
105
|
}
|
|
@@ -92,6 +92,8 @@ class UDPRoute extends pulumi.CustomResource {
|
|
|
92
92
|
resourceInputs["status"] = undefined /*out*/;
|
|
93
93
|
}
|
|
94
94
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:UDPRoute" }] };
|
|
96
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
95
97
|
super(UDPRoute.__pulumiType, name, resourceInputs, opts);
|
|
96
98
|
}
|
|
97
99
|
}
|
|
@@ -98,6 +98,8 @@ class UDPRoutePatch extends pulumi.CustomResource {
|
|
|
98
98
|
resourceInputs["status"] = undefined /*out*/;
|
|
99
99
|
}
|
|
100
100
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:UDPRoutePatch" }] };
|
|
102
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
101
103
|
super(UDPRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
102
104
|
}
|
|
103
105
|
}
|