@kilic.dev/pulumi-k8s-crds 1.8.14 → 2.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/dist/cert_manager/v1/index.d.ts +0 -9
- package/dist/cert_manager/v1/index.js +1 -13
- package/dist/{acme/v1/order.d.ts → cilium/v2/ciliumBGPAdvertisement.d.ts} +17 -18
- package/dist/cilium/v2/ciliumBGPAdvertisement.js +109 -0
- package/dist/{cert_manager/v1/certificateRequestList.d.ts → cilium/v2/ciliumBGPAdvertisementList.d.ts} +19 -19
- package/dist/cilium/v2/ciliumBGPAdvertisementList.js +113 -0
- package/dist/{kyverno/v1beta1/updateRequestPatch.d.ts → cilium/v2/ciliumBGPAdvertisementPatch.d.ts} +17 -18
- package/dist/cilium/v2/ciliumBGPAdvertisementPatch.js +115 -0
- package/dist/cilium/v2/ciliumBGPClusterConfig.d.ts +65 -0
- package/dist/{acme/v1/challenge.js → cilium/v2/ciliumBGPClusterConfig.js} +15 -13
- package/dist/cilium/v2/ciliumBGPClusterConfigList.d.ts +69 -0
- package/dist/cilium/v2/ciliumBGPClusterConfigList.js +113 -0
- package/dist/cilium/v2/ciliumBGPClusterConfigPatch.d.ts +71 -0
- package/dist/{acme/v1/challengePatch.js → cilium/v2/ciliumBGPClusterConfigPatch.js} +15 -13
- package/dist/cilium/v2/ciliumBGPNodeConfig.d.ts +66 -0
- package/dist/cilium/v2/ciliumBGPNodeConfig.js +113 -0
- package/dist/{kyverno/v2alpha1/globalContextEntryList.d.ts → cilium/v2/ciliumBGPNodeConfigList.d.ts} +19 -19
- package/dist/{kyverno/v2alpha1/globalContextEntryList.js → cilium/v2/ciliumBGPNodeConfigList.js} +14 -14
- package/dist/cilium/v2/ciliumBGPNodeConfigOverride.d.ts +67 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigOverride.js +112 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigOverrideList.d.ts +69 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigOverrideList.js +113 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigOverridePatch.d.ts +73 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigOverridePatch.js +118 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigPatch.d.ts +72 -0
- package/dist/cilium/v2/ciliumBGPNodeConfigPatch.js +119 -0
- package/dist/{acme/v1/challenge.d.ts → cilium/v2/ciliumBGPPeerConfig.d.ts} +17 -20
- package/dist/{kyverno/v2/updateRequest.js → cilium/v2/ciliumBGPPeerConfig.js} +13 -16
- package/dist/{acme/v1/orderList.d.ts → cilium/v2/ciliumBGPPeerConfigList.d.ts} +19 -19
- package/dist/{acme/v1/orderList.js → cilium/v2/ciliumBGPPeerConfigList.js} +14 -14
- package/dist/{acme/v1/orderPatch.d.ts → cilium/v2/ciliumBGPPeerConfigPatch.d.ts} +17 -18
- package/dist/{kyverno/v2/updateRequestPatch.js → cilium/v2/ciliumBGPPeerConfigPatch.js} +13 -14
- package/dist/{kyverno/v1beta1/updateRequest.d.ts → cilium/v2/ciliumCIDRGroup.d.ts} +19 -18
- package/dist/cilium/v2/ciliumCIDRGroup.js +111 -0
- package/dist/{kyverno/v1beta1/updateRequestList.d.ts → cilium/v2/ciliumCIDRGroupList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumPodIPPoolList.js → v2/ciliumCIDRGroupList.js} +14 -14
- package/dist/{acme/v1/challengePatch.d.ts → cilium/v2/ciliumCIDRGroupPatch.d.ts} +19 -18
- package/dist/cilium/v2/ciliumCIDRGroupPatch.js +117 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPool.d.ts +67 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPool.js +114 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolList.d.ts +69 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolList.js +113 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.d.ts +73 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.js +120 -0
- package/dist/cilium/v2/index.d.ts +63 -0
- package/dist/cilium/v2/index.js +85 -1
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.d.ts +64 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.js +109 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.js +113 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.d.ts +70 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.js +115 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.d.ts +65 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.js +112 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.js +113 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.d.ts +71 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.js +118 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.d.ts +66 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.js +113 -0
- package/dist/cilium/v2alpha1/{ciliumPodIPPoolList.d.ts → ciliumBGPNodeConfigList.d.ts} +17 -17
- package/dist/{cert_manager/v1/certificateRequestList.js → cilium/v2alpha1/ciliumBGPNodeConfigList.js} +14 -14
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.d.ts +67 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +112 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.js +113 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts +73 -0
- package/dist/{cert_manager/v1/certificateRequestPatch.js → cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js} +18 -24
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.d.ts +72 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.js +119 -0
- package/dist/cilium/v2alpha1/{ciliumPodIPPool.d.ts → ciliumBGPPeerConfig.d.ts} +15 -18
- package/dist/{kyverno/v1beta1/updateRequest.js → cilium/v2alpha1/ciliumBGPPeerConfig.js} +13 -16
- package/dist/{kyverno/v2/updateRequestList.d.ts → cilium/v2alpha1/ciliumBGPPeerConfigList.d.ts} +19 -19
- package/dist/{kyverno/v1beta1/updateRequestList.js → cilium/v2alpha1/ciliumBGPPeerConfigList.js} +14 -14
- package/dist/cilium/v2alpha1/{ciliumPodIPPoolPatch.d.ts → ciliumBGPPeerConfigPatch.d.ts} +15 -16
- package/dist/{kyverno/v1beta1/updateRequestPatch.js → cilium/v2alpha1/ciliumBGPPeerConfigPatch.js} +13 -14
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicy.d.ts +65 -0
- package/dist/cilium/v2alpha1/{ciliumPodIPPool.js → ciliumBGPPeeringPolicy.js} +13 -13
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +113 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts +71 -0
- package/dist/cilium/v2alpha1/{ciliumPodIPPoolPatch.js → ciliumBGPPeeringPolicyPatch.js} +13 -13
- package/dist/cilium/v2alpha1/ciliumCIDRGroup.js +2 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroupPatch.js +2 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +67 -0
- package/dist/{acme/v1/order.js → cilium/v2alpha1/ciliumL2AnnouncementPolicy.js} +15 -13
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +113 -0
- package/dist/{kyverno/v2alpha1/globalContextEntryPatch.d.ts → cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts} +20 -18
- package/dist/{acme/v1/orderPatch.js → cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.js} +15 -13
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +2 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +2 -0
- package/dist/cilium/v2alpha1/index.d.ts +63 -9
- package/dist/cilium/v2alpha1/index.js +85 -13
- package/dist/gateway/v1alpha2/tlsroute.js +2 -0
- package/dist/gateway/v1alpha2/tlsroutePatch.js +2 -0
- package/dist/gateway/v1alpha3/index.d.ts +9 -0
- package/dist/gateway/v1alpha3/index.js +13 -1
- package/dist/gateway/v1alpha3/tlsroute.d.ts +70 -0
- package/dist/{kyverno/v2alpha1/globalContextEntry.js → gateway/v1alpha3/tlsroute.js} +20 -13
- package/dist/{acme/v1/challengeList.d.ts → gateway/v1alpha3/tlsrouteList.d.ts} +19 -19
- package/dist/{acme/v1/challengeList.js → gateway/v1alpha3/tlsrouteList.js} +14 -14
- package/dist/gateway/v1alpha3/tlsroutePatch.d.ts +76 -0
- package/dist/gateway/v1alpha3/tlsroutePatch.js +123 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -3
- package/dist/kyverno/index.d.ts +1 -3
- package/dist/kyverno/index.js +1 -5
- package/dist/kyverno/v2/index.d.ts +0 -9
- package/dist/kyverno/v2/index.js +1 -13
- package/dist/types/input.d.ts +38088 -35521
- package/dist/types/output.d.ts +40360 -37362
- package/package.json +3 -3
- package/dist/acme/index.d.ts +0 -2
- package/dist/acme/index.js +0 -41
- package/dist/acme/v1/index.d.ts +0 -18
- package/dist/acme/v1/index.js +0 -74
- package/dist/cert_manager/v1/certificateRequest.d.ts +0 -73
- package/dist/cert_manager/v1/certificateRequest.js +0 -118
- package/dist/cert_manager/v1/certificateRequestPatch.d.ts +0 -79
- package/dist/kyverno/v1beta1/index.d.ts +0 -9
- package/dist/kyverno/v1beta1/index.js +0 -62
- package/dist/kyverno/v2/updateRequest.d.ts +0 -65
- package/dist/kyverno/v2/updateRequestList.js +0 -113
- package/dist/kyverno/v2/updateRequestPatch.d.ts +0 -71
- package/dist/kyverno/v2alpha1/globalContextEntry.d.ts +0 -65
- package/dist/kyverno/v2alpha1/globalContextEntryPatch.js +0 -116
- package/dist/kyverno/v2alpha1/index.d.ts +0 -9
- package/dist/kyverno/v2alpha1/index.js +0 -62
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
|
|
7
|
+
* Cilium's BGP control plane to create virtual BGP routers.
|
|
8
|
+
*/
|
|
9
|
+
export declare class CiliumBGPPeeringPolicy extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing CiliumBGPPeeringPolicy resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPPeeringPolicy;
|
|
19
|
+
/** @internal */
|
|
20
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicy";
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CiliumBGPPeeringPolicy. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj: any): obj is CiliumBGPPeeringPolicy;
|
|
26
|
+
/**
|
|
27
|
+
* 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
|
|
28
|
+
*/
|
|
29
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
|
|
30
|
+
/**
|
|
31
|
+
* 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
|
|
32
|
+
*/
|
|
33
|
+
readonly kind: pulumi.Output<"CiliumBGPPeeringPolicy">;
|
|
34
|
+
/**
|
|
35
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
36
|
+
*/
|
|
37
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
38
|
+
readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPPeeringPolicySpec>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a CiliumBGPPeeringPolicy resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args?: CiliumBGPPeeringPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a CiliumBGPPeeringPolicy resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface CiliumBGPPeeringPolicyArgs {
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
|
54
|
+
*/
|
|
55
|
+
apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
|
|
56
|
+
/**
|
|
57
|
+
* 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
|
|
58
|
+
*/
|
|
59
|
+
kind?: pulumi.Input<"CiliumBGPPeeringPolicy">;
|
|
60
|
+
/**
|
|
61
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
62
|
+
*/
|
|
63
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
64
|
+
spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPPeeringPolicySpec>;
|
|
65
|
+
}
|
|
@@ -35,16 +35,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
};
|
|
36
36
|
})();
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.CiliumBGPPeeringPolicy = void 0;
|
|
39
39
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
40
|
const utilities = __importStar(require("../../utilities"));
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
42
|
+
* CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
|
|
43
|
+
* Cilium's BGP control plane to create virtual BGP routers.
|
|
44
44
|
*/
|
|
45
|
-
class
|
|
45
|
+
class CiliumBGPPeeringPolicy extends pulumi.CustomResource {
|
|
46
46
|
/**
|
|
47
|
-
* Get an existing
|
|
47
|
+
* Get an existing CiliumBGPPeeringPolicy resource's state with the given name, ID, and optional extra
|
|
48
48
|
* properties used to qualify the lookup.
|
|
49
49
|
*
|
|
50
50
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -52,19 +52,19 @@ class CiliumPodIPPool extends pulumi.CustomResource {
|
|
|
52
52
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
53
|
*/
|
|
54
54
|
static get(name, id, opts) {
|
|
55
|
-
return new
|
|
55
|
+
return new CiliumBGPPeeringPolicy(name, undefined, { ...opts, id: id });
|
|
56
56
|
}
|
|
57
57
|
/** @internal */
|
|
58
|
-
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:
|
|
58
|
+
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicy';
|
|
59
59
|
/**
|
|
60
|
-
* Returns true if the given object is an instance of
|
|
60
|
+
* Returns true if the given object is an instance of CiliumBGPPeeringPolicy. This is designed to work even
|
|
61
61
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
62
|
*/
|
|
63
63
|
static isInstance(obj) {
|
|
64
64
|
if (obj === undefined || obj === null) {
|
|
65
65
|
return false;
|
|
66
66
|
}
|
|
67
|
-
return obj['__pulumiType'] ===
|
|
67
|
+
return obj['__pulumiType'] === CiliumBGPPeeringPolicy.__pulumiType;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* 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
|
|
@@ -80,7 +80,7 @@ class CiliumPodIPPool extends pulumi.CustomResource {
|
|
|
80
80
|
metadata;
|
|
81
81
|
spec;
|
|
82
82
|
/**
|
|
83
|
-
* Create a
|
|
83
|
+
* Create a CiliumBGPPeeringPolicy resource with the given unique name, arguments, and options.
|
|
84
84
|
*
|
|
85
85
|
* @param name The _unique_ name of the resource.
|
|
86
86
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -91,7 +91,7 @@ class CiliumPodIPPool extends pulumi.CustomResource {
|
|
|
91
91
|
opts = opts || {};
|
|
92
92
|
if (!opts.id) {
|
|
93
93
|
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
94
|
-
resourceInputs["kind"] = "
|
|
94
|
+
resourceInputs["kind"] = "CiliumBGPPeeringPolicy";
|
|
95
95
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
96
96
|
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
97
97
|
}
|
|
@@ -102,7 +102,7 @@ class CiliumPodIPPool extends pulumi.CustomResource {
|
|
|
102
102
|
resourceInputs["spec"] = undefined /*out*/;
|
|
103
103
|
}
|
|
104
104
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
-
super(
|
|
105
|
+
super(CiliumBGPPeeringPolicy.__pulumiType, name, resourceInputs, opts);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
exports.
|
|
108
|
+
exports.CiliumBGPPeeringPolicy = CiliumBGPPeeringPolicy;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* CiliumBGPPeeringPolicyList is a list of CiliumBGPPeeringPolicy
|
|
6
|
+
*/
|
|
7
|
+
export declare class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing CiliumBGPPeeringPolicyList resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPPeeringPolicyList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of CiliumBGPPeeringPolicyList. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is CiliumBGPPeeringPolicyList;
|
|
24
|
+
/**
|
|
25
|
+
* 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
|
|
26
|
+
*/
|
|
27
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
|
|
28
|
+
/**
|
|
29
|
+
* List of ciliumbgppeeringpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPPeeringPolicy[]>;
|
|
32
|
+
/**
|
|
33
|
+
* 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
|
|
34
|
+
*/
|
|
35
|
+
readonly kind: pulumi.Output<"CiliumBGPPeeringPolicyList">;
|
|
36
|
+
/**
|
|
37
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
|
+
*/
|
|
39
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a CiliumBGPPeeringPolicyList resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args?: CiliumBGPPeeringPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a CiliumBGPPeeringPolicyList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface CiliumBGPPeeringPolicyListArgs {
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
|
|
57
|
+
/**
|
|
58
|
+
* List of ciliumbgppeeringpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPPeeringPolicy>[]>;
|
|
61
|
+
/**
|
|
62
|
+
* 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
|
|
63
|
+
*/
|
|
64
|
+
kind?: pulumi.Input<"CiliumBGPPeeringPolicyList">;
|
|
65
|
+
/**
|
|
66
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
67
|
+
*/
|
|
68
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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.CiliumBGPPeeringPolicyList = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* CiliumBGPPeeringPolicyList is a list of CiliumBGPPeeringPolicy
|
|
43
|
+
*/
|
|
44
|
+
class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing CiliumBGPPeeringPolicyList resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new CiliumBGPPeeringPolicyList(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyList';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of CiliumBGPPeeringPolicyList. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === CiliumBGPPeeringPolicyList.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* 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
|
|
70
|
+
*/
|
|
71
|
+
apiVersion;
|
|
72
|
+
/**
|
|
73
|
+
* List of ciliumbgppeeringpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
74
|
+
*/
|
|
75
|
+
items;
|
|
76
|
+
/**
|
|
77
|
+
* 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
|
|
78
|
+
*/
|
|
79
|
+
kind;
|
|
80
|
+
/**
|
|
81
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
82
|
+
*/
|
|
83
|
+
metadata;
|
|
84
|
+
/**
|
|
85
|
+
* Create a CiliumBGPPeeringPolicyList resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name, args, opts) {
|
|
92
|
+
let resourceInputs = {};
|
|
93
|
+
opts = opts || {};
|
|
94
|
+
if (!opts.id) {
|
|
95
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'items'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
99
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
100
|
+
resourceInputs["kind"] = "CiliumBGPPeeringPolicyList";
|
|
101
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(CiliumBGPPeeringPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.CiliumBGPPeeringPolicyList = CiliumBGPPeeringPolicyList;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
+
* CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
|
|
13
|
+
* Cilium's BGP control plane to create virtual BGP routers.
|
|
14
|
+
*/
|
|
15
|
+
export declare class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing CiliumBGPPeeringPolicyPatch resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPPeeringPolicyPatch;
|
|
25
|
+
/** @internal */
|
|
26
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyPatch";
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if the given object is an instance of CiliumBGPPeeringPolicyPatch. This is designed to work even
|
|
29
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
|
+
*/
|
|
31
|
+
static isInstance(obj: any): obj is CiliumBGPPeeringPolicyPatch;
|
|
32
|
+
/**
|
|
33
|
+
* 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
|
|
34
|
+
*/
|
|
35
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
|
|
36
|
+
/**
|
|
37
|
+
* 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
|
|
38
|
+
*/
|
|
39
|
+
readonly kind: pulumi.Output<"CiliumBGPPeeringPolicy">;
|
|
40
|
+
/**
|
|
41
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
42
|
+
*/
|
|
43
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
44
|
+
readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPPeeringPolicySpecPatch>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a CiliumBGPPeeringPolicyPatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: CiliumBGPPeeringPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a CiliumBGPPeeringPolicyPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface CiliumBGPPeeringPolicyPatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* 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
|
|
60
|
+
*/
|
|
61
|
+
apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
kind?: pulumi.Input<"CiliumBGPPeeringPolicy">;
|
|
66
|
+
/**
|
|
67
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
68
|
+
*/
|
|
69
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
70
|
+
spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPPeeringPolicySpecPatch>;
|
|
71
|
+
}
|
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
};
|
|
36
36
|
})();
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.CiliumBGPPeeringPolicyPatch = void 0;
|
|
39
39
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
40
|
const utilities = __importStar(require("../../utilities"));
|
|
41
41
|
/**
|
|
@@ -45,12 +45,12 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
45
45
|
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
46
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
47
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
-
*
|
|
49
|
-
*
|
|
48
|
+
* CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
|
|
49
|
+
* Cilium's BGP control plane to create virtual BGP routers.
|
|
50
50
|
*/
|
|
51
|
-
class
|
|
51
|
+
class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
|
|
52
52
|
/**
|
|
53
|
-
* Get an existing
|
|
53
|
+
* Get an existing CiliumBGPPeeringPolicyPatch resource's state with the given name, ID, and optional extra
|
|
54
54
|
* properties used to qualify the lookup.
|
|
55
55
|
*
|
|
56
56
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -58,19 +58,19 @@ class CiliumPodIPPoolPatch extends pulumi.CustomResource {
|
|
|
58
58
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
59
|
*/
|
|
60
60
|
static get(name, id, opts) {
|
|
61
|
-
return new
|
|
61
|
+
return new CiliumBGPPeeringPolicyPatch(name, undefined, { ...opts, id: id });
|
|
62
62
|
}
|
|
63
63
|
/** @internal */
|
|
64
|
-
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:
|
|
64
|
+
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyPatch';
|
|
65
65
|
/**
|
|
66
|
-
* Returns true if the given object is an instance of
|
|
66
|
+
* Returns true if the given object is an instance of CiliumBGPPeeringPolicyPatch. This is designed to work even
|
|
67
67
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
68
|
*/
|
|
69
69
|
static isInstance(obj) {
|
|
70
70
|
if (obj === undefined || obj === null) {
|
|
71
71
|
return false;
|
|
72
72
|
}
|
|
73
|
-
return obj['__pulumiType'] ===
|
|
73
|
+
return obj['__pulumiType'] === CiliumBGPPeeringPolicyPatch.__pulumiType;
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* 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
|
|
@@ -86,7 +86,7 @@ class CiliumPodIPPoolPatch extends pulumi.CustomResource {
|
|
|
86
86
|
metadata;
|
|
87
87
|
spec;
|
|
88
88
|
/**
|
|
89
|
-
* Create a
|
|
89
|
+
* Create a CiliumBGPPeeringPolicyPatch resource with the given unique name, arguments, and options.
|
|
90
90
|
*
|
|
91
91
|
* @param name The _unique_ name of the resource.
|
|
92
92
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -97,7 +97,7 @@ class CiliumPodIPPoolPatch extends pulumi.CustomResource {
|
|
|
97
97
|
opts = opts || {};
|
|
98
98
|
if (!opts.id) {
|
|
99
99
|
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
100
|
-
resourceInputs["kind"] = "
|
|
100
|
+
resourceInputs["kind"] = "CiliumBGPPeeringPolicy";
|
|
101
101
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
102
102
|
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
103
103
|
}
|
|
@@ -108,7 +108,7 @@ class CiliumPodIPPoolPatch extends pulumi.CustomResource {
|
|
|
108
108
|
resourceInputs["spec"] = undefined /*out*/;
|
|
109
109
|
}
|
|
110
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
-
super(
|
|
111
|
+
super(CiliumBGPPeeringPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
exports.
|
|
114
|
+
exports.CiliumBGPPeeringPolicyPatch = CiliumBGPPeeringPolicyPatch;
|
|
@@ -103,6 +103,8 @@ class CiliumCIDRGroup extends pulumi.CustomResource {
|
|
|
103
103
|
resourceInputs["spec"] = undefined /*out*/;
|
|
104
104
|
}
|
|
105
105
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumCIDRGroup" }] };
|
|
107
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
106
108
|
super(CiliumCIDRGroup.__pulumiType, name, resourceInputs, opts);
|
|
107
109
|
}
|
|
108
110
|
}
|
|
@@ -109,6 +109,8 @@ class CiliumCIDRGroupPatch extends pulumi.CustomResource {
|
|
|
109
109
|
resourceInputs["spec"] = undefined /*out*/;
|
|
110
110
|
}
|
|
111
111
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
112
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumCIDRGroupPatch" }] };
|
|
113
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
112
114
|
super(CiliumCIDRGroupPatch.__pulumiType, name, resourceInputs, opts);
|
|
113
115
|
}
|
|
114
116
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* CiliumL2AnnouncementPolicy is a Kubernetes third-party resource which
|
|
7
|
+
* is used to defined which nodes should announce what services on the
|
|
8
|
+
* L2 network.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
11
|
+
/**
|
|
12
|
+
* Get an existing CiliumL2AnnouncementPolicy resource's state with the given name, ID, and optional extra
|
|
13
|
+
* properties used to qualify the lookup.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resulting resource.
|
|
16
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
17
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
+
*/
|
|
19
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumL2AnnouncementPolicy;
|
|
20
|
+
/** @internal */
|
|
21
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumL2AnnouncementPolicy";
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of CiliumL2AnnouncementPolicy. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is CiliumL2AnnouncementPolicy;
|
|
27
|
+
/**
|
|
28
|
+
* 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
|
|
29
|
+
*/
|
|
30
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
|
|
31
|
+
/**
|
|
32
|
+
* 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
|
|
33
|
+
*/
|
|
34
|
+
readonly kind: pulumi.Output<"CiliumL2AnnouncementPolicy">;
|
|
35
|
+
/**
|
|
36
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
37
|
+
*/
|
|
38
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
39
|
+
readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumL2AnnouncementPolicySpec>;
|
|
40
|
+
readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumL2AnnouncementPolicyStatus>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a CiliumL2AnnouncementPolicy resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args?: CiliumL2AnnouncementPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The set of arguments for constructing a CiliumL2AnnouncementPolicy resource.
|
|
52
|
+
*/
|
|
53
|
+
export interface CiliumL2AnnouncementPolicyArgs {
|
|
54
|
+
/**
|
|
55
|
+
* 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
|
|
56
|
+
*/
|
|
57
|
+
apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
|
|
58
|
+
/**
|
|
59
|
+
* 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
|
|
60
|
+
*/
|
|
61
|
+
kind?: pulumi.Input<"CiliumL2AnnouncementPolicy">;
|
|
62
|
+
/**
|
|
63
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
64
|
+
*/
|
|
65
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
66
|
+
spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumL2AnnouncementPolicySpec>;
|
|
67
|
+
}
|
|
@@ -35,15 +35,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
};
|
|
36
36
|
})();
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
38
|
+
exports.CiliumL2AnnouncementPolicy = void 0;
|
|
39
39
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
40
|
const utilities = __importStar(require("../../utilities"));
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* CiliumL2AnnouncementPolicy is a Kubernetes third-party resource which
|
|
43
|
+
* is used to defined which nodes should announce what services on the
|
|
44
|
+
* L2 network.
|
|
43
45
|
*/
|
|
44
|
-
class
|
|
46
|
+
class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
45
47
|
/**
|
|
46
|
-
* Get an existing
|
|
48
|
+
* Get an existing CiliumL2AnnouncementPolicy resource's state with the given name, ID, and optional extra
|
|
47
49
|
* properties used to qualify the lookup.
|
|
48
50
|
*
|
|
49
51
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -51,19 +53,19 @@ class Order extends pulumi.CustomResource {
|
|
|
51
53
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
54
|
*/
|
|
53
55
|
static get(name, id, opts) {
|
|
54
|
-
return new
|
|
56
|
+
return new CiliumL2AnnouncementPolicy(name, undefined, { ...opts, id: id });
|
|
55
57
|
}
|
|
56
58
|
/** @internal */
|
|
57
|
-
static __pulumiType = 'kubernetes:
|
|
59
|
+
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumL2AnnouncementPolicy';
|
|
58
60
|
/**
|
|
59
|
-
* Returns true if the given object is an instance of
|
|
61
|
+
* Returns true if the given object is an instance of CiliumL2AnnouncementPolicy. This is designed to work even
|
|
60
62
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
63
|
*/
|
|
62
64
|
static isInstance(obj) {
|
|
63
65
|
if (obj === undefined || obj === null) {
|
|
64
66
|
return false;
|
|
65
67
|
}
|
|
66
|
-
return obj['__pulumiType'] ===
|
|
68
|
+
return obj['__pulumiType'] === CiliumL2AnnouncementPolicy.__pulumiType;
|
|
67
69
|
}
|
|
68
70
|
/**
|
|
69
71
|
* 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
|
|
@@ -80,7 +82,7 @@ class Order extends pulumi.CustomResource {
|
|
|
80
82
|
spec;
|
|
81
83
|
status;
|
|
82
84
|
/**
|
|
83
|
-
* Create a
|
|
85
|
+
* Create a CiliumL2AnnouncementPolicy resource with the given unique name, arguments, and options.
|
|
84
86
|
*
|
|
85
87
|
* @param name The _unique_ name of the resource.
|
|
86
88
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -90,8 +92,8 @@ class Order extends pulumi.CustomResource {
|
|
|
90
92
|
let resourceInputs = {};
|
|
91
93
|
opts = opts || {};
|
|
92
94
|
if (!opts.id) {
|
|
93
|
-
resourceInputs["apiVersion"] = "
|
|
94
|
-
resourceInputs["kind"] = "
|
|
95
|
+
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
96
|
+
resourceInputs["kind"] = "CiliumL2AnnouncementPolicy";
|
|
95
97
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
96
98
|
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
97
99
|
resourceInputs["status"] = undefined /*out*/;
|
|
@@ -104,7 +106,7 @@ class Order extends pulumi.CustomResource {
|
|
|
104
106
|
resourceInputs["status"] = undefined /*out*/;
|
|
105
107
|
}
|
|
106
108
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
-
super(
|
|
109
|
+
super(CiliumL2AnnouncementPolicy.__pulumiType, name, resourceInputs, opts);
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
|
-
exports.
|
|
112
|
+
exports.CiliumL2AnnouncementPolicy = CiliumL2AnnouncementPolicy;
|