@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
@@ -9,64 +9,64 @@ 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
- * CiliumBGPNodeConfig is node local configuration for BGP agent. Name of the object should be node name.
13
- * This resource will be created by Cilium operator and is read-only for the users.
12
+ * CiliumLocalRedirectPolicy is a Kubernetes Custom Resource that contains a
13
+ * specification to redirect traffic locally within a node.
14
14
  */
15
- export declare class CiliumBGPNodeConfigPatch extends pulumi.CustomResource {
15
+ export declare class CiliumLocalRedirectPolicyPatch extends pulumi.CustomResource {
16
16
  /**
17
- * Get an existing CiliumBGPNodeConfigPatch resource's state with the given name, ID, and optional extra
17
+ * Get an existing CiliumLocalRedirectPolicyPatch resource's state with the given name, ID, and optional extra
18
18
  * properties used to qualify the lookup.
19
19
  *
20
20
  * @param name The _unique_ name of the resulting resource.
21
21
  * @param id The _unique_ provider ID of the resource to lookup.
22
22
  * @param opts Optional settings to control the behavior of the CustomResource.
23
23
  */
24
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPNodeConfigPatch;
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumLocalRedirectPolicyPatch;
25
25
  /** @internal */
26
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigPatch";
26
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumLocalRedirectPolicyPatch";
27
27
  /**
28
- * Returns true if the given object is an instance of CiliumBGPNodeConfigPatch. This is designed to work even
28
+ * Returns true if the given object is an instance of CiliumLocalRedirectPolicyPatch. This is designed to work even
29
29
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
30
  */
31
- static isInstance(obj: any): obj is CiliumBGPNodeConfigPatch;
31
+ static isInstance(obj: any): obj is CiliumLocalRedirectPolicyPatch;
32
32
  /**
33
33
  * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
34
34
  */
35
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
35
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
36
36
  /**
37
37
  * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
38
  */
39
- readonly kind: pulumi.Output<"CiliumBGPNodeConfig">;
39
+ readonly kind: pulumi.Output<"CiliumLocalRedirectPolicy">;
40
40
  /**
41
41
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
42
  */
43
43
  readonly metadata: pulumi.Output<ObjectMetaPatch>;
44
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigSpecPatch>;
45
- readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigStatusPatch>;
44
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicySpecPatch>;
45
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicyStatusPatch>;
46
46
  /**
47
- * Create a CiliumBGPNodeConfigPatch resource with the given unique name, arguments, and options.
47
+ * Create a CiliumLocalRedirectPolicyPatch resource with the given unique name, arguments, and options.
48
48
  *
49
49
  * @param name The _unique_ name of the resource.
50
50
  * @param args The arguments to use to populate this resource's properties.
51
51
  * @param opts A bag of options that control this resource's behavior.
52
52
  */
53
- constructor(name: string, args?: CiliumBGPNodeConfigPatchArgs, opts?: pulumi.CustomResourceOptions);
53
+ constructor(name: string, args?: CiliumLocalRedirectPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
54
54
  }
55
55
  /**
56
- * The set of arguments for constructing a CiliumBGPNodeConfigPatch resource.
56
+ * The set of arguments for constructing a CiliumLocalRedirectPolicyPatch resource.
57
57
  */
58
- export interface CiliumBGPNodeConfigPatchArgs {
58
+ export interface CiliumLocalRedirectPolicyPatchArgs {
59
59
  /**
60
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
61
61
  */
62
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
62
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
63
63
  /**
64
64
  * 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
65
65
  */
66
- kind?: pulumi.Input<"CiliumBGPNodeConfig">;
66
+ kind?: pulumi.Input<"CiliumLocalRedirectPolicy">;
67
67
  /**
68
68
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
69
69
  */
70
70
  metadata?: pulumi.Input<ObjectMetaPatch>;
71
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPNodeConfigSpecPatch>;
71
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumLocalRedirectPolicySpecPatch>;
72
72
  }
@@ -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.CiliumBGPNodeConfigPatch = void 0;
28
+ exports.CiliumLocalRedirectPolicyPatch = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
@@ -35,12 +35,12 @@ 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
- * CiliumBGPNodeConfig is node local configuration for BGP agent. Name of the object should be node name.
39
- * This resource will be created by Cilium operator and is read-only for the users.
38
+ * CiliumLocalRedirectPolicy is a Kubernetes Custom Resource that contains a
39
+ * specification to redirect traffic locally within a node.
40
40
  */
41
- class CiliumBGPNodeConfigPatch extends pulumi.CustomResource {
41
+ class CiliumLocalRedirectPolicyPatch extends pulumi.CustomResource {
42
42
  /**
43
- * Get an existing CiliumBGPNodeConfigPatch resource's state with the given name, ID, and optional extra
43
+ * Get an existing CiliumLocalRedirectPolicyPatch resource's state with the given name, ID, and optional extra
44
44
  * properties used to qualify the lookup.
45
45
  *
46
46
  * @param name The _unique_ name of the resulting resource.
@@ -48,19 +48,19 @@ class CiliumBGPNodeConfigPatch extends pulumi.CustomResource {
48
48
  * @param opts Optional settings to control the behavior of the CustomResource.
49
49
  */
50
50
  static get(name, id, opts) {
51
- return new CiliumBGPNodeConfigPatch(name, undefined, { ...opts, id: id });
51
+ return new CiliumLocalRedirectPolicyPatch(name, undefined, { ...opts, id: id });
52
52
  }
53
53
  /** @internal */
54
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigPatch';
54
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumLocalRedirectPolicyPatch';
55
55
  /**
56
- * Returns true if the given object is an instance of CiliumBGPNodeConfigPatch. This is designed to work even
56
+ * Returns true if the given object is an instance of CiliumLocalRedirectPolicyPatch. This is designed to work even
57
57
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
58
  */
59
59
  static isInstance(obj) {
60
60
  if (obj === undefined || obj === null) {
61
61
  return false;
62
62
  }
63
- return obj['__pulumiType'] === CiliumBGPNodeConfigPatch.__pulumiType;
63
+ return obj['__pulumiType'] === CiliumLocalRedirectPolicyPatch.__pulumiType;
64
64
  }
65
65
  /**
66
66
  * 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
@@ -77,7 +77,7 @@ class CiliumBGPNodeConfigPatch extends pulumi.CustomResource {
77
77
  spec;
78
78
  status;
79
79
  /**
80
- * Create a CiliumBGPNodeConfigPatch resource with the given unique name, arguments, and options.
80
+ * Create a CiliumLocalRedirectPolicyPatch resource with the given unique name, arguments, and options.
81
81
  *
82
82
  * @param name The _unique_ name of the resource.
83
83
  * @param args The arguments to use to populate this resource's properties.
@@ -87,8 +87,8 @@ class CiliumBGPNodeConfigPatch extends pulumi.CustomResource {
87
87
  let resourceInputs = {};
88
88
  opts = opts || {};
89
89
  if (!opts.id) {
90
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
91
- resourceInputs["kind"] = "CiliumBGPNodeConfig";
90
+ resourceInputs["apiVersion"] = "cilium.io/v2";
91
+ resourceInputs["kind"] = "CiliumLocalRedirectPolicy";
92
92
  resourceInputs["metadata"] = args ? args.metadata : undefined;
93
93
  resourceInputs["spec"] = args ? args.spec : undefined;
94
94
  resourceInputs["status"] = undefined /*out*/;
@@ -101,7 +101,7 @@ class CiliumBGPNodeConfigPatch extends pulumi.CustomResource {
101
101
  resourceInputs["status"] = undefined /*out*/;
102
102
  }
103
103
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
- super(CiliumBGPNodeConfigPatch.__pulumiType, name, resourceInputs, opts);
104
+ super(CiliumLocalRedirectPolicyPatch.__pulumiType, name, resourceInputs, opts);
105
105
  }
106
106
  }
107
- exports.CiliumBGPNodeConfigPatch = CiliumBGPNodeConfigPatch;
107
+ exports.CiliumLocalRedirectPolicyPatch = CiliumLocalRedirectPolicyPatch;
@@ -3,64 +3,72 @@ import * as inputs from "../../types/input";
3
3
  import * as outputs from "../../types/output";
4
4
  import { ObjectMeta } from "../../meta/v1";
5
5
  /**
6
- * CiliumBGPNodeConfig is node local configuration for BGP agent. Name of the object should be node name.
7
- * This resource will be created by Cilium operator and is read-only for the users.
6
+ * CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
7
+ * version of NetworkPolicy.
8
8
  */
9
- export declare class CiliumBGPNodeConfig extends pulumi.CustomResource {
9
+ export declare class CiliumNetworkPolicy extends pulumi.CustomResource {
10
10
  /**
11
- * Get an existing CiliumBGPNodeConfig resource's state with the given name, ID, and optional extra
11
+ * Get an existing CiliumNetworkPolicy resource's state with the given name, ID, and optional extra
12
12
  * properties used to qualify the lookup.
13
13
  *
14
14
  * @param name The _unique_ name of the resulting resource.
15
15
  * @param id The _unique_ provider ID of the resource to lookup.
16
16
  * @param opts Optional settings to control the behavior of the CustomResource.
17
17
  */
18
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPNodeConfig;
18
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumNetworkPolicy;
19
19
  /** @internal */
20
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfig";
20
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumNetworkPolicy";
21
21
  /**
22
- * Returns true if the given object is an instance of CiliumBGPNodeConfig. This is designed to work even
22
+ * Returns true if the given object is an instance of CiliumNetworkPolicy. This is designed to work even
23
23
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
24
  */
25
- static isInstance(obj: any): obj is CiliumBGPNodeConfig;
25
+ static isInstance(obj: any): obj is CiliumNetworkPolicy;
26
26
  /**
27
27
  * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
28
  */
29
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
29
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
30
30
  /**
31
31
  * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
32
32
  */
33
- readonly kind: pulumi.Output<"CiliumBGPNodeConfig">;
33
+ readonly kind: pulumi.Output<"CiliumNetworkPolicy">;
34
34
  /**
35
35
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
36
36
  */
37
37
  readonly metadata: pulumi.Output<ObjectMeta>;
38
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigSpec>;
39
- readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigStatus>;
38
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpec>;
40
39
  /**
41
- * Create a CiliumBGPNodeConfig resource with the given unique name, arguments, and options.
40
+ * Specs is a list of desired Cilium specific rule specification.
41
+ */
42
+ readonly specs: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpecs[]>;
43
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicyStatus>;
44
+ /**
45
+ * Create a CiliumNetworkPolicy resource with the given unique name, arguments, and options.
42
46
  *
43
47
  * @param name The _unique_ name of the resource.
44
48
  * @param args The arguments to use to populate this resource's properties.
45
49
  * @param opts A bag of options that control this resource's behavior.
46
50
  */
47
- constructor(name: string, args?: CiliumBGPNodeConfigArgs, opts?: pulumi.CustomResourceOptions);
51
+ constructor(name: string, args?: CiliumNetworkPolicyArgs, opts?: pulumi.CustomResourceOptions);
48
52
  }
49
53
  /**
50
- * The set of arguments for constructing a CiliumBGPNodeConfig resource.
54
+ * The set of arguments for constructing a CiliumNetworkPolicy resource.
51
55
  */
52
- export interface CiliumBGPNodeConfigArgs {
56
+ export interface CiliumNetworkPolicyArgs {
53
57
  /**
54
58
  * 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
59
  */
56
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
60
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
57
61
  /**
58
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
59
63
  */
60
- kind?: pulumi.Input<"CiliumBGPNodeConfig">;
64
+ kind?: pulumi.Input<"CiliumNetworkPolicy">;
61
65
  /**
62
66
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
63
67
  */
64
68
  metadata?: pulumi.Input<ObjectMeta>;
65
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPNodeConfigSpec>;
69
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpec>;
70
+ /**
71
+ * Specs is a list of desired Cilium specific rule specification.
72
+ */
73
+ specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpecs>[]>;
66
74
  }
@@ -25,16 +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.CiliumBGPNodeConfig = void 0;
28
+ exports.CiliumNetworkPolicy = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
32
- * CiliumBGPNodeConfig is node local configuration for BGP agent. Name of the object should be node name.
33
- * This resource will be created by Cilium operator and is read-only for the users.
32
+ * CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
33
+ * version of NetworkPolicy.
34
34
  */
35
- class CiliumBGPNodeConfig extends pulumi.CustomResource {
35
+ class CiliumNetworkPolicy extends pulumi.CustomResource {
36
36
  /**
37
- * Get an existing CiliumBGPNodeConfig resource's state with the given name, ID, and optional extra
37
+ * Get an existing CiliumNetworkPolicy resource's state with the given name, ID, and optional extra
38
38
  * properties used to qualify the lookup.
39
39
  *
40
40
  * @param name The _unique_ name of the resulting resource.
@@ -42,19 +42,19 @@ class CiliumBGPNodeConfig extends pulumi.CustomResource {
42
42
  * @param opts Optional settings to control the behavior of the CustomResource.
43
43
  */
44
44
  static get(name, id, opts) {
45
- return new CiliumBGPNodeConfig(name, undefined, { ...opts, id: id });
45
+ return new CiliumNetworkPolicy(name, undefined, { ...opts, id: id });
46
46
  }
47
47
  /** @internal */
48
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfig';
48
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumNetworkPolicy';
49
49
  /**
50
- * Returns true if the given object is an instance of CiliumBGPNodeConfig. This is designed to work even
50
+ * Returns true if the given object is an instance of CiliumNetworkPolicy. This is designed to work even
51
51
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
52
  */
53
53
  static isInstance(obj) {
54
54
  if (obj === undefined || obj === null) {
55
55
  return false;
56
56
  }
57
- return obj['__pulumiType'] === CiliumBGPNodeConfig.__pulumiType;
57
+ return obj['__pulumiType'] === CiliumNetworkPolicy.__pulumiType;
58
58
  }
59
59
  /**
60
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
@@ -69,9 +69,13 @@ class CiliumBGPNodeConfig extends pulumi.CustomResource {
69
69
  */
70
70
  metadata;
71
71
  spec;
72
+ /**
73
+ * Specs is a list of desired Cilium specific rule specification.
74
+ */
75
+ specs;
72
76
  status;
73
77
  /**
74
- * Create a CiliumBGPNodeConfig resource with the given unique name, arguments, and options.
78
+ * Create a CiliumNetworkPolicy resource with the given unique name, arguments, and options.
75
79
  *
76
80
  * @param name The _unique_ name of the resource.
77
81
  * @param args The arguments to use to populate this resource's properties.
@@ -81,10 +85,11 @@ class CiliumBGPNodeConfig extends pulumi.CustomResource {
81
85
  let resourceInputs = {};
82
86
  opts = opts || {};
83
87
  if (!opts.id) {
84
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
85
- resourceInputs["kind"] = "CiliumBGPNodeConfig";
88
+ resourceInputs["apiVersion"] = "cilium.io/v2";
89
+ resourceInputs["kind"] = "CiliumNetworkPolicy";
86
90
  resourceInputs["metadata"] = args ? args.metadata : undefined;
87
91
  resourceInputs["spec"] = args ? args.spec : undefined;
92
+ resourceInputs["specs"] = args ? args.specs : undefined;
88
93
  resourceInputs["status"] = undefined /*out*/;
89
94
  }
90
95
  else {
@@ -92,10 +97,11 @@ class CiliumBGPNodeConfig extends pulumi.CustomResource {
92
97
  resourceInputs["kind"] = undefined /*out*/;
93
98
  resourceInputs["metadata"] = undefined /*out*/;
94
99
  resourceInputs["spec"] = undefined /*out*/;
100
+ resourceInputs["specs"] = undefined /*out*/;
95
101
  resourceInputs["status"] = undefined /*out*/;
96
102
  }
97
103
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
98
- super(CiliumBGPNodeConfig.__pulumiType, name, resourceInputs, opts);
104
+ super(CiliumNetworkPolicy.__pulumiType, name, resourceInputs, opts);
99
105
  }
100
106
  }
101
- exports.CiliumBGPNodeConfig = CiliumBGPNodeConfig;
107
+ exports.CiliumNetworkPolicy = CiliumNetworkPolicy;
@@ -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
- * CiliumBGPNodeConfigList is a list of CiliumBGPNodeConfig
5
+ * CiliumNetworkPolicyList is a list of CiliumNetworkPolicy
6
6
  */
7
- export declare class CiliumBGPNodeConfigList extends pulumi.CustomResource {
7
+ export declare class CiliumNetworkPolicyList extends pulumi.CustomResource {
8
8
  /**
9
- * Get an existing CiliumBGPNodeConfigList resource's state with the given name, ID, and optional extra
9
+ * Get an existing CiliumNetworkPolicyList 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): CiliumBGPNodeConfigList;
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumNetworkPolicyList;
17
17
  /** @internal */
18
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigList";
18
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumNetworkPolicyList";
19
19
  /**
20
- * Returns true if the given object is an instance of CiliumBGPNodeConfigList. This is designed to work even
20
+ * Returns true if the given object is an instance of CiliumNetworkPolicyList. 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 CiliumBGPNodeConfigList;
23
+ static isInstance(obj: any): obj is CiliumNetworkPolicyList;
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 ciliumbgpnodeconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
29
+ * List of ciliumnetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
30
  */
31
- readonly items: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfig[]>;
31
+ readonly items: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicy[]>;
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<"CiliumBGPNodeConfigList">;
35
+ readonly kind: pulumi.Output<"CiliumNetworkPolicyList">;
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 CiliumBGPNodeConfigList resource with the given unique name, arguments, and options.
41
+ * Create a CiliumNetworkPolicyList 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?: CiliumBGPNodeConfigListArgs, opts?: pulumi.CustomResourceOptions);
47
+ constructor(name: string, args?: CiliumNetworkPolicyListArgs, opts?: pulumi.CustomResourceOptions);
48
48
  }
49
49
  /**
50
- * The set of arguments for constructing a CiliumBGPNodeConfigList resource.
50
+ * The set of arguments for constructing a CiliumNetworkPolicyList resource.
51
51
  */
52
- export interface CiliumBGPNodeConfigListArgs {
52
+ export interface CiliumNetworkPolicyListArgs {
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 ciliumbgpnodeconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
58
+ * List of ciliumnetworkpolicies. 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.CiliumBGPNodeConfig>[]>;
60
+ items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicy>[]>;
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<"CiliumBGPNodeConfigList">;
64
+ kind?: pulumi.Input<"CiliumNetworkPolicyList">;
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.CiliumBGPNodeConfigList = void 0;
28
+ exports.CiliumNetworkPolicyList = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../../utilities"));
31
31
  /**
32
- * CiliumBGPNodeConfigList is a list of CiliumBGPNodeConfig
32
+ * CiliumNetworkPolicyList is a list of CiliumNetworkPolicy
33
33
  */
34
- class CiliumBGPNodeConfigList extends pulumi.CustomResource {
34
+ class CiliumNetworkPolicyList extends pulumi.CustomResource {
35
35
  /**
36
- * Get an existing CiliumBGPNodeConfigList resource's state with the given name, ID, and optional extra
36
+ * Get an existing CiliumNetworkPolicyList 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 CiliumBGPNodeConfigList 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 CiliumBGPNodeConfigList(name, undefined, { ...opts, id: id });
44
+ return new CiliumNetworkPolicyList(name, undefined, { ...opts, id: id });
45
45
  }
46
46
  /** @internal */
47
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigList';
47
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumNetworkPolicyList';
48
48
  /**
49
- * Returns true if the given object is an instance of CiliumBGPNodeConfigList. This is designed to work even
49
+ * Returns true if the given object is an instance of CiliumNetworkPolicyList. 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'] === CiliumBGPNodeConfigList.__pulumiType;
56
+ return obj['__pulumiType'] === CiliumNetworkPolicyList.__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 ciliumbgpnodeconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
63
+ * List of ciliumnetworkpolicies. 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 CiliumBGPNodeConfigList extends pulumi.CustomResource {
72
72
  */
73
73
  metadata;
74
74
  /**
75
- * Create a CiliumBGPNodeConfigList resource with the given unique name, arguments, and options.
75
+ * Create a CiliumNetworkPolicyList 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 CiliumBGPNodeConfigList 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"] = "CiliumBGPNodeConfigList";
90
+ resourceInputs["kind"] = "CiliumNetworkPolicyList";
91
91
  resourceInputs["metadata"] = args ? args.metadata : undefined;
92
92
  }
93
93
  else {
@@ -97,7 +97,7 @@ class CiliumBGPNodeConfigList extends pulumi.CustomResource {
97
97
  resourceInputs["metadata"] = undefined /*out*/;
98
98
  }
99
99
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- super(CiliumBGPNodeConfigList.__pulumiType, name, resourceInputs, opts);
100
+ super(CiliumNetworkPolicyList.__pulumiType, name, resourceInputs, opts);
101
101
  }
102
102
  }
103
- exports.CiliumBGPNodeConfigList = CiliumBGPNodeConfigList;
103
+ exports.CiliumNetworkPolicyList = CiliumNetworkPolicyList;
@@ -9,65 +9,72 @@ 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
- * CiliumBGPNodeConfigOverride specifies configuration overrides for a CiliumBGPNodeConfig.
13
- * It allows fine-tuning of BGP behavior on a per-node basis. For the override to be effective,
14
- * the names in CiliumBGPNodeConfigOverride and CiliumBGPNodeConfig must match exactly. This
15
- * matching ensures that specific node configurations are applied correctly and only where intended.
12
+ * CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
13
+ * version of NetworkPolicy.
16
14
  */
17
- export declare class CiliumBGPNodeConfigOverridePatch extends pulumi.CustomResource {
15
+ export declare class CiliumNetworkPolicyPatch extends pulumi.CustomResource {
18
16
  /**
19
- * Get an existing CiliumBGPNodeConfigOverridePatch resource's state with the given name, ID, and optional extra
17
+ * Get an existing CiliumNetworkPolicyPatch resource's state with the given name, ID, and optional extra
20
18
  * properties used to qualify the lookup.
21
19
  *
22
20
  * @param name The _unique_ name of the resulting resource.
23
21
  * @param id The _unique_ provider ID of the resource to lookup.
24
22
  * @param opts Optional settings to control the behavior of the CustomResource.
25
23
  */
26
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPNodeConfigOverridePatch;
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumNetworkPolicyPatch;
27
25
  /** @internal */
28
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigOverridePatch";
26
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumNetworkPolicyPatch";
29
27
  /**
30
- * Returns true if the given object is an instance of CiliumBGPNodeConfigOverridePatch. This is designed to work even
28
+ * Returns true if the given object is an instance of CiliumNetworkPolicyPatch. This is designed to work even
31
29
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
32
30
  */
33
- static isInstance(obj: any): obj is CiliumBGPNodeConfigOverridePatch;
31
+ static isInstance(obj: any): obj is CiliumNetworkPolicyPatch;
34
32
  /**
35
33
  * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
36
34
  */
37
- readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
35
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
38
36
  /**
39
37
  * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
40
38
  */
41
- readonly kind: pulumi.Output<"CiliumBGPNodeConfigOverride">;
39
+ readonly kind: pulumi.Output<"CiliumNetworkPolicy">;
42
40
  /**
43
41
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
44
42
  */
45
43
  readonly metadata: pulumi.Output<ObjectMetaPatch>;
46
- readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigOverrideSpecPatch>;
44
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpecPatch>;
47
45
  /**
48
- * Create a CiliumBGPNodeConfigOverridePatch resource with the given unique name, arguments, and options.
46
+ * Specs is a list of desired Cilium specific rule specification.
47
+ */
48
+ readonly specs: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpecsPatch[]>;
49
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicyStatusPatch>;
50
+ /**
51
+ * Create a CiliumNetworkPolicyPatch resource with the given unique name, arguments, and options.
49
52
  *
50
53
  * @param name The _unique_ name of the resource.
51
54
  * @param args The arguments to use to populate this resource's properties.
52
55
  * @param opts A bag of options that control this resource's behavior.
53
56
  */
54
- constructor(name: string, args?: CiliumBGPNodeConfigOverridePatchArgs, opts?: pulumi.CustomResourceOptions);
57
+ constructor(name: string, args?: CiliumNetworkPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
55
58
  }
56
59
  /**
57
- * The set of arguments for constructing a CiliumBGPNodeConfigOverridePatch resource.
60
+ * The set of arguments for constructing a CiliumNetworkPolicyPatch resource.
58
61
  */
59
- export interface CiliumBGPNodeConfigOverridePatchArgs {
62
+ export interface CiliumNetworkPolicyPatchArgs {
60
63
  /**
61
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
62
65
  */
63
- apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
66
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
64
67
  /**
65
68
  * 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
66
69
  */
67
- kind?: pulumi.Input<"CiliumBGPNodeConfigOverride">;
70
+ kind?: pulumi.Input<"CiliumNetworkPolicy">;
68
71
  /**
69
72
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
70
73
  */
71
74
  metadata?: pulumi.Input<ObjectMetaPatch>;
72
- spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPNodeConfigOverrideSpecPatch>;
75
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpecPatch>;
76
+ /**
77
+ * Specs is a list of desired Cilium specific rule specification.
78
+ */
79
+ specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpecsPatch>[]>;
73
80
  }