@kilic.dev/pulumi-k8s-crds 1.2.0 → 1.2.2
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/cilium/index.d.ts +2 -1
- package/dist/cilium/index.js +3 -1
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisement.d.ts → v2/ciliumClusterwideEnvoyConfig.d.ts} +16 -19
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisement.js → v2/ciliumClusterwideEnvoyConfig.js} +12 -15
- package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.d.ts +69 -0
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverrideList.js → v2/ciliumClusterwideEnvoyConfigList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementPatch.d.ts → v2/ciliumClusterwideEnvoyConfigPatch.d.ts} +16 -17
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementPatch.js → v2/ciliumClusterwideEnvoyConfigPatch.js} +12 -13
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverride.d.ts → v2/ciliumClusterwideNetworkPolicy.d.ts} +28 -20
- package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicy.js → v2/ciliumClusterwideNetworkPolicy.js} +21 -15
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyList.d.ts → v2/ciliumClusterwideNetworkPolicyList.d.ts} +19 -19
- package/dist/cilium/v2/ciliumClusterwideNetworkPolicyList.js +103 -0
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigPatch.d.ts → v2/ciliumClusterwideNetworkPolicyPatch.d.ts} +28 -18
- package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicyPatch.js → v2/ciliumClusterwideNetworkPolicyPatch.js} +21 -15
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfig.d.ts → v2/ciliumEgressGatewayPolicy.d.ts} +16 -17
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfig.js → v2/ciliumEgressGatewayPolicy.js} +12 -15
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigList.d.ts → v2/ciliumEgressGatewayPolicyList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigList.js → v2/ciliumEgressGatewayPolicyList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigPatch.d.ts → v2/ciliumEgressGatewayPolicyPatch.d.ts} +16 -17
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyPatch.js → v2/ciliumEgressGatewayPolicyPatch.js} +12 -14
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicy.d.ts → v2/ciliumEnvoyConfig.d.ts} +16 -20
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicy.js → v2/ciliumEnvoyConfig.js} +12 -16
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigList.d.ts → v2/ciliumEnvoyConfigList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigList.js → v2/ciliumEnvoyConfigList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts → v2/ciliumEnvoyConfigPatch.d.ts} +16 -18
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigPatch.js → v2/ciliumEnvoyConfigPatch.js} +12 -16
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfig.d.ts → v2/ciliumLocalRedirectPolicy.d.ts} +19 -18
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfig.js → v2/ciliumLocalRedirectPolicy.js} +14 -13
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementList.d.ts → v2/ciliumLocalRedirectPolicyList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementList.js → v2/ciliumLocalRedirectPolicyList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigPatch.d.ts → v2/ciliumLocalRedirectPolicyPatch.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigPatch.js → v2/ciliumLocalRedirectPolicyPatch.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfig.d.ts → v2/ciliumNetworkPolicy.d.ts} +27 -19
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfig.js → v2/ciliumNetworkPolicy.js} +20 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigList.d.ts → v2/ciliumNetworkPolicyList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigList.js → v2/ciliumNetworkPolicyList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts → v2/ciliumNetworkPolicyPatch.d.ts} +27 -20
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigPatch.js → v2/ciliumNetworkPolicyPatch.js} +20 -12
- package/dist/cilium/v2/index.d.ts +54 -0
- package/dist/cilium/v2/index.js +112 -0
- package/dist/cilium/v2alpha1/index.d.ts +0 -63
- package/dist/cilium/v2alpha1/index.js +1 -85
- package/dist/types/input.d.ts +20402 -1298
- package/dist/types/output.d.ts +20349 -1383
- package/package.json +3 -3
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +0 -100
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +0 -69
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js +0 -106
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +0 -103
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +0 -67
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +0 -69
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +0 -103
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts +0 -73
package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicy.js → v2/ciliumClusterwideNetworkPolicy.js}
RENAMED
|
@@ -25,17 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.CiliumClusterwideNetworkPolicy = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../../utilities"));
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
|
|
33
|
+
* modified version of CiliumNetworkPolicy which is cluster scoped rather than
|
|
34
|
+
* namespace scoped.
|
|
35
35
|
*/
|
|
36
|
-
class
|
|
36
|
+
class CiliumClusterwideNetworkPolicy extends pulumi.CustomResource {
|
|
37
37
|
/**
|
|
38
|
-
* Get an existing
|
|
38
|
+
* Get an existing CiliumClusterwideNetworkPolicy resource's state with the given name, ID, and optional extra
|
|
39
39
|
* properties used to qualify the lookup.
|
|
40
40
|
*
|
|
41
41
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -43,19 +43,19 @@ class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
|
43
43
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
44
|
*/
|
|
45
45
|
static get(name, id, opts) {
|
|
46
|
-
return new
|
|
46
|
+
return new CiliumClusterwideNetworkPolicy(name, undefined, { ...opts, id: id });
|
|
47
47
|
}
|
|
48
48
|
/** @internal */
|
|
49
|
-
static __pulumiType = 'kubernetes:cilium.io/
|
|
49
|
+
static __pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicy';
|
|
50
50
|
/**
|
|
51
|
-
* Returns true if the given object is an instance of
|
|
51
|
+
* Returns true if the given object is an instance of CiliumClusterwideNetworkPolicy. This is designed to work even
|
|
52
52
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
53
|
*/
|
|
54
54
|
static isInstance(obj) {
|
|
55
55
|
if (obj === undefined || obj === null) {
|
|
56
56
|
return false;
|
|
57
57
|
}
|
|
58
|
-
return obj['__pulumiType'] ===
|
|
58
|
+
return obj['__pulumiType'] === CiliumClusterwideNetworkPolicy.__pulumiType;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* 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,9 +70,13 @@ class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
|
70
70
|
*/
|
|
71
71
|
metadata;
|
|
72
72
|
spec;
|
|
73
|
+
/**
|
|
74
|
+
* Specs is a list of desired Cilium specific rule specification.
|
|
75
|
+
*/
|
|
76
|
+
specs;
|
|
73
77
|
status;
|
|
74
78
|
/**
|
|
75
|
-
* Create a
|
|
79
|
+
* Create a CiliumClusterwideNetworkPolicy resource with the given unique name, arguments, and options.
|
|
76
80
|
*
|
|
77
81
|
* @param name The _unique_ name of the resource.
|
|
78
82
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -82,10 +86,11 @@ class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
|
82
86
|
let resourceInputs = {};
|
|
83
87
|
opts = opts || {};
|
|
84
88
|
if (!opts.id) {
|
|
85
|
-
resourceInputs["apiVersion"] = "cilium.io/
|
|
86
|
-
resourceInputs["kind"] = "
|
|
89
|
+
resourceInputs["apiVersion"] = "cilium.io/v2";
|
|
90
|
+
resourceInputs["kind"] = "CiliumClusterwideNetworkPolicy";
|
|
87
91
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
88
92
|
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
93
|
+
resourceInputs["specs"] = args ? args.specs : undefined;
|
|
89
94
|
resourceInputs["status"] = undefined /*out*/;
|
|
90
95
|
}
|
|
91
96
|
else {
|
|
@@ -93,10 +98,11 @@ class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
|
93
98
|
resourceInputs["kind"] = undefined /*out*/;
|
|
94
99
|
resourceInputs["metadata"] = undefined /*out*/;
|
|
95
100
|
resourceInputs["spec"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["specs"] = undefined /*out*/;
|
|
96
102
|
resourceInputs["status"] = undefined /*out*/;
|
|
97
103
|
}
|
|
98
104
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
-
super(
|
|
105
|
+
super(CiliumClusterwideNetworkPolicy.__pulumiType, name, resourceInputs, opts);
|
|
100
106
|
}
|
|
101
107
|
}
|
|
102
|
-
exports.
|
|
108
|
+
exports.CiliumClusterwideNetworkPolicy = CiliumClusterwideNetworkPolicy;
|
|
@@ -2,66 +2,66 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../../types/input";
|
|
3
3
|
import * as outputs from "../../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* CiliumClusterwideNetworkPolicyList is a list of CiliumClusterwideNetworkPolicy
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CiliumClusterwideNetworkPolicyList extends pulumi.CustomResource {
|
|
8
8
|
/**
|
|
9
|
-
* Get an existing
|
|
9
|
+
* Get an existing CiliumClusterwideNetworkPolicyList resource's state with the given name, ID, and optional extra
|
|
10
10
|
* properties used to qualify the lookup.
|
|
11
11
|
*
|
|
12
12
|
* @param name The _unique_ name of the resulting resource.
|
|
13
13
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
14
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
15
|
*/
|
|
16
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions):
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideNetworkPolicyList;
|
|
17
17
|
/** @internal */
|
|
18
|
-
static readonly __pulumiType = "kubernetes:cilium.io/
|
|
18
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyList";
|
|
19
19
|
/**
|
|
20
|
-
* Returns true if the given object is an instance of
|
|
20
|
+
* Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyList. This is designed to work even
|
|
21
21
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
22
|
*/
|
|
23
|
-
static isInstance(obj: any): obj is
|
|
23
|
+
static isInstance(obj: any): obj is CiliumClusterwideNetworkPolicyList;
|
|
24
24
|
/**
|
|
25
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
26
|
*/
|
|
27
|
-
readonly apiVersion: pulumi.Output<"cilium.io/
|
|
27
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2">;
|
|
28
28
|
/**
|
|
29
|
-
* List of
|
|
29
|
+
* List of ciliumclusterwidenetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
30
|
*/
|
|
31
|
-
readonly items: pulumi.Output<outputs.cilium.
|
|
31
|
+
readonly items: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicy[]>;
|
|
32
32
|
/**
|
|
33
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
34
|
*/
|
|
35
|
-
readonly kind: pulumi.Output<"
|
|
35
|
+
readonly kind: pulumi.Output<"CiliumClusterwideNetworkPolicyList">;
|
|
36
36
|
/**
|
|
37
37
|
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
38
|
*/
|
|
39
39
|
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
40
40
|
/**
|
|
41
|
-
* Create a
|
|
41
|
+
* Create a CiliumClusterwideNetworkPolicyList resource with the given unique name, arguments, and options.
|
|
42
42
|
*
|
|
43
43
|
* @param name The _unique_ name of the resource.
|
|
44
44
|
* @param args The arguments to use to populate this resource's properties.
|
|
45
45
|
* @param opts A bag of options that control this resource's behavior.
|
|
46
46
|
*/
|
|
47
|
-
constructor(name: string, args?:
|
|
47
|
+
constructor(name: string, args?: CiliumClusterwideNetworkPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* The set of arguments for constructing a
|
|
50
|
+
* The set of arguments for constructing a CiliumClusterwideNetworkPolicyList resource.
|
|
51
51
|
*/
|
|
52
|
-
export interface
|
|
52
|
+
export interface CiliumClusterwideNetworkPolicyListArgs {
|
|
53
53
|
/**
|
|
54
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
55
|
*/
|
|
56
|
-
apiVersion?: pulumi.Input<"cilium.io/
|
|
56
|
+
apiVersion?: pulumi.Input<"cilium.io/v2">;
|
|
57
57
|
/**
|
|
58
|
-
* List of
|
|
58
|
+
* List of ciliumclusterwidenetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
59
|
*/
|
|
60
|
-
items: pulumi.Input<pulumi.Input<inputs.cilium.
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicy>[]>;
|
|
61
61
|
/**
|
|
62
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
63
|
*/
|
|
64
|
-
kind?: pulumi.Input<"
|
|
64
|
+
kind?: pulumi.Input<"CiliumClusterwideNetworkPolicyList">;
|
|
65
65
|
/**
|
|
66
66
|
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
67
67
|
*/
|
|
@@ -0,0 +1,103 @@
|
|
|
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 (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.CiliumClusterwideNetworkPolicyList = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* CiliumClusterwideNetworkPolicyList is a list of CiliumClusterwideNetworkPolicy
|
|
33
|
+
*/
|
|
34
|
+
class CiliumClusterwideNetworkPolicyList extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing CiliumClusterwideNetworkPolicyList resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new CiliumClusterwideNetworkPolicyList(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyList';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyList. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === CiliumClusterwideNetworkPolicyList.__pulumiType;
|
|
57
|
+
}
|
|
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;
|
|
62
|
+
/**
|
|
63
|
+
* List of ciliumclusterwidenetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
64
|
+
*/
|
|
65
|
+
items;
|
|
66
|
+
/**
|
|
67
|
+
* 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
|
|
68
|
+
*/
|
|
69
|
+
kind;
|
|
70
|
+
/**
|
|
71
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
72
|
+
*/
|
|
73
|
+
metadata;
|
|
74
|
+
/**
|
|
75
|
+
* Create a CiliumClusterwideNetworkPolicyList resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name, args, opts) {
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (!opts.id) {
|
|
85
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'items'");
|
|
87
|
+
}
|
|
88
|
+
resourceInputs["apiVersion"] = "cilium.io/v2";
|
|
89
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
90
|
+
resourceInputs["kind"] = "CiliumClusterwideNetworkPolicyList";
|
|
91
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(CiliumClusterwideNetworkPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.CiliumClusterwideNetworkPolicyList = CiliumClusterwideNetworkPolicyList;
|
|
@@ -9,63 +9,73 @@ import { ObjectMetaPatch } from "../../meta/v1";
|
|
|
9
9
|
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
10
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
11
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
-
*
|
|
12
|
+
* CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
|
|
13
|
+
* modified version of CiliumNetworkPolicy which is cluster scoped rather than
|
|
14
|
+
* namespace scoped.
|
|
13
15
|
*/
|
|
14
|
-
export declare class
|
|
16
|
+
export declare class CiliumClusterwideNetworkPolicyPatch extends pulumi.CustomResource {
|
|
15
17
|
/**
|
|
16
|
-
* Get an existing
|
|
18
|
+
* Get an existing CiliumClusterwideNetworkPolicyPatch resource's state with the given name, ID, and optional extra
|
|
17
19
|
* properties used to qualify the lookup.
|
|
18
20
|
*
|
|
19
21
|
* @param name The _unique_ name of the resulting resource.
|
|
20
22
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
23
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
24
|
*/
|
|
23
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions):
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideNetworkPolicyPatch;
|
|
24
26
|
/** @internal */
|
|
25
|
-
static readonly __pulumiType = "kubernetes:cilium.io/
|
|
27
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyPatch";
|
|
26
28
|
/**
|
|
27
|
-
* Returns true if the given object is an instance of
|
|
29
|
+
* Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyPatch. This is designed to work even
|
|
28
30
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
31
|
*/
|
|
30
|
-
static isInstance(obj: any): obj is
|
|
32
|
+
static isInstance(obj: any): obj is CiliumClusterwideNetworkPolicyPatch;
|
|
31
33
|
/**
|
|
32
34
|
* 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
|
|
33
35
|
*/
|
|
34
|
-
readonly apiVersion: pulumi.Output<"cilium.io/
|
|
36
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2">;
|
|
35
37
|
/**
|
|
36
38
|
* 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
|
|
37
39
|
*/
|
|
38
|
-
readonly kind: pulumi.Output<"
|
|
40
|
+
readonly kind: pulumi.Output<"CiliumClusterwideNetworkPolicy">;
|
|
39
41
|
/**
|
|
40
42
|
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
41
43
|
*/
|
|
42
44
|
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
43
|
-
readonly spec: pulumi.Output<outputs.cilium.
|
|
44
|
-
readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPClusterConfigStatusPatch>;
|
|
45
|
+
readonly spec: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpecPatch>;
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
+
* Specs is a list of desired Cilium specific rule specification.
|
|
48
|
+
*/
|
|
49
|
+
readonly specs: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpecsPatch[]>;
|
|
50
|
+
readonly status: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicyStatusPatch>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a CiliumClusterwideNetworkPolicyPatch resource with the given unique name, arguments, and options.
|
|
47
53
|
*
|
|
48
54
|
* @param name The _unique_ name of the resource.
|
|
49
55
|
* @param args The arguments to use to populate this resource's properties.
|
|
50
56
|
* @param opts A bag of options that control this resource's behavior.
|
|
51
57
|
*/
|
|
52
|
-
constructor(name: string, args?:
|
|
58
|
+
constructor(name: string, args?: CiliumClusterwideNetworkPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
59
|
}
|
|
54
60
|
/**
|
|
55
|
-
* The set of arguments for constructing a
|
|
61
|
+
* The set of arguments for constructing a CiliumClusterwideNetworkPolicyPatch resource.
|
|
56
62
|
*/
|
|
57
|
-
export interface
|
|
63
|
+
export interface CiliumClusterwideNetworkPolicyPatchArgs {
|
|
58
64
|
/**
|
|
59
65
|
* 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
66
|
*/
|
|
61
|
-
apiVersion?: pulumi.Input<"cilium.io/
|
|
67
|
+
apiVersion?: pulumi.Input<"cilium.io/v2">;
|
|
62
68
|
/**
|
|
63
69
|
* 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
70
|
*/
|
|
65
|
-
kind?: pulumi.Input<"
|
|
71
|
+
kind?: pulumi.Input<"CiliumClusterwideNetworkPolicy">;
|
|
66
72
|
/**
|
|
67
73
|
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
68
74
|
*/
|
|
69
75
|
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
70
|
-
spec?: pulumi.Input<inputs.cilium.
|
|
76
|
+
spec?: pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpecPatch>;
|
|
77
|
+
/**
|
|
78
|
+
* Specs is a list of desired Cilium specific rule specification.
|
|
79
|
+
*/
|
|
80
|
+
specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpecsPatch>[]>;
|
|
71
81
|
}
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.CiliumClusterwideNetworkPolicyPatch = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../../utilities"));
|
|
31
31
|
/**
|
|
@@ -35,13 +35,13 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
35
35
|
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
36
36
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
37
37
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
38
|
+
* CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
|
|
39
|
+
* modified version of CiliumNetworkPolicy which is cluster scoped rather than
|
|
40
|
+
* namespace scoped.
|
|
41
41
|
*/
|
|
42
|
-
class
|
|
42
|
+
class CiliumClusterwideNetworkPolicyPatch extends pulumi.CustomResource {
|
|
43
43
|
/**
|
|
44
|
-
* Get an existing
|
|
44
|
+
* Get an existing CiliumClusterwideNetworkPolicyPatch resource's state with the given name, ID, and optional extra
|
|
45
45
|
* properties used to qualify the lookup.
|
|
46
46
|
*
|
|
47
47
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -49,19 +49,19 @@ class CiliumL2AnnouncementPolicyPatch extends pulumi.CustomResource {
|
|
|
49
49
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
50
|
*/
|
|
51
51
|
static get(name, id, opts) {
|
|
52
|
-
return new
|
|
52
|
+
return new CiliumClusterwideNetworkPolicyPatch(name, undefined, { ...opts, id: id });
|
|
53
53
|
}
|
|
54
54
|
/** @internal */
|
|
55
|
-
static __pulumiType = 'kubernetes:cilium.io/
|
|
55
|
+
static __pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyPatch';
|
|
56
56
|
/**
|
|
57
|
-
* Returns true if the given object is an instance of
|
|
57
|
+
* Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyPatch. This is designed to work even
|
|
58
58
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
59
|
*/
|
|
60
60
|
static isInstance(obj) {
|
|
61
61
|
if (obj === undefined || obj === null) {
|
|
62
62
|
return false;
|
|
63
63
|
}
|
|
64
|
-
return obj['__pulumiType'] ===
|
|
64
|
+
return obj['__pulumiType'] === CiliumClusterwideNetworkPolicyPatch.__pulumiType;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* 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
|
|
@@ -76,9 +76,13 @@ class CiliumL2AnnouncementPolicyPatch extends pulumi.CustomResource {
|
|
|
76
76
|
*/
|
|
77
77
|
metadata;
|
|
78
78
|
spec;
|
|
79
|
+
/**
|
|
80
|
+
* Specs is a list of desired Cilium specific rule specification.
|
|
81
|
+
*/
|
|
82
|
+
specs;
|
|
79
83
|
status;
|
|
80
84
|
/**
|
|
81
|
-
* Create a
|
|
85
|
+
* Create a CiliumClusterwideNetworkPolicyPatch resource with the given unique name, arguments, and options.
|
|
82
86
|
*
|
|
83
87
|
* @param name The _unique_ name of the resource.
|
|
84
88
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -88,10 +92,11 @@ class CiliumL2AnnouncementPolicyPatch extends pulumi.CustomResource {
|
|
|
88
92
|
let resourceInputs = {};
|
|
89
93
|
opts = opts || {};
|
|
90
94
|
if (!opts.id) {
|
|
91
|
-
resourceInputs["apiVersion"] = "cilium.io/
|
|
92
|
-
resourceInputs["kind"] = "
|
|
95
|
+
resourceInputs["apiVersion"] = "cilium.io/v2";
|
|
96
|
+
resourceInputs["kind"] = "CiliumClusterwideNetworkPolicy";
|
|
93
97
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
94
98
|
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
99
|
+
resourceInputs["specs"] = args ? args.specs : undefined;
|
|
95
100
|
resourceInputs["status"] = undefined /*out*/;
|
|
96
101
|
}
|
|
97
102
|
else {
|
|
@@ -99,10 +104,11 @@ class CiliumL2AnnouncementPolicyPatch extends pulumi.CustomResource {
|
|
|
99
104
|
resourceInputs["kind"] = undefined /*out*/;
|
|
100
105
|
resourceInputs["metadata"] = undefined /*out*/;
|
|
101
106
|
resourceInputs["spec"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["specs"] = undefined /*out*/;
|
|
102
108
|
resourceInputs["status"] = undefined /*out*/;
|
|
103
109
|
}
|
|
104
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
-
super(
|
|
111
|
+
super(CiliumClusterwideNetworkPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
|
106
112
|
}
|
|
107
113
|
}
|
|
108
|
-
exports.
|
|
114
|
+
exports.CiliumClusterwideNetworkPolicyPatch = CiliumClusterwideNetworkPolicyPatch;
|
|
@@ -2,61 +2,60 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../../types/input";
|
|
3
3
|
import * as outputs from "../../types/output";
|
|
4
4
|
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class CiliumEgressGatewayPolicy extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
7
|
-
* Get an existing
|
|
7
|
+
* Get an existing CiliumEgressGatewayPolicy resource's state with the given name, ID, and optional extra
|
|
8
8
|
* properties used to qualify the lookup.
|
|
9
9
|
*
|
|
10
10
|
* @param name The _unique_ name of the resulting resource.
|
|
11
11
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
13
|
*/
|
|
14
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions):
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEgressGatewayPolicy;
|
|
15
15
|
/** @internal */
|
|
16
|
-
static readonly __pulumiType = "kubernetes:cilium.io/
|
|
16
|
+
static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumEgressGatewayPolicy";
|
|
17
17
|
/**
|
|
18
|
-
* Returns true if the given object is an instance of
|
|
18
|
+
* Returns true if the given object is an instance of CiliumEgressGatewayPolicy. This is designed to work even
|
|
19
19
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
20
|
*/
|
|
21
|
-
static isInstance(obj: any): obj is
|
|
21
|
+
static isInstance(obj: any): obj is CiliumEgressGatewayPolicy;
|
|
22
22
|
/**
|
|
23
23
|
* 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
|
|
24
24
|
*/
|
|
25
|
-
readonly apiVersion: pulumi.Output<"cilium.io/
|
|
25
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2">;
|
|
26
26
|
/**
|
|
27
27
|
* 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
|
|
28
28
|
*/
|
|
29
|
-
readonly kind: pulumi.Output<"
|
|
29
|
+
readonly kind: pulumi.Output<"CiliumEgressGatewayPolicy">;
|
|
30
30
|
/**
|
|
31
31
|
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
32
32
|
*/
|
|
33
33
|
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
34
|
-
readonly spec: pulumi.Output<outputs.cilium.
|
|
35
|
-
readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPPeerConfigStatus>;
|
|
34
|
+
readonly spec: pulumi.Output<outputs.cilium.v2.CiliumEgressGatewayPolicySpec>;
|
|
36
35
|
/**
|
|
37
|
-
* Create a
|
|
36
|
+
* Create a CiliumEgressGatewayPolicy resource with the given unique name, arguments, and options.
|
|
38
37
|
*
|
|
39
38
|
* @param name The _unique_ name of the resource.
|
|
40
39
|
* @param args The arguments to use to populate this resource's properties.
|
|
41
40
|
* @param opts A bag of options that control this resource's behavior.
|
|
42
41
|
*/
|
|
43
|
-
constructor(name: string, args?:
|
|
42
|
+
constructor(name: string, args?: CiliumEgressGatewayPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
43
|
}
|
|
45
44
|
/**
|
|
46
|
-
* The set of arguments for constructing a
|
|
45
|
+
* The set of arguments for constructing a CiliumEgressGatewayPolicy resource.
|
|
47
46
|
*/
|
|
48
|
-
export interface
|
|
47
|
+
export interface CiliumEgressGatewayPolicyArgs {
|
|
49
48
|
/**
|
|
50
49
|
* 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
|
|
51
50
|
*/
|
|
52
|
-
apiVersion?: pulumi.Input<"cilium.io/
|
|
51
|
+
apiVersion?: pulumi.Input<"cilium.io/v2">;
|
|
53
52
|
/**
|
|
54
53
|
* 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
|
|
55
54
|
*/
|
|
56
|
-
kind?: pulumi.Input<"
|
|
55
|
+
kind?: pulumi.Input<"CiliumEgressGatewayPolicy">;
|
|
57
56
|
/**
|
|
58
57
|
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
59
58
|
*/
|
|
60
59
|
metadata?: pulumi.Input<ObjectMeta>;
|
|
61
|
-
spec?: pulumi.Input<inputs.cilium.
|
|
60
|
+
spec?: pulumi.Input<inputs.cilium.v2.CiliumEgressGatewayPolicySpec>;
|
|
62
61
|
}
|
|
@@ -25,12 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.CiliumEgressGatewayPolicy = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../../utilities"));
|
|
31
|
-
class
|
|
31
|
+
class CiliumEgressGatewayPolicy extends pulumi.CustomResource {
|
|
32
32
|
/**
|
|
33
|
-
* Get an existing
|
|
33
|
+
* Get an existing CiliumEgressGatewayPolicy resource's state with the given name, ID, and optional extra
|
|
34
34
|
* properties used to qualify the lookup.
|
|
35
35
|
*
|
|
36
36
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -38,19 +38,19 @@ class CiliumBGPPeerConfig extends pulumi.CustomResource {
|
|
|
38
38
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
39
|
*/
|
|
40
40
|
static get(name, id, opts) {
|
|
41
|
-
return new
|
|
41
|
+
return new CiliumEgressGatewayPolicy(name, undefined, { ...opts, id: id });
|
|
42
42
|
}
|
|
43
43
|
/** @internal */
|
|
44
|
-
static __pulumiType = 'kubernetes:cilium.io/
|
|
44
|
+
static __pulumiType = 'kubernetes:cilium.io/v2:CiliumEgressGatewayPolicy';
|
|
45
45
|
/**
|
|
46
|
-
* Returns true if the given object is an instance of
|
|
46
|
+
* Returns true if the given object is an instance of CiliumEgressGatewayPolicy. This is designed to work even
|
|
47
47
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
48
|
*/
|
|
49
49
|
static isInstance(obj) {
|
|
50
50
|
if (obj === undefined || obj === null) {
|
|
51
51
|
return false;
|
|
52
52
|
}
|
|
53
|
-
return obj['__pulumiType'] ===
|
|
53
|
+
return obj['__pulumiType'] === CiliumEgressGatewayPolicy.__pulumiType;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* 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
|
|
@@ -65,9 +65,8 @@ class CiliumBGPPeerConfig extends pulumi.CustomResource {
|
|
|
65
65
|
*/
|
|
66
66
|
metadata;
|
|
67
67
|
spec;
|
|
68
|
-
status;
|
|
69
68
|
/**
|
|
70
|
-
* Create a
|
|
69
|
+
* Create a CiliumEgressGatewayPolicy resource with the given unique name, arguments, and options.
|
|
71
70
|
*
|
|
72
71
|
* @param name The _unique_ name of the resource.
|
|
73
72
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -77,21 +76,19 @@ class CiliumBGPPeerConfig extends pulumi.CustomResource {
|
|
|
77
76
|
let resourceInputs = {};
|
|
78
77
|
opts = opts || {};
|
|
79
78
|
if (!opts.id) {
|
|
80
|
-
resourceInputs["apiVersion"] = "cilium.io/
|
|
81
|
-
resourceInputs["kind"] = "
|
|
79
|
+
resourceInputs["apiVersion"] = "cilium.io/v2";
|
|
80
|
+
resourceInputs["kind"] = "CiliumEgressGatewayPolicy";
|
|
82
81
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
83
82
|
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
84
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
85
83
|
}
|
|
86
84
|
else {
|
|
87
85
|
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
88
86
|
resourceInputs["kind"] = undefined /*out*/;
|
|
89
87
|
resourceInputs["metadata"] = undefined /*out*/;
|
|
90
88
|
resourceInputs["spec"] = undefined /*out*/;
|
|
91
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
92
89
|
}
|
|
93
90
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
-
super(
|
|
91
|
+
super(CiliumEgressGatewayPolicy.__pulumiType, name, resourceInputs, opts);
|
|
95
92
|
}
|
|
96
93
|
}
|
|
97
|
-
exports.
|
|
94
|
+
exports.CiliumEgressGatewayPolicy = CiliumEgressGatewayPolicy;
|