@kilic.dev/pulumi-k8s-crds 1.2.0 → 1.2.1

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.
Files changed (53) hide show
  1. package/dist/cilium/index.d.ts +2 -1
  2. package/dist/cilium/index.js +3 -1
  3. package/dist/cilium/{v2alpha1/ciliumBGPAdvertisement.d.ts → v2/ciliumClusterwideEnvoyConfig.d.ts} +16 -19
  4. package/dist/cilium/{v2alpha1/ciliumBGPAdvertisement.js → v2/ciliumClusterwideEnvoyConfig.js} +12 -15
  5. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.d.ts +69 -0
  6. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverrideList.js → v2/ciliumClusterwideEnvoyConfigList.js} +14 -14
  7. package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementPatch.d.ts → v2/ciliumClusterwideEnvoyConfigPatch.d.ts} +16 -17
  8. package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementPatch.js → v2/ciliumClusterwideEnvoyConfigPatch.js} +12 -13
  9. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverride.d.ts → v2/ciliumClusterwideNetworkPolicy.d.ts} +28 -20
  10. package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicy.js → v2/ciliumClusterwideNetworkPolicy.js} +21 -15
  11. package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyList.d.ts → v2/ciliumClusterwideNetworkPolicyList.d.ts} +19 -19
  12. package/dist/cilium/v2/ciliumClusterwideNetworkPolicyList.js +103 -0
  13. package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigPatch.d.ts → v2/ciliumClusterwideNetworkPolicyPatch.d.ts} +28 -18
  14. package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicyPatch.js → v2/ciliumClusterwideNetworkPolicyPatch.js} +21 -15
  15. package/dist/cilium/{v2alpha1/ciliumBGPPeerConfig.d.ts → v2/ciliumEgressGatewayPolicy.d.ts} +16 -17
  16. package/dist/cilium/{v2alpha1/ciliumBGPPeerConfig.js → v2/ciliumEgressGatewayPolicy.js} +12 -15
  17. package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigList.d.ts → v2/ciliumEgressGatewayPolicyList.d.ts} +19 -19
  18. package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigList.js → v2/ciliumEgressGatewayPolicyList.js} +14 -14
  19. package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigPatch.d.ts → v2/ciliumEgressGatewayPolicyPatch.d.ts} +16 -17
  20. package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyPatch.js → v2/ciliumEgressGatewayPolicyPatch.js} +12 -14
  21. package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicy.d.ts → v2/ciliumEnvoyConfig.d.ts} +16 -20
  22. package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicy.js → v2/ciliumEnvoyConfig.js} +12 -16
  23. package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigList.d.ts → v2/ciliumEnvoyConfigList.d.ts} +19 -19
  24. package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigList.js → v2/ciliumEnvoyConfigList.js} +14 -14
  25. package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts → v2/ciliumEnvoyConfigPatch.d.ts} +16 -18
  26. package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigPatch.js → v2/ciliumEnvoyConfigPatch.js} +12 -16
  27. package/dist/cilium/{v2alpha1/ciliumBGPClusterConfig.d.ts → v2/ciliumLocalRedirectPolicy.d.ts} +19 -18
  28. package/dist/cilium/{v2alpha1/ciliumBGPClusterConfig.js → v2/ciliumLocalRedirectPolicy.js} +14 -13
  29. package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementList.d.ts → v2/ciliumLocalRedirectPolicyList.d.ts} +19 -19
  30. package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementList.js → v2/ciliumLocalRedirectPolicyList.js} +14 -14
  31. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigPatch.d.ts → v2/ciliumLocalRedirectPolicyPatch.d.ts} +19 -19
  32. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigPatch.js → v2/ciliumLocalRedirectPolicyPatch.js} +14 -14
  33. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfig.d.ts → v2/ciliumNetworkPolicy.d.ts} +27 -19
  34. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfig.js → v2/ciliumNetworkPolicy.js} +20 -14
  35. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigList.d.ts → v2/ciliumNetworkPolicyList.d.ts} +19 -19
  36. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigList.js → v2/ciliumNetworkPolicyList.js} +14 -14
  37. package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts → v2/ciliumNetworkPolicyPatch.d.ts} +27 -20
  38. package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigPatch.js → v2/ciliumNetworkPolicyPatch.js} +20 -12
  39. package/dist/cilium/v2/index.d.ts +54 -0
  40. package/dist/cilium/v2/index.js +112 -0
  41. package/dist/cilium/v2alpha1/index.d.ts +0 -63
  42. package/dist/cilium/v2alpha1/index.js +1 -85
  43. package/dist/types/input.d.ts +20402 -1298
  44. package/dist/types/output.d.ts +20349 -1383
  45. package/package.json +2 -2
  46. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +0 -100
  47. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +0 -69
  48. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js +0 -106
  49. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +0 -103
  50. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +0 -67
  51. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +0 -69
  52. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +0 -103
  53. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts +0 -73
