@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.
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 +3 -3
  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
@@ -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.CiliumBGPPeerConfigList = void 0;
28
+ exports.CiliumEnvoyConfigList = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
32
- * CiliumBGPPeerConfigList is a list of CiliumBGPPeerConfig
32
+ * CiliumEnvoyConfigList is a list of CiliumEnvoyConfig
33
33
  */
34
- class CiliumBGPPeerConfigList extends pulumi.CustomResource {
34
+ class CiliumEnvoyConfigList extends pulumi.CustomResource {
35
35
  /**
36
- * Get an existing CiliumBGPPeerConfigList resource's state with the given name, ID, and optional extra
36
+ * Get an existing CiliumEnvoyConfigList 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 CiliumBGPPeerConfigList 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 CiliumBGPPeerConfigList(name, undefined, { ...opts, id: id });
44
+ return new CiliumEnvoyConfigList(name, undefined, { ...opts, id: id });
45
45
  }
46
46
  /** @internal */
47
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeerConfigList';
47
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumEnvoyConfigList';
48
48
  /**
49
- * Returns true if the given object is an instance of CiliumBGPPeerConfigList. This is designed to work even
49
+ * Returns true if the given object is an instance of CiliumEnvoyConfigList. 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'] === CiliumBGPPeerConfigList.__pulumiType;
56
+ return obj['__pulumiType'] === CiliumEnvoyConfigList.__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 ciliumbgppeerconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
63
+ * List of ciliumenvoyconfigs. 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 CiliumBGPPeerConfigList extends pulumi.CustomResource {
72
72
  */
73
73
  metadata;
74
74
  /**
75
- * Create a CiliumBGPPeerConfigList resource with the given unique name, arguments, and options.
75
+ * Create a CiliumEnvoyConfigList 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 CiliumBGPPeerConfigList 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"] = "CiliumBGPPeerConfigList";
90
+ resourceInputs["kind"] = "CiliumEnvoyConfigList";
91
91
  resourceInputs["metadata"] = args ? args.metadata : undefined;
92
92
  }
93
93
  else {
@@ -97,7 +97,7 @@ class CiliumBGPPeerConfigList extends pulumi.CustomResource {
97
97
  resourceInputs["metadata"] = undefined /*out*/;
98
98
  }
99
99
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- super(CiliumBGPPeerConfigList.__pulumiType, name, resourceInputs, opts);
100
+ super(CiliumEnvoyConfigList.__pulumiType, name, resourceInputs, opts);
101
101
  }
102
102
  }
103
- exports.CiliumBGPPeerConfigList = CiliumBGPPeerConfigList;
103
+ exports.CiliumEnvoyConfigList = CiliumEnvoyConfigList;
@@ -9,63 +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
- * CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
13
- * Cilium's BGP control plane to create virtual BGP routers.
14
12
  */
