@kilic.dev/pulumi-k8s-crds 2.0.7 → 2.0.8

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 (51) hide show
  1. package/dist/cilium/v2alpha1/index.d.ts +0 -9
  2. package/dist/cilium/v2alpha1/index.js +1 -13
  3. package/dist/external_secrets/v1/externalSecret.d.ts +1 -0
  4. package/dist/external_secrets/v1/externalSecret.js +1 -0
  5. package/dist/external_secrets/v1/externalSecretPatch.d.ts +1 -0
  6. package/dist/external_secrets/v1/externalSecretPatch.js +1 -0
  7. package/dist/external_secrets/v1alpha1/clusterPushSecret.d.ts +3 -0
  8. package/dist/external_secrets/v1alpha1/clusterPushSecret.js +3 -0
  9. package/dist/external_secrets/v1alpha1/clusterPushSecretPatch.d.ts +1 -0
  10. package/dist/external_secrets/v1alpha1/clusterPushSecretPatch.js +1 -0
  11. package/dist/external_secrets/v1alpha1/pushSecret.d.ts +3 -0
  12. package/dist/external_secrets/v1alpha1/pushSecret.js +3 -0
  13. package/dist/external_secrets/v1alpha1/pushSecretPatch.d.ts +1 -0
  14. package/dist/external_secrets/v1alpha1/pushSecretPatch.js +1 -0
  15. package/dist/external_secrets/v1beta1/clusterExternalSecret.d.ts +1 -1
  16. package/dist/external_secrets/v1beta1/clusterExternalSecret.js +1 -1
  17. package/dist/external_secrets/v1beta1/clusterExternalSecretPatch.d.ts +1 -1
  18. package/dist/external_secrets/v1beta1/clusterExternalSecretPatch.js +1 -1
  19. package/dist/external_secrets/v1beta1/externalSecret.d.ts +1 -1
  20. package/dist/external_secrets/v1beta1/externalSecret.js +1 -1
  21. package/dist/external_secrets/v1beta1/externalSecretPatch.d.ts +1 -1
  22. package/dist/external_secrets/v1beta1/externalSecretPatch.js +1 -1
  23. package/dist/externaldns/index.d.ts +2 -0
  24. package/dist/externaldns/index.js +41 -0
  25. package/dist/externaldns/v1alpha1/dnsendpoint.d.ts +66 -0
  26. package/dist/{cilium/v2alpha1/ciliumBGPPeeringPolicy.js → externaldns/v1alpha1/dnsendpoint.js} +17 -14
  27. package/dist/{cilium/v2alpha1/ciliumBGPPeeringPolicyList.d.ts → externaldns/v1alpha1/dnsendpointList.d.ts} +19 -19
  28. package/dist/{cilium/v2alpha1/ciliumBGPPeeringPolicyList.js → externaldns/v1alpha1/dnsendpointList.js} +14 -14
  29. package/dist/externaldns/v1alpha1/dnsendpointPatch.d.ts +72 -0
  30. package/dist/{cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.js → externaldns/v1alpha1/dnsendpointPatch.js} +17 -14
  31. package/dist/externaldns/v1alpha1/index.d.ts +9 -0
  32. package/dist/externaldns/v1alpha1/index.js +62 -0
  33. package/dist/{cilium/v2alpha1/ciliumBGPPeeringPolicy.d.ts → gateway/v1/backendTLSPolicy.d.ts} +19 -18
  34. package/dist/gateway/v1/backendTLSPolicy.js +113 -0
  35. package/dist/gateway/v1/backendTLSPolicyList.d.ts +69 -0
  36. package/dist/gateway/v1/backendTLSPolicyList.js +113 -0
  37. package/dist/{cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts → gateway/v1/backendTLSPolicyPatch.d.ts} +19 -18
  38. package/dist/gateway/v1/backendTLSPolicyPatch.js +119 -0
  39. package/dist/gateway/v1/index.d.ts +9 -0
  40. package/dist/gateway/v1/index.js +13 -1
  41. package/dist/gateway/v1alpha3/backendTLSPolicy.js +2 -0
  42. package/dist/gateway/v1alpha3/backendTLSPolicyPatch.js +2 -0
  43. package/dist/index.d.ts +2 -1
  44. package/dist/index.js +3 -1
  45. package/dist/postgresql/v1/cluster.d.ts +2 -1
  46. package/dist/postgresql/v1/cluster.js +2 -1
  47. package/dist/postgresql/v1/clusterPatch.d.ts +2 -1
  48. package/dist/postgresql/v1/clusterPatch.js +2 -1
  49. package/dist/types/input.d.ts +10176 -3724
  50. package/dist/types/output.d.ts +10903 -3933
  51. package/package.json +1 -1