@@ -1,2 +1,3 @@
1
+ import * as v2 from "./v2";
1
2
  import * as v2alpha1 from "./v2alpha1";
2
- export { v2alpha1, };
3
+ export { v2, v2alpha1, };
@@ -25,7 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.v2alpha1 = void 0;
28
+ exports.v2alpha1 = exports.v2 = void 0;
29
29
  // Export sub-modules:
30
+ const v2 = __importStar(require("./v2"));
31
+ exports.v2 = v2;
30
32
  const v2alpha1 = __importStar(require("./v2alpha1"));
31
33
  exports.v2alpha1 = v2alpha1;
@@ -2,63 +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
- /**
6
- * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
7
- */
8
- export declare class CiliumBGPAdvertisement extends pulumi.CustomResource {
5
+ export declare class CiliumClusterwideEnvoyConfig extends pulumi.CustomResource {
9
6
  /**
10
- * Get an existing CiliumBGPAdvertisement resource's state with the given name, ID, and optional extra
7
+ * Get an existing CiliumClusterwideEnvoyConfig resource's state with the given name, ID, and optional extra
11
8
  * properties used to qualify the lookup.
12
9
  *
13
10
  * @param name The _unique_ name of the resulting resource.
14
11
  * @param id The _unique_ provider ID of the resource to lookup.
15
12
  * @param opts Optional settings to control the behavior of the CustomResource.
16
13
  */
17
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPAdvertisement;
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideEnvoyConfig;
18
15
  /** @internal */
19
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisement";
16
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumClusterwideEnvoyConfig";
20
17
  /**
21
- * Returns true if the given object is an instance of CiliumBGPAdvertisement. This is designed to work even
18
+ * Returns true if the given object is an instance of CiliumClusterwideEnvoyConfig. This is designed to work even
22
19
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
20
  */
24
- static isInstance(obj: any): obj is CiliumBGPAdvertisement;
21
+ static isInstance(obj: any): obj is CiliumClusterwideEnvoyConfig;
25
22
  /**
26
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
27
24
  */
28
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
25
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
29
26
  /**
30
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
31
28
  */
32
- readonly kind: pulumi.Output<"CiliumBGPAdvertisement">;
29
+ readonly kind: pulumi.Output<"CiliumClusterwideEnvoyConfig">;
33
30
  /**
34
31
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
32
  */
36
33
  readonly metadata: pulumi.Output<ObjectMeta>;
37
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPAdvertisementSpec>;
34
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumClusterwideEnvoyConfigSpec>;
38
35
  /**
39
- * Create a CiliumBGPAdvertisement resource with the given unique name, arguments, and options.
36
+ * Create a CiliumClusterwideEnvoyConfig resource with the given unique name, arguments, and options.
40
37
  *
41
38
  * @param name The _unique_ name of the resource.
42
39
  * @param args The arguments to use to populate this resource's properties.
43
40
  * @param opts A bag of options that control this resource's behavior.
44
41
  */
45
- constructor(name: string, args?: CiliumBGPAdvertisementArgs, opts?: pulumi.CustomResourceOptions);
42
+ constructor(name: string, args?: CiliumClusterwideEnvoyConfigArgs, opts?: pulumi.CustomResourceOptions);
46
43
  }
47
44
  /**
48
- * The set of arguments for constructing a CiliumBGPAdvertisement resource.
45
+ * The set of arguments for constructing a CiliumClusterwideEnvoyConfig resource.
49
46
  */
50
- export interface CiliumBGPAdvertisementArgs {
47
+ export interface CiliumClusterwideEnvoyConfigArgs {
51
48
  /**
52
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
53
50
  */
54
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
51
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
55
52
  /**
56
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
57
54
  */
58
- kind?: pulumi.Input<"CiliumBGPAdvertisement">;
55
+ kind?: pulumi.Input<"CiliumClusterwideEnvoyConfig">;
59
56
  /**
60
57
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
61
58
  */
62
59
  metadata?: pulumi.Input<ObjectMeta>;
63
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPAdvertisementSpec>;
60
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumClusterwideEnvoyConfigSpec>;
64
61
  }
@@ -25,15 +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.CiliumBGPAdvertisement = void 0;
28
+ exports.CiliumClusterwideEnvoyConfig = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
- /**
32
- * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
33
- */
34
- class CiliumBGPAdvertisement extends pulumi.CustomResource {
31
+ class CiliumClusterwideEnvoyConfig extends pulumi.CustomResource {
35
32
  /**
36
- * Get an existing CiliumBGPAdvertisement resource's state with the given name, ID, and optional extra
33
+ * Get an existing CiliumClusterwideEnvoyConfig resource's state with the given name, ID, and optional extra
37
34
  * properties used to qualify the lookup.
38
35
  *
39
36
  * @param name The _unique_ name of the resulting resource.
@@ -41,19 +38,19 @@ class CiliumBGPAdvertisement extends pulumi.CustomResource {
41
38
  * @param opts Optional settings to control the behavior of the CustomResource.
42
39
  */
43
40
  static get(name, id, opts) {
44
- return new CiliumBGPAdvertisement(name, undefined, { ...opts, id: id });
41
+ return new CiliumClusterwideEnvoyConfig(name, undefined, { ...opts, id: id });
45
42
  }
46
43
  /** @internal */
47
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisement';
44
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideEnvoyConfig';
48
45
  /**
49
- * Returns true if the given object is an instance of CiliumBGPAdvertisement. This is designed to work even
46
+ * Returns true if the given object is an instance of CiliumClusterwideEnvoyConfig. This is designed to work even
50
47
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
48
  */
52
49
  static isInstance(obj) {
53
50
  if (obj === undefined || obj === null) {
54
51
  return false;
55
52
  }
56
- return obj['__pulumiType'] === CiliumBGPAdvertisement.__pulumiType;
53
+ return obj['__pulumiType'] === CiliumClusterwideEnvoyConfig.__pulumiType;
57
54
  }
58
55
  /**
59
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
@@ -69,7 +66,7 @@ class CiliumBGPAdvertisement extends pulumi.CustomResource {
69
66
  metadata;
70
67
  spec;
71
68
  /**
72
- * Create a CiliumBGPAdvertisement resource with the given unique name, arguments, and options.
69
+ * Create a CiliumClusterwideEnvoyConfig resource with the given unique name, arguments, and options.
73
70
  *
74
71
  * @param name The _unique_ name of the resource.
75
72
  * @param args The arguments to use to populate this resource's properties.
@@ -79,8 +76,8 @@ class CiliumBGPAdvertisement extends pulumi.CustomResource {
79
76
  let resourceInputs = {};
80
77
  opts = opts || {};
81
78
  if (!opts.id) {
82
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
83
- resourceInputs["kind"] = "CiliumBGPAdvertisement";
79
+ resourceInputs["apiVersion"] = "cilium.io/v2";
80
+ resourceInputs["kind"] = "CiliumClusterwideEnvoyConfig";
84
81
  resourceInputs["metadata"] = args ? args.metadata : undefined;
85
82
  resourceInputs["spec"] = args ? args.spec : undefined;
86
83
  }
@@ -91,7 +88,7 @@ class CiliumBGPAdvertisement extends pulumi.CustomResource {
91
88
  resourceInputs["spec"] = undefined /*out*/;
92
89
  }
93
90
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
- super(CiliumBGPAdvertisement.__pulumiType, name, resourceInputs, opts);
91
+ super(CiliumClusterwideEnvoyConfig.__pulumiType, name, resourceInputs, opts);
95
92
  }
96
93
  }
97
- exports.CiliumBGPAdvertisement = CiliumBGPAdvertisement;
94
+ exports.CiliumClusterwideEnvoyConfig = CiliumClusterwideEnvoyConfig;
@@ -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
+ * CiliumClusterwideEnvoyConfigList is a list of CiliumClusterwideEnvoyConfig
6
+ */
7
+ export declare class CiliumClusterwideEnvoyConfigList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing CiliumClusterwideEnvoyConfigList 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): CiliumClusterwideEnvoyConfigList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumClusterwideEnvoyConfigList";
19
+ /**
20
+ * Returns true if the given object is an instance of CiliumClusterwideEnvoyConfigList. 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 CiliumClusterwideEnvoyConfigList;
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/v2">;
28
+ /**
29
+ * List of ciliumclusterwideenvoyconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.cilium.v2.CiliumClusterwideEnvoyConfig[]>;
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<"CiliumClusterwideEnvoyConfigList">;
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 CiliumClusterwideEnvoyConfigList 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?: CiliumClusterwideEnvoyConfigListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a CiliumClusterwideEnvoyConfigList resource.
51
+ */
52
+ export interface CiliumClusterwideEnvoyConfigListArgs {
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/v2">;
57
+ /**
58
+ * List of ciliumclusterwideenvoyconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideEnvoyConfig>[]>;
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<"CiliumClusterwideEnvoyConfigList">;
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
+ }
@@ -25,15 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.CiliumBGPNodeConfigOverrideList = void 0;
28
+ exports.CiliumClusterwideEnvoyConfigList = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
32
- * CiliumBGPNodeConfigOverrideList is a list of CiliumBGPNodeConfigOverride
32
+ * CiliumClusterwideEnvoyConfigList is a list of CiliumClusterwideEnvoyConfig
33
33
  */
34
- class CiliumBGPNodeConfigOverrideList extends pulumi.CustomResource {
34
+ class CiliumClusterwideEnvoyConfigList extends pulumi.CustomResource {
35
35
  /**
36
- * Get an existing CiliumBGPNodeConfigOverrideList resource's state with the given name, ID, and optional extra
36
+ * Get an existing CiliumClusterwideEnvoyConfigList resource's state with the given name, ID, and optional extra
37
37
  * properties used to qualify the lookup.
38
38
  *
39
39
  * @param name The _unique_ name of the resulting resource.
@@ -41,26 +41,26 @@ class CiliumBGPNodeConfigOverrideList extends pulumi.CustomResource {
41
41
  * @param opts Optional settings to control the behavior of the CustomResource.
42
42
  */
43
43
  static get(name, id, opts) {
44
- return new CiliumBGPNodeConfigOverrideList(name, undefined, { ...opts, id: id });
44
+ return new CiliumClusterwideEnvoyConfigList(name, undefined, { ...opts, id: id });
45
45
  }
46
46
  /** @internal */
47
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigOverrideList';
47
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideEnvoyConfigList';
48
48
  /**
49
- * Returns true if the given object is an instance of CiliumBGPNodeConfigOverrideList. This is designed to work even
49
+ * Returns true if the given object is an instance of CiliumClusterwideEnvoyConfigList. This is designed to work even
50
50
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
51
  */
52
52
  static isInstance(obj) {
53
53
  if (obj === undefined || obj === null) {
54
54
  return false;
55
55
  }
56
- return obj['__pulumiType'] === CiliumBGPNodeConfigOverrideList.__pulumiType;
56
+ return obj['__pulumiType'] === CiliumClusterwideEnvoyConfigList.__pulumiType;
57
57
  }
58
58
  /**
59
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
60
  */
61
61
  apiVersion;
62
62
  /**
63
- * List of ciliumbgpnodeconfigoverrides. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
63
+ * List of ciliumclusterwideenvoyconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
64
64
  */
65
65
  items;
66
66
  /**
@@ -72,7 +72,7 @@ class CiliumBGPNodeConfigOverrideList extends pulumi.CustomResource {
72
72
  */
73
73
  metadata;
74
74
  /**
75
- * Create a CiliumBGPNodeConfigOverrideList resource with the given unique name, arguments, and options.
75
+ * Create a CiliumClusterwideEnvoyConfigList resource with the given unique name, arguments, and options.
76
76
  *
77
77
  * @param name The _unique_ name of the resource.
78
78
  * @param args The arguments to use to populate this resource's properties.
@@ -85,9 +85,9 @@ class CiliumBGPNodeConfigOverrideList extends pulumi.CustomResource {
85
85
  if ((!args || args.items === undefined) && !opts.urn) {
86
86
  throw new Error("Missing required property 'items'");
87
87
  }
88
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
88
+ resourceInputs["apiVersion"] = "cilium.io/v2";
89
89
  resourceInputs["items"] = args ? args.items : undefined;
90
- resourceInputs["kind"] = "CiliumBGPNodeConfigOverrideList";
90
+ resourceInputs["kind"] = "CiliumClusterwideEnvoyConfigList";
91
91
  resourceInputs["metadata"] = args ? args.metadata : undefined;
92
92
  }
93
93
  else {
@@ -97,7 +97,7 @@ class CiliumBGPNodeConfigOverrideList extends pulumi.CustomResource {
97
97
  resourceInputs["metadata"] = undefined /*out*/;
98
98
  }
99
99
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- super(CiliumBGPNodeConfigOverrideList.__pulumiType, name, resourceInputs, opts);
100
+ super(CiliumClusterwideEnvoyConfigList.__pulumiType, name, resourceInputs, opts);
101
101
  }
102
102
  }