15
- export declare class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
13
+ export declare class CiliumEnvoyConfigPatch extends pulumi.CustomResource {
16
14
  /**
17
- * Get an existing CiliumBGPPeeringPolicyPatch resource's state with the given name, ID, and optional extra
15
+ * Get an existing CiliumEnvoyConfigPatch resource's state with the given name, ID, and optional extra
18
16
  * properties used to qualify the lookup.
19
17
  *
20
18
  * @param name The _unique_ name of the resulting resource.
21
19
  * @param id The _unique_ provider ID of the resource to lookup.
22
20
  * @param opts Optional settings to control the behavior of the CustomResource.
23
21
  */
24
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPPeeringPolicyPatch;
22
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEnvoyConfigPatch;
25
23
  /** @internal */
26
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyPatch";
24
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumEnvoyConfigPatch";
27
25
  /**
28
- * Returns true if the given object is an instance of CiliumBGPPeeringPolicyPatch. This is designed to work even
26
+ * Returns true if the given object is an instance of CiliumEnvoyConfigPatch. This is designed to work even
29
27
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
28
  */
31
- static isInstance(obj: any): obj is CiliumBGPPeeringPolicyPatch;
29
+ static isInstance(obj: any): obj is CiliumEnvoyConfigPatch;
32
30
  /**
33
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
34
32
  */
35
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
33
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
36
34
  /**
37
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
38
36
  */
39
- readonly kind: pulumi.Output<"CiliumBGPPeeringPolicy">;
37
+ readonly kind: pulumi.Output<"CiliumEnvoyConfig">;
40
38
  /**
41
39
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
40
  */
43
41
  readonly metadata: pulumi.Output<ObjectMetaPatch>;
44
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPPeeringPolicySpecPatch>;
42
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumEnvoyConfigSpecPatch>;
45
43
  /**
46
- * Create a CiliumBGPPeeringPolicyPatch resource with the given unique name, arguments, and options.
44
+ * Create a CiliumEnvoyConfigPatch resource with the given unique name, arguments, and options.
47
45
  *
48
46
  * @param name The _unique_ name of the resource.
49
47
  * @param args The arguments to use to populate this resource's properties.
50
48
  * @param opts A bag of options that control this resource's behavior.
51
49
  */
52
- constructor(name: string, args?: CiliumBGPPeeringPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
50
+ constructor(name: string, args?: CiliumEnvoyConfigPatchArgs, opts?: pulumi.CustomResourceOptions);
53
51
  }
54
52
  /**
55
- * The set of arguments for constructing a CiliumBGPPeeringPolicyPatch resource.
53
+ * The set of arguments for constructing a CiliumEnvoyConfigPatch resource.
56
54
  */
57
- export interface CiliumBGPPeeringPolicyPatchArgs {
55
+ export interface CiliumEnvoyConfigPatchArgs {
58
56
  /**
59
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
60
58
  */
61
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
59
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
62
60
  /**
63
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
64
62
  */
65
- kind?: pulumi.Input<"CiliumBGPPeeringPolicy">;
63
+ kind?: pulumi.Input<"CiliumEnvoyConfig">;
66
64
  /**
67
65
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
68
66
  */
69
67
  metadata?: pulumi.Input<ObjectMetaPatch>;
70
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPPeeringPolicySpecPatch>;
68
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumEnvoyConfigSpecPatch>;
71
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.CiliumBGPClusterConfigPatch = void 0;
28
+ exports.CiliumEnvoyConfigPatch = 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
- * CiliumBGPClusterConfig is the Schema for the CiliumBGPClusterConfig API
39
38
  */
40
- class CiliumBGPClusterConfigPatch extends pulumi.CustomResource {
39
+ class CiliumEnvoyConfigPatch extends pulumi.CustomResource {
41
40
  /**
42
- * Get an existing CiliumBGPClusterConfigPatch resource's state with the given name, ID, and optional extra
41
+ * Get an existing CiliumEnvoyConfigPatch 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 CiliumBGPClusterConfigPatch 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 CiliumBGPClusterConfigPatch(name, undefined, { ...opts, id: id });
49
+ return new CiliumEnvoyConfigPatch(name, undefined, { ...opts, id: id });
51
50
  }
52
51
  /** @internal */
53
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPClusterConfigPatch';
52
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumEnvoyConfigPatch';
54
53
  /**
55
- * Returns true if the given object is an instance of CiliumBGPClusterConfigPatch. This is designed to work even
54
+ * Returns true if the given object is an instance of CiliumEnvoyConfigPatch. 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'] === CiliumBGPClusterConfigPatch.__pulumiType;
61
+ return obj['__pulumiType'] === CiliumEnvoyConfigPatch.__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
@@ -74,9 +73,8 @@ class CiliumBGPClusterConfigPatch extends pulumi.CustomResource {
74
73
  */
75
74
  metadata;
76
75
  spec;
77
- status;
78
76
  /**
79
- * Create a CiliumBGPClusterConfigPatch resource with the given unique name, arguments, and options.
77
+ * Create a CiliumEnvoyConfigPatch resource with the given unique name, arguments, and options.
80
78
  *
81
79
  * @param name The _unique_ name of the resource.
82
80
  * @param args The arguments to use to populate this resource's properties.
@@ -86,21 +84,19 @@ class CiliumBGPClusterConfigPatch extends pulumi.CustomResource {
86
84
  let resourceInputs = {};
87
85
  opts = opts || {};
88
86
  if (!opts.id) {
89
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
90
- resourceInputs["kind"] = "CiliumBGPClusterConfig";
87
+ resourceInputs["apiVersion"] = "cilium.io/v2";
88
+ resourceInputs["kind"] = "CiliumEnvoyConfig";
91
89
  resourceInputs["metadata"] = args ? args.metadata : undefined;
92
90
  resourceInputs["spec"] = args ? args.spec : undefined;
93
- resourceInputs["status"] = undefined /*out*/;
94
91
  }
95
92
  else {
96
93
  resourceInputs["apiVersion"] = undefined /*out*/;
97
94
  resourceInputs["kind"] = undefined /*out*/;
98
95
  resourceInputs["metadata"] = undefined /*out*/;
99
96
  resourceInputs["spec"] = undefined /*out*/;
100
- resourceInputs["status"] = undefined /*out*/;
101
97
  }
102
98
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
103
- super(CiliumBGPClusterConfigPatch.__pulumiType, name, resourceInputs, opts);
99
+ super(CiliumEnvoyConfigPatch.__pulumiType, name, resourceInputs, opts);
104
100
  }
105
101
  }
106
- exports.CiliumBGPClusterConfigPatch = CiliumBGPClusterConfigPatch;
102
+ exports.CiliumEnvoyConfigPatch = CiliumEnvoyConfigPatch;
@@ -3,63 +3,64 @@ import * as inputs from "../../types/input";
3
3
  import * as outputs from "../../types/output";
4
4
  import { ObjectMeta } from "../../meta/v1";
5
5
  /**
6
- * CiliumBGPClusterConfig is the Schema for the CiliumBGPClusterConfig API
6
+ * CiliumLocalRedirectPolicy is a Kubernetes Custom Resource that contains a
7
+ * specification to redirect traffic locally within a node.
7
8
  */
8
- export declare class CiliumBGPClusterConfig extends pulumi.CustomResource {
9
+ export declare class CiliumLocalRedirectPolicy extends pulumi.CustomResource {
9
10
  /**
10
- * Get an existing CiliumBGPClusterConfig resource's state with the given name, ID, and optional extra
11
+ * Get an existing CiliumLocalRedirectPolicy resource's state with the given name, ID, and optional extra
11
12
  * properties used to qualify the lookup.
12
13
  *
13
14
  * @param name The _unique_ name of the resulting resource.
14
15
  * @param id The _unique_ provider ID of the resource to lookup.
15
16
  * @param opts Optional settings to control the behavior of the CustomResource.
16
17
  */
17
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPClusterConfig;
18
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumLocalRedirectPolicy;
18
19
  /** @internal */
19
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPClusterConfig";
20
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumLocalRedirectPolicy";
20
21
  /**
21
- * Returns true if the given object is an instance of CiliumBGPClusterConfig. This is designed to work even
22
+ * Returns true if the given object is an instance of CiliumLocalRedirectPolicy. This is designed to work even
22
23
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
24
  */
24
- static isInstance(obj: any): obj is CiliumBGPClusterConfig;
25
+ static isInstance(obj: any): obj is CiliumLocalRedirectPolicy;
25
26
  /**
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
27
28
  */
28
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
29
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
29
30
  /**
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
31
32
  */
32
- readonly kind: pulumi.Output<"CiliumBGPClusterConfig">;
33
+ readonly kind: pulumi.Output<"CiliumLocalRedirectPolicy">;
33
34
  /**
34
35
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
36
  */
36
37
  readonly metadata: pulumi.Output<ObjectMeta>;
37
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPClusterConfigSpec>;
38
- readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPClusterConfigStatus>;
38
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicySpec>;
39
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicyStatus>;
39
40
  /**
40
- * Create a CiliumBGPClusterConfig resource with the given unique name, arguments, and options.
41
+ * Create a CiliumLocalRedirectPolicy resource with the given unique name, arguments, and options.
41
42
  *
42
43
  * @param name The _unique_ name of the resource.
43
44
  * @param args The arguments to use to populate this resource's properties.
44
45
  * @param opts A bag of options that control this resource's behavior.
45
46
  */
46
- constructor(name: string, args?: CiliumBGPClusterConfigArgs, opts?: pulumi.CustomResourceOptions);
47
+ constructor(name: string, args?: CiliumLocalRedirectPolicyArgs, opts?: pulumi.CustomResourceOptions);
47
48
  }
48
49
  /**
49
- * The set of arguments for constructing a CiliumBGPClusterConfig resource.
50
+ * The set of arguments for constructing a CiliumLocalRedirectPolicy resource.
50
51
  */
51
- export interface CiliumBGPClusterConfigArgs {
52
+ export interface CiliumLocalRedirectPolicyArgs {
52
53
  /**
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
54
55
  */
55
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
56
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
56
57
  /**
57
58
  * 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
  */
59
- kind?: pulumi.Input<"CiliumBGPClusterConfig">;
60
+ kind?: pulumi.Input<"CiliumLocalRedirectPolicy">;
60
61
  /**
61
62
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
62
63
  */
63
64
  metadata?: pulumi.Input<ObjectMeta>;
64
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPClusterConfigSpec>;
65
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumLocalRedirectPolicySpec>;
65
66
  }
@@ -25,15 +25,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.CiliumBGPClusterConfig = void 0;
28
+ exports.CiliumLocalRedirectPolicy = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
32
- * CiliumBGPClusterConfig is the Schema for the CiliumBGPClusterConfig API
32
+ * CiliumLocalRedirectPolicy is a Kubernetes Custom Resource that contains a
33
+ * specification to redirect traffic locally within a node.
33
34
  */
34
- class CiliumBGPClusterConfig extends pulumi.CustomResource {
35
+ class CiliumLocalRedirectPolicy extends pulumi.CustomResource {
35
36
  /**
36
- * Get an existing CiliumBGPClusterConfig resource's state with the given name, ID, and optional extra
37
+ * Get an existing CiliumLocalRedirectPolicy resource's state with the given name, ID, and optional extra
37
38
  * properties used to qualify the lookup.
38
39
  *
39
40
  * @param name The _unique_ name of the resulting resource.
@@ -41,19 +42,19 @@ class CiliumBGPClusterConfig extends pulumi.CustomResource {
41
42
  * @param opts Optional settings to control the behavior of the CustomResource.
42
43
  */
43
44
  static get(name, id, opts) {
44
- return new CiliumBGPClusterConfig(name, undefined, { ...opts, id: id });
45
+ return new CiliumLocalRedirectPolicy(name, undefined, { ...opts, id: id });
45
46
  }
46
47
  /** @internal */
47
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPClusterConfig';
48
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumLocalRedirectPolicy';
48
49
  /**
49
- * Returns true if the given object is an instance of CiliumBGPClusterConfig. This is designed to work even
50
+ * Returns true if the given object is an instance of CiliumLocalRedirectPolicy. This is designed to work even
50
51
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
52
  */
52
53
  static isInstance(obj) {
53
54
  if (obj === undefined || obj === null) {
54
55
  return false;
55
56
  }
56
- return obj['__pulumiType'] === CiliumBGPClusterConfig.__pulumiType;
57
+ return obj['__pulumiType'] === CiliumLocalRedirectPolicy.__pulumiType;
57
58
  }
58
59
  /**
59
60
  * 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,7 +71,7 @@ class CiliumBGPClusterConfig extends pulumi.CustomResource {
70
71
  spec;
71
72
  status;
72
73
  /**
73
- * Create a CiliumBGPClusterConfig resource with the given unique name, arguments, and options.
74
+ * Create a CiliumLocalRedirectPolicy resource with the given unique name, arguments, and options.
74
75
  *
75
76
  * @param name The _unique_ name of the resource.
76
77
  * @param args The arguments to use to populate this resource's properties.
@@ -80,8 +81,8 @@ class CiliumBGPClusterConfig extends pulumi.CustomResource {
80
81
  let resourceInputs = {};
81
82
  opts = opts || {};
82
83
  if (!opts.id) {
83
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
84
- resourceInputs["kind"] = "CiliumBGPClusterConfig";
84
+ resourceInputs["apiVersion"] = "cilium.io/v2";
85
+ resourceInputs["kind"] = "CiliumLocalRedirectPolicy";
85
86
  resourceInputs["metadata"] = args ? args.metadata : undefined;
86
87
  resourceInputs["spec"] = args ? args.spec : undefined;
87
88
  resourceInputs["status"] = undefined /*out*/;
@@ -94,7 +95,7 @@ class CiliumBGPClusterConfig extends pulumi.CustomResource {
94
95
  resourceInputs["status"] = undefined /*out*/;
95
96
  }
96
97
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
- super(CiliumBGPClusterConfig.__pulumiType, name, resourceInputs, opts);
98
+ super(CiliumLocalRedirectPolicy.__pulumiType, name, resourceInputs, opts);
98
99
  }
99
100
  }
100
- exports.CiliumBGPClusterConfig = CiliumBGPClusterConfig;
101
+ exports.CiliumLocalRedirectPolicy = CiliumLocalRedirectPolicy;
@@ -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
- * CiliumBGPAdvertisementList is a list of CiliumBGPAdvertisement
5
+ * CiliumLocalRedirectPolicyList is a list of CiliumLocalRedirectPolicy
6
6
  */
7
- export declare class CiliumBGPAdvertisementList extends pulumi.CustomResource {
7
+ export declare class CiliumLocalRedirectPolicyList extends pulumi.CustomResource {
8
8
  /**
9
- * Get an existing CiliumBGPAdvertisementList resource's state with the given name, ID, and optional extra
9
+ * Get an existing CiliumLocalRedirectPolicyList 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): CiliumBGPAdvertisementList;
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumLocalRedirectPolicyList;
17
17
  /** @internal */
18
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisementList";
18
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumLocalRedirectPolicyList";
19
19
  /**
20
- * Returns true if the given object is an instance of CiliumBGPAdvertisementList. This is designed to work even
20
+ * Returns true if the given object is an instance of CiliumLocalRedirectPolicyList. 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 CiliumBGPAdvertisementList;
23
+ static isInstance(obj: any): obj is CiliumLocalRedirectPolicyList;
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/v2alpha1">;
27
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
28
28
  /**
29
- * List of ciliumbgpadvertisements. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
29
+ * List of ciliumlocalredirectpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
30
  */
31
- readonly items: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPAdvertisement[]>;
31
+ readonly items: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicy[]>;
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<"CiliumBGPAdvertisementList">;
35
+ readonly kind: pulumi.Output<"CiliumLocalRedirectPolicyList">;
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 CiliumBGPAdvertisementList resource with the given unique name, arguments, and options.
41
+ * Create a CiliumLocalRedirectPolicyList 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?: CiliumBGPAdvertisementListArgs, opts?: pulumi.CustomResourceOptions);
47
+ constructor(name: string, args?: CiliumLocalRedirectPolicyListArgs, opts?: pulumi.CustomResourceOptions);
48
48
  }
49
49
  /**
50
- * The set of arguments for constructing a CiliumBGPAdvertisementList resource.
50
+ * The set of arguments for constructing a CiliumLocalRedirectPolicyList resource.
51
51
  */
52
- export interface CiliumBGPAdvertisementListArgs {
52
+ export interface CiliumLocalRedirectPolicyListArgs {
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/v2alpha1">;
56
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
57
57
  /**
58
- * List of ciliumbgpadvertisements. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
58
+ * List of ciliumlocalredirectpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
59
  */
60
- items: pulumi.Input<pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPAdvertisement>[]>;
60
+ items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumLocalRedirectPolicy>[]>;
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<"CiliumBGPAdvertisementList">;
64
+ kind?: pulumi.Input<"CiliumLocalRedirectPolicyList">;
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
  */
@@ -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.CiliumBGPAdvertisementList = void 0;
28
+ exports.CiliumLocalRedirectPolicyList = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
32
- * CiliumBGPAdvertisementList is a list of CiliumBGPAdvertisement
32
+ * CiliumLocalRedirectPolicyList is a list of CiliumLocalRedirectPolicy
33
33
  */
34
- class CiliumBGPAdvertisementList extends pulumi.CustomResource {
34
+ class CiliumLocalRedirectPolicyList extends pulumi.CustomResource {
35
35
  /**
36
- * Get an existing CiliumBGPAdvertisementList resource's state with the given name, ID, and optional extra
36
+ * Get an existing CiliumLocalRedirectPolicyList 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 CiliumBGPAdvertisementList 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 CiliumBGPAdvertisementList(name, undefined, { ...opts, id: id });
44
+ return new CiliumLocalRedirectPolicyList(name, undefined, { ...opts, id: id });
45
45
  }
46
46
  /** @internal */
47
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisementList';
47
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumLocalRedirectPolicyList';
48
48
  /**
49
- * Returns true if the given object is an instance of CiliumBGPAdvertisementList. This is designed to work even
49
+ * Returns true if the given object is an instance of CiliumLocalRedirectPolicyList. 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'] === CiliumBGPAdvertisementList.__pulumiType;
56
+ return obj['__pulumiType'] === CiliumLocalRedirectPolicyList.__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 ciliumbgpadvertisements. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
63
+ * List of ciliumlocalredirectpolicies. 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 CiliumBGPAdvertisementList extends pulumi.CustomResource {
72
72
  */
73
73
  metadata;
74
74
  /**
75
- * Create a CiliumBGPAdvertisementList resource with the given unique name, arguments, and options.
75
+ * Create a CiliumLocalRedirectPolicyList 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 CiliumBGPAdvertisementList 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"] = "CiliumBGPAdvertisementList";
90
+ resourceInputs["kind"] = "CiliumLocalRedirectPolicyList";
91
91
  resourceInputs["metadata"] = args ? args.metadata : undefined;
92
92
  }
93
93
  else {
@@ -97,7 +97,7 @@ class CiliumBGPAdvertisementList extends pulumi.CustomResource {
97
97
  resourceInputs["metadata"] = undefined /*out*/;
98
98
  }
99
99
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- super(CiliumBGPAdvertisementList.__pulumiType, name, resourceInputs, opts);
100
+ super(CiliumLocalRedirectPolicyList.__pulumiType, name, resourceInputs, opts);
101
101
  }
102
102
  }
103
- exports.CiliumBGPAdvertisementList = CiliumBGPAdvertisementList;
103
+ exports.CiliumLocalRedirectPolicyList = CiliumLocalRedirectPolicyList;