@@ -35,15 +35,15 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  };
36
36
  })();
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CiliumBGPPeeringPolicyList = void 0;
38
+ exports.DNSEndpointList = void 0;
39
39
  const pulumi = __importStar(require("@pulumi/pulumi"));
40
40
  const utilities = __importStar(require("../../utilities"));
41
41
  /**
42
- * CiliumBGPPeeringPolicyList is a list of CiliumBGPPeeringPolicy
42
+ * DNSEndpointList is a list of DNSEndpoint
43
43
  */
44
- class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
44
+ class DNSEndpointList extends pulumi.CustomResource {
45
45
  /**
46
- * Get an existing CiliumBGPPeeringPolicyList resource's state with the given name, ID, and optional extra
46
+ * Get an existing DNSEndpointList resource's state with the given name, ID, and optional extra
47
47
  * properties used to qualify the lookup.
48
48
  *
49
49
  * @param name The _unique_ name of the resulting resource.
@@ -51,26 +51,26 @@ class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
51
51
  * @param opts Optional settings to control the behavior of the CustomResource.
52
52
  */
53
53
  static get(name, id, opts) {
54
- return new CiliumBGPPeeringPolicyList(name, undefined, { ...opts, id: id });
54
+ return new DNSEndpointList(name, undefined, { ...opts, id: id });
55
55
  }
56
56
  /** @internal */
57
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyList';
57
+ static __pulumiType = 'kubernetes:externaldns.k8s.io/v1alpha1:DNSEndpointList';
58
58
  /**
59
- * Returns true if the given object is an instance of CiliumBGPPeeringPolicyList. This is designed to work even
59
+ * Returns true if the given object is an instance of DNSEndpointList. This is designed to work even
60
60
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
61
  */
62
62
  static isInstance(obj) {
63
63
  if (obj === undefined || obj === null) {
64
64
  return false;
65
65
  }
66
- return obj['__pulumiType'] === CiliumBGPPeeringPolicyList.__pulumiType;
66
+ return obj['__pulumiType'] === DNSEndpointList.__pulumiType;
67
67
  }
68
68
  /**
69
69
  * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
70
70
  */
71
71
  apiVersion;
72
72
  /**
73
- * List of ciliumbgppeeringpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
73
+ * List of dnsendpoints. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
74
74
  */
75
75
  items;
76
76
  /**
@@ -82,7 +82,7 @@ class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
82
82
  */
83
83
  metadata;
84
84
  /**
85
- * Create a CiliumBGPPeeringPolicyList resource with the given unique name, arguments, and options.
85
+ * Create a DNSEndpointList resource with the given unique name, arguments, and options.
86
86
  *
87
87
  * @param name The _unique_ name of the resource.
88
88
  * @param args The arguments to use to populate this resource's properties.
@@ -95,9 +95,9 @@ class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
95
95
  if ((!args || args.items === undefined) && !opts.urn) {
96
96
  throw new Error("Missing required property 'items'");
97
97
  }
98
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
98
+ resourceInputs["apiVersion"] = "externaldns.k8s.io/v1alpha1";
99
99
  resourceInputs["items"] = args ? args.items : undefined;
100
- resourceInputs["kind"] = "CiliumBGPPeeringPolicyList";
100
+ resourceInputs["kind"] = "DNSEndpointList";
101
101
  resourceInputs["metadata"] = args ? args.metadata : undefined;
102
102
  }
103
103
  else {
@@ -107,7 +107,7 @@ class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
107
107
  resourceInputs["metadata"] = undefined /*out*/;
108
108
  }
109
109
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
110
- super(CiliumBGPPeeringPolicyList.__pulumiType, name, resourceInputs, opts);
110
+ super(DNSEndpointList.__pulumiType, name, resourceInputs, opts);
111
111
  }
112
112
  }
113
- exports.CiliumBGPPeeringPolicyList = CiliumBGPPeeringPolicyList;
113
+ exports.DNSEndpointList = DNSEndpointList;
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { ObjectMetaPatch } from "../../meta/v1";
5
+ /**
6
+ * Patch resources are used to modify existing Kubernetes resources by using
7
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
8
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
9
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
10
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
11
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
12
+ * DNSEndpoint is a contract that a user-specified CRD must implement to be used as a source for external-dns.
13
+ * The user-specified CRD should also have the status sub-resource.
14
+ */
15
+ export declare class DNSEndpointPatch extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing DNSEndpointPatch resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DNSEndpointPatch;
25
+ /** @internal */
26
+ static readonly __pulumiType = "kubernetes:externaldns.k8s.io/v1alpha1:DNSEndpointPatch";
27
+ /**
28
+ * Returns true if the given object is an instance of DNSEndpointPatch. This is designed to work even
29
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
+ */
31
+ static isInstance(obj: any): obj is DNSEndpointPatch;
32
+ /**
33
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
34
+ */
35
+ readonly apiVersion: pulumi.Output<"externaldns.k8s.io/v1alpha1">;
36
+ /**
37
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly kind: pulumi.Output<"DNSEndpoint">;
40
+ /**
41
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
+ */
43
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
44
+ readonly spec: pulumi.Output<outputs.externaldns.v1alpha1.DNSEndpointSpecPatch>;
45
+ readonly status: pulumi.Output<outputs.externaldns.v1alpha1.DNSEndpointStatusPatch>;
46
+ /**
47
+ * Create a DNSEndpointPatch resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: DNSEndpointPatchArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a DNSEndpointPatch resource.
57
+ */
58
+ export interface DNSEndpointPatchArgs {
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
61
+ */
62
+ apiVersion?: pulumi.Input<"externaldns.k8s.io/v1alpha1">;
63
+ /**
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
+ */
66
+ kind?: pulumi.Input<"DNSEndpoint">;
67
+ /**
68
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
69
+ */
70
+ metadata?: pulumi.Input<ObjectMetaPatch>;
71
+ spec?: pulumi.Input<inputs.externaldns.v1alpha1.DNSEndpointSpecPatch>;
72
+ }
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  };
36
36
  })();
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CiliumBGPPeeringPolicyPatch = void 0;
38
+ exports.DNSEndpointPatch = void 0;
39
39
  const pulumi = __importStar(require("@pulumi/pulumi"));
40
40
  const utilities = __importStar(require("../../utilities"));
41
41
  /**
@@ -45,12 +45,12 @@ const utilities = __importStar(require("../../utilities"));
45
45
  * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
46
46
  * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
47
47
  * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
48
- * CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
49
- * Cilium's BGP control plane to create virtual BGP routers.
48
+ * DNSEndpoint is a contract that a user-specified CRD must implement to be used as a source for external-dns.
49
+ * The user-specified CRD should also have the status sub-resource.
50
50
  */
51
- class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
51
+ class DNSEndpointPatch extends pulumi.CustomResource {
52
52
  /**
53
- * Get an existing CiliumBGPPeeringPolicyPatch resource's state with the given name, ID, and optional extra
53
+ * Get an existing DNSEndpointPatch resource's state with the given name, ID, and optional extra
54
54
  * properties used to qualify the lookup.
55
55
  *
56
56
  * @param name The _unique_ name of the resulting resource.
@@ -58,19 +58,19 @@ class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
58
58
  * @param opts Optional settings to control the behavior of the CustomResource.
59
59
  */
60
60
  static get(name, id, opts) {
61
- return new CiliumBGPPeeringPolicyPatch(name, undefined, { ...opts, id: id });
61
+ return new DNSEndpointPatch(name, undefined, { ...opts, id: id });
62
62
  }
63
63
  /** @internal */
64
- static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyPatch';
64
+ static __pulumiType = 'kubernetes:externaldns.k8s.io/v1alpha1:DNSEndpointPatch';
65
65
  /**
66
- * Returns true if the given object is an instance of CiliumBGPPeeringPolicyPatch. This is designed to work even
66
+ * Returns true if the given object is an instance of DNSEndpointPatch. This is designed to work even
67
67
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
68
  */
69
69
  static isInstance(obj) {
70
70
  if (obj === undefined || obj === null) {
71
71
  return false;
72
72
  }
73
- return obj['__pulumiType'] === CiliumBGPPeeringPolicyPatch.__pulumiType;
73
+ return obj['__pulumiType'] === DNSEndpointPatch.__pulumiType;
74
74
  }
75
75
  /**
76
76
  * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
@@ -85,8 +85,9 @@ class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
85
85
  */
86
86
  metadata;
87
87
  spec;
88
+ status;
88
89
  /**
89
- * Create a CiliumBGPPeeringPolicyPatch resource with the given unique name, arguments, and options.
90
+ * Create a DNSEndpointPatch resource with the given unique name, arguments, and options.
90
91
  *
91
92
  * @param name The _unique_ name of the resource.
92
93
  * @param args The arguments to use to populate this resource's properties.
@@ -96,19 +97,21 @@ class CiliumBGPPeeringPolicyPatch extends pulumi.CustomResource {
96
97
  let resourceInputs = {};
97
98
  opts = opts || {};
98
99
  if (!opts.id) {
99
- resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
100
- resourceInputs["kind"] = "CiliumBGPPeeringPolicy";
100
+ resourceInputs["apiVersion"] = "externaldns.k8s.io/v1alpha1";
101
+ resourceInputs["kind"] = "DNSEndpoint";
101
102
  resourceInputs["metadata"] = args ? args.metadata : undefined;
102
103
  resourceInputs["spec"] = args ? args.spec : undefined;
104
+ resourceInputs["status"] = undefined /*out*/;
103
105
  }
104
106
  else {
105
107
  resourceInputs["apiVersion"] = undefined /*out*/;
106
108
  resourceInputs["kind"] = undefined /*out*/;
107
109
  resourceInputs["metadata"] = undefined /*out*/;
108
110
  resourceInputs["spec"] = undefined /*out*/;
111
+ resourceInputs["status"] = undefined /*out*/;
109
112
  }
110
113
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
111
- super(CiliumBGPPeeringPolicyPatch.__pulumiType, name, resourceInputs, opts);
114
+ super(DNSEndpointPatch.__pulumiType, name, resourceInputs, opts);
112
115
  }
113
116
  }
114
- exports.CiliumBGPPeeringPolicyPatch = CiliumBGPPeeringPolicyPatch;
117
+ exports.DNSEndpointPatch = DNSEndpointPatch;
@@ -0,0 +1,9 @@
1
+ export { DNSEndpointArgs } from "./dnsendpoint";
2
+ export type DNSEndpoint = import("./dnsendpoint").DNSEndpoint;
3
+ export declare const DNSEndpoint: typeof import("./dnsendpoint").DNSEndpoint;
4
+ export { DNSEndpointListArgs } from "./dnsendpointList";
5
+ export type DNSEndpointList = import("./dnsendpointList").DNSEndpointList;
6
+ export declare const DNSEndpointList: typeof import("./dnsendpointList").DNSEndpointList;
7
+ export { DNSEndpointPatchArgs } from "./dnsendpointPatch";
8
+ export type DNSEndpointPatch = import("./dnsendpointPatch").DNSEndpointPatch;
9
+ export declare const DNSEndpointPatch: typeof import("./dnsendpointPatch").DNSEndpointPatch;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.DNSEndpointPatch = exports.DNSEndpointList = exports.DNSEndpoint = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ exports.DNSEndpoint = null;
42
+ utilities.lazyLoad(exports, ["DNSEndpoint"], () => require("./dnsendpoint"));
43
+ exports.DNSEndpointList = null;
44
+ utilities.lazyLoad(exports, ["DNSEndpointList"], () => require("./dnsendpointList"));
45
+ exports.DNSEndpointPatch = null;
46
+ utilities.lazyLoad(exports, ["DNSEndpointPatch"], () => require("./dnsendpointPatch"));
47
+ const _module = {
48
+ version: utilities.getVersion(),
49
+ construct: (name, type, urn) => {
50
+ switch (type) {
51
+ case "kubernetes:externaldns.k8s.io/v1alpha1:DNSEndpoint":
52
+ return new exports.DNSEndpoint(name, undefined, { urn });
53
+ case "kubernetes:externaldns.k8s.io/v1alpha1:DNSEndpointList":
54
+ return new exports.DNSEndpointList(name, undefined, { urn });
55
+ case "kubernetes:externaldns.k8s.io/v1alpha1:DNSEndpointPatch":
56
+ return new exports.DNSEndpointPatch(name, undefined, { urn });
57
+ default:
58
+ throw new Error(`unknown resource type ${type}`);
59
+ }
60
+ },
61
+ };
62
+ pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "externaldns.k8s.io/v1alpha1", _module);
@@ -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
- * CiliumBGPPeeringPolicy is a Kubernetes third-party resource for instructing
7
- * Cilium's BGP control plane to create virtual BGP routers.
6
+ * BackendTLSPolicy provides a way to configure how a Gateway
7
+ * connects to a Backend via TLS.
8
8
  */
9
- export declare class CiliumBGPPeeringPolicy extends pulumi.CustomResource {
9
+ export declare class BackendTLSPolicy extends pulumi.CustomResource {
10
10
  /**
11
- * Get an existing CiliumBGPPeeringPolicy resource's state with the given name, ID, and optional extra
11
+ * Get an existing BackendTLSPolicy 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): CiliumBGPPeeringPolicy;
18
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicy;
19
19
  /** @internal */
20
- static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicy";
20
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy";
21
21
  /**
22
- * Returns true if the given object is an instance of CiliumBGPPeeringPolicy. This is designed to work even
22
+ * Returns true if the given object is an instance of BackendTLSPolicy. 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 CiliumBGPPeeringPolicy;
25
+ static isInstance(obj: any): obj is BackendTLSPolicy;
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<"gateway.networking.k8s.io/v1">;
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<"CiliumBGPPeeringPolicy">;
33
+ readonly kind: pulumi.Output<"BackendTLSPolicy">;
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.CiliumBGPPeeringPolicySpec>;
38
+ readonly spec: pulumi.Output<outputs.gateway.v1.BackendTLSPolicySpec>;
39
+ readonly status: pulumi.Output<outputs.gateway.v1.BackendTLSPolicyStatus>;
39
40
  /**
40
- * Create a CiliumBGPPeeringPolicy resource with the given unique name, arguments, and options.
41
+ * Create a BackendTLSPolicy 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?: CiliumBGPPeeringPolicyArgs, opts?: pulumi.CustomResourceOptions);
47
+ constructor(name: string, args?: BackendTLSPolicyArgs, opts?: pulumi.CustomResourceOptions);
47
48
  }
48
49
  /**
49
- * The set of arguments for constructing a CiliumBGPPeeringPolicy resource.
50
+ * The set of arguments for constructing a BackendTLSPolicy resource.
50
51
  */
51
- export interface CiliumBGPPeeringPolicyArgs {
52
+ export interface BackendTLSPolicyArgs {
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<"gateway.networking.k8s.io/v1">;
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<"CiliumBGPPeeringPolicy">;
60
+ kind?: pulumi.Input<"BackendTLSPolicy">;
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.CiliumBGPPeeringPolicySpec>;
65
+ spec?: pulumi.Input<inputs.gateway.v1.BackendTLSPolicySpec>;
65
66
  }
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.BackendTLSPolicy = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * BackendTLSPolicy provides a way to configure how a Gateway
43
+ * connects to a Backend via TLS.
44
+ */
45
+ class BackendTLSPolicy extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing BackendTLSPolicy resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, opts) {
55
+ return new BackendTLSPolicy(name, undefined, { ...opts, id: id });
56
+ }
57
+ /** @internal */
58
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy';
59
+ /**
60
+ * Returns true if the given object is an instance of BackendTLSPolicy. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj) {
64
+ if (obj === undefined || obj === null) {
65
+ return false;
66
+ }
67
+ return obj['__pulumiType'] === BackendTLSPolicy.__pulumiType;
68
+ }
69
+ /**
70
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
71
+ */
72
+ apiVersion;
73
+ /**
74
+ * 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
75
+ */
76
+ kind;
77
+ /**
78
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
79
+ */
80
+ metadata;
81
+ spec;
82
+ status;
83
+ /**
84
+ * Create a BackendTLSPolicy resource with the given unique name, arguments, and options.
85
+ *
86
+ * @param name The _unique_ name of the resource.
87
+ * @param args The arguments to use to populate this resource's properties.
88
+ * @param opts A bag of options that control this resource's behavior.
89
+ */
90
+ constructor(name, args, opts) {
91
+ let resourceInputs = {};
92
+ opts = opts || {};
93
+ if (!opts.id) {
94
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
95
+ resourceInputs["kind"] = "BackendTLSPolicy";
96
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
97
+ resourceInputs["spec"] = args ? args.spec : undefined;
98
+ resourceInputs["status"] = undefined /*out*/;
99
+ }
100
+ else {
101
+ resourceInputs["apiVersion"] = undefined /*out*/;
102
+ resourceInputs["kind"] = undefined /*out*/;
103
+ resourceInputs["metadata"] = undefined /*out*/;
104
+ resourceInputs["spec"] = undefined /*out*/;
105
+ resourceInputs["status"] = undefined /*out*/;
106
+ }
107
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
108
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy" }] };
109
+ opts = pulumi.mergeOptions(opts, aliasOpts);
110
+ super(BackendTLSPolicy.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.BackendTLSPolicy = BackendTLSPolicy;
@@ -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
+ * BackendTLSPolicyList is a list of BackendTLSPolicy
6
+ */
7
+ export declare class BackendTLSPolicyList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing BackendTLSPolicyList 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): BackendTLSPolicyList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyList";
19
+ /**
20
+ * Returns true if the given object is an instance of BackendTLSPolicyList. 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 BackendTLSPolicyList;
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<"gateway.networking.k8s.io/v1">;
28
+ /**
29
+ * List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.gateway.v1.BackendTLSPolicy[]>;
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<"BackendTLSPolicyList">;
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 BackendTLSPolicyList 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?: BackendTLSPolicyListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a BackendTLSPolicyList resource.
51
+ */
52
+ export interface BackendTLSPolicyListArgs {
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<"gateway.networking.k8s.io/v1">;
57
+ /**
58
+ * List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.BackendTLSPolicy>[]>;
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<"BackendTLSPolicyList">;
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
+ }