103
- exports.CiliumBGPNodeConfigOverrideList = CiliumBGPNodeConfigOverrideList;
103
+ exports.CiliumClusterwideEnvoyConfigList = CiliumClusterwideEnvoyConfigList;
@@ -9,62 +9,61 @@ 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
- * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
13
12
  */
14
- export declare class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
13
+ export declare class CiliumClusterwideEnvoyConfigPatch extends pulumi.CustomResource {
15
14
  /**
16
- * Get an existing CiliumBGPAdvertisementPatch resource's state with the given name, ID, and optional extra
15
+ * Get an existing CiliumClusterwideEnvoyConfigPatch resource's state with the given name, ID, and optional extra
17
16
  * properties used to qualify the lookup.
18
17
  *
19
18
  * @param name The _unique_ name of the resulting resource.
20
19
  * @param id The _unique_ provider ID of the resource to lookup.
21
20
  * @param opts Optional settings to control the behavior of the CustomResource.
22
21
  */
23
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPAdvertisementPatch;
22
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideEnvoyConfigPatch;
24
23
  /** @internal */
25
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisementPatch";
24
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumClusterwideEnvoyConfigPatch";
26
25
  /**
27
- * Returns true if the given object is an instance of CiliumBGPAdvertisementPatch. This is designed to work even
26
+ * Returns true if the given object is an instance of CiliumClusterwideEnvoyConfigPatch. This is designed to work even
28
27
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
28
  */
30
- static isInstance(obj: any): obj is CiliumBGPAdvertisementPatch;
29
+ static isInstance(obj: any): obj is CiliumClusterwideEnvoyConfigPatch;
31
30
  /**
32
31
  * 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
32
  */
34
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
33
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
35
34
  /**
36
35
  * 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
36
  */
38
- readonly kind: pulumi.Output<"CiliumBGPAdvertisement">;
37
+ readonly kind: pulumi.Output<"CiliumClusterwideEnvoyConfig">;
39
38
  /**
40
39
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
41
40
  */
42
41
  readonly metadata: pulumi.Output<ObjectMetaPatch>;
43
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPAdvertisementSpecPatch>;
42
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumClusterwideEnvoyConfigSpecPatch>;
44
43
  /**
45
- * Create a CiliumBGPAdvertisementPatch resource with the given unique name, arguments, and options.
44
+ * Create a CiliumClusterwideEnvoyConfigPatch resource with the given unique name, arguments, and options.
46
45
  *
47
46
  * @param name The _unique_ name of the resource.
48
47
  * @param args The arguments to use to populate this resource's properties.
49
48
  * @param opts A bag of options that control this resource's behavior.
50
49
  */
51
- constructor(name: string, args?: CiliumBGPAdvertisementPatchArgs, opts?: pulumi.CustomResourceOptions);
50
+ constructor(name: string, args?: CiliumClusterwideEnvoyConfigPatchArgs, opts?: pulumi.CustomResourceOptions);
52
51
  }
53
52
  /**
54
- * The set of arguments for constructing a CiliumBGPAdvertisementPatch resource.
53
+ * The set of arguments for constructing a CiliumClusterwideEnvoyConfigPatch resource.
55
54
  */
56
- export interface CiliumBGPAdvertisementPatchArgs {
55
+ export interface CiliumClusterwideEnvoyConfigPatchArgs {
57
56
  /**
58
57
  * 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
59
58
  */
60
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
59
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
61
60
  /**
62
61
  * 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
62
  */
64
- kind?: pulumi.Input<"CiliumBGPAdvertisement">;
63
+ kind?: pulumi.Input<"CiliumClusterwideEnvoyConfig">;
65
64
  /**
66
65
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
67
66
  */
68
67
  metadata?: pulumi.Input<ObjectMetaPatch>;
69
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPAdvertisementSpecPatch>;
68
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumClusterwideEnvoyConfigSpecPatch>;
70
69
  }
@@ -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.CiliumBGPAdvertisementPatch = void 0;
28
+ exports.CiliumClusterwideEnvoyConfigPatch = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
@@ -35,11 +35,10 @@ 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
- * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
39
38
  */
40
- class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
39
+ class CiliumClusterwideEnvoyConfigPatch extends pulumi.CustomResource {
41
40
  /**
42
- * Get an existing CiliumBGPAdvertisementPatch resource's state with the given name, ID, and optional extra
41
+ * Get an existing CiliumClusterwideEnvoyConfigPatch resource's state with the given name, ID, and optional extra
43
42
  * properties used to qualify the lookup.
44
43
  *
45
44
  * @param name The _unique_ name of the resulting resource.
@@ -47,19 +46,19 @@ class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
47
46
  * @param opts Optional settings to control the behavior of the CustomResource.
48
47
  */
49
48
  static get(name, id, opts) {
50
- return new CiliumBGPAdvertisementPatch(name, undefined, { ...opts, id: id });
49
+ return new CiliumClusterwideEnvoyConfigPatch(name, undefined, { ...opts, id: id });
51
50
  }
52
51
  /** @internal */
53
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisementPatch';
52
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideEnvoyConfigPatch';
54
53
  /**
55
- * Returns true if the given object is an instance of CiliumBGPAdvertisementPatch. This is designed to work even
54
+ * Returns true if the given object is an instance of CiliumClusterwideEnvoyConfigPatch. This is designed to work even
56
55
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
56
  */
58
57
  static isInstance(obj) {
59
58
  if (obj === undefined || obj === null) {
60
59
  return false;
61
60
  }
62
- return obj['__pulumiType'] === CiliumBGPAdvertisementPatch.__pulumiType;
61
+ return obj['__pulumiType'] === CiliumClusterwideEnvoyConfigPatch.__pulumiType;
63
62
  }
64
63
  /**
65
64
  * 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
@@ -75,7 +74,7 @@ class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
75
74
  metadata;
76
75
  spec;
77
76
  /**
78
- * Create a CiliumBGPAdvertisementPatch resource with the given unique name, arguments, and options.
77
+ * Create a CiliumClusterwideEnvoyConfigPatch resource with the given unique name, arguments, and options.
79
78
  *
80
79
  * @param name The _unique_ name of the resource.
81
80
  * @param args The arguments to use to populate this resource's properties.
@@ -85,8 +84,8 @@ class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
85
84
  let resourceInputs = {};
86
85
  opts = opts || {};
87
86
  if (!opts.id) {
88
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
89
- resourceInputs["kind"] = "CiliumBGPAdvertisement";
87
+ resourceInputs["apiVersion"] = "cilium.io/v2";
88
+ resourceInputs["kind"] = "CiliumClusterwideEnvoyConfig";
90
89
  resourceInputs["metadata"] = args ? args.metadata : undefined;
91
90
  resourceInputs["spec"] = args ? args.spec : undefined;
92
91
  }
@@ -97,7 +96,7 @@ class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
97
96
  resourceInputs["spec"] = undefined /*out*/;
98
97
  }
99
98
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- super(CiliumBGPAdvertisementPatch.__pulumiType, name, resourceInputs, opts);
99
+ super(CiliumClusterwideEnvoyConfigPatch.__pulumiType, name, resourceInputs, opts);
101
100
  }
102
101
  }
103
- exports.CiliumBGPAdvertisementPatch = CiliumBGPAdvertisementPatch;
102
+ exports.CiliumClusterwideEnvoyConfigPatch = CiliumClusterwideEnvoyConfigPatch;
@@ -3,65 +3,73 @@ import * as inputs from "../../types/input";
3
3
  import * as outputs from "../../types/output";
4
4
  import { ObjectMeta } from "../../meta/v1";
5
5
  /**
6
- * CiliumBGPNodeConfigOverride specifies configuration overrides for a CiliumBGPNodeConfig.
7
- * It allows fine-tuning of BGP behavior on a per-node basis. For the override to be effective,
8
- * the names in CiliumBGPNodeConfigOverride and CiliumBGPNodeConfig must match exactly. This
9
- * matching ensures that specific node configurations are applied correctly and only where intended.
6
+ * CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
7
+ * modified version of CiliumNetworkPolicy which is cluster scoped rather than
8
+ * namespace scoped.
10
9
  */
11
- export declare class CiliumBGPNodeConfigOverride extends pulumi.CustomResource {
10
+ export declare class CiliumClusterwideNetworkPolicy extends pulumi.CustomResource {
12
11
  /**
13
- * Get an existing CiliumBGPNodeConfigOverride resource's state with the given name, ID, and optional extra
12
+ * Get an existing CiliumClusterwideNetworkPolicy resource's state with the given name, ID, and optional extra
14
13
  * properties used to qualify the lookup.
15
14
  *
16
15
  * @param name The _unique_ name of the resulting resource.
17
16
  * @param id The _unique_ provider ID of the resource to lookup.
18
17
  * @param opts Optional settings to control the behavior of the CustomResource.
19
18
  */
20
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPNodeConfigOverride;
19
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideNetworkPolicy;
21
20
  /** @internal */
22
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigOverride";
21
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicy";
23
22
  /**
24
- * Returns true if the given object is an instance of CiliumBGPNodeConfigOverride. This is designed to work even
23
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicy. This is designed to work even
25
24
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
25
  */
27
- static isInstance(obj: any): obj is CiliumBGPNodeConfigOverride;
26
+ static isInstance(obj: any): obj is CiliumClusterwideNetworkPolicy;
28
27
  /**
29
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
30
29
  */
31
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
30
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
32
31
  /**
33
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
34
33
  */
35
- readonly kind: pulumi.Output<"CiliumBGPNodeConfigOverride">;
34
+ readonly kind: pulumi.Output<"CiliumClusterwideNetworkPolicy">;
36
35
  /**
37
36
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38
37
  */
39
38
  readonly metadata: pulumi.Output<ObjectMeta>;
40
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigOverrideSpec>;
39
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpec>;
41
40
  /**
42
- * Create a CiliumBGPNodeConfigOverride resource with the given unique name, arguments, and options.
41
+ * Specs is a list of desired Cilium specific rule specification.
42
+ */
43
+ readonly specs: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpecs[]>;
44
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicyStatus>;
45
+ /**
46
+ * Create a CiliumClusterwideNetworkPolicy resource with the given unique name, arguments, and options.
43
47
  *
44
48
  * @param name The _unique_ name of the resource.
45
49
  * @param args The arguments to use to populate this resource's properties.
46
50
  * @param opts A bag of options that control this resource's behavior.
47
51
  */
48
- constructor(name: string, args?: CiliumBGPNodeConfigOverrideArgs, opts?: pulumi.CustomResourceOptions);
52
+ constructor(name: string, args?: CiliumClusterwideNetworkPolicyArgs, opts?: pulumi.CustomResourceOptions);
49
53
  }
50
54
  /**
51
- * The set of arguments for constructing a CiliumBGPNodeConfigOverride resource.
55
+ * The set of arguments for constructing a CiliumClusterwideNetworkPolicy resource.
52
56
  */
53
- export interface CiliumBGPNodeConfigOverrideArgs {
57
+ export interface CiliumClusterwideNetworkPolicyArgs {
54
58
  /**
55
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
56
60
  */
57
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
61
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
58
62
  /**
59
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
60
64
  */
61
- kind?: pulumi.Input<"CiliumBGPNodeConfigOverride">;
65
+ kind?: pulumi.Input<"CiliumClusterwideNetworkPolicy">;
62
66
  /**
63
67
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
64
68
  */
65
69
  metadata?: pulumi.Input<ObjectMeta>;
66
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPNodeConfigOverrideSpec>;
70
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpec>;
71
+ /**
72
+ * Specs is a list of desired Cilium specific rule specification.
73
+ */
74
+ specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpecs>[]>;
67
75
  }