pulumi-extra-crds 1.0.0 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.crd2pulumi-checksum +1 -0
- package/.github/workflows/generate.yml +31 -28
- package/CHANGELOG.md +100 -0
- package/LICENSE +201 -0
- package/README.md +325 -0
- package/crd2pulumi.tar.gz +0 -0
- package/generated/crds/README.md +14 -0
- package/generated/crds/acme/index.d.ts +2 -0
- package/generated/crds/acme/index.js +8 -0
- package/generated/crds/acme/index.ts +11 -0
- package/generated/crds/acme/v1/challenge.d.ts +64 -0
- package/generated/crds/acme/v1/challenge.js +63 -0
- package/generated/crds/acme/v1/challenge.ts +99 -0
- package/generated/crds/acme/v1/challengeList.d.ts +69 -0
- package/generated/crds/acme/v1/challengeList.js +64 -0
- package/generated/crds/acme/v1/challengeList.ts +105 -0
- package/generated/crds/acme/v1/challengePatch.d.ts +70 -0
- package/generated/crds/acme/v1/challengePatch.js +69 -0
- package/generated/crds/acme/v1/challengePatch.ts +105 -0
- package/generated/crds/acme/v1/index.d.ts +18 -0
- package/generated/crds/acme/v1/index.js +41 -0
- package/generated/crds/acme/v1/index.ts +60 -0
- package/generated/crds/acme/v1/order.d.ts +64 -0
- package/generated/crds/acme/v1/order.js +63 -0
- package/generated/crds/acme/v1/order.ts +99 -0
- package/generated/crds/acme/v1/orderList.d.ts +69 -0
- package/generated/crds/acme/v1/orderList.js +64 -0
- package/generated/crds/acme/v1/orderList.ts +105 -0
- package/generated/crds/acme/v1/orderPatch.d.ts +70 -0
- package/generated/crds/acme/v1/orderPatch.js +69 -0
- package/generated/crds/acme/v1/orderPatch.ts +105 -0
- package/generated/crds/cert_manager/index.d.ts +2 -0
- package/generated/crds/cert_manager/index.js +8 -0
- package/generated/crds/cert_manager/index.ts +11 -0
- package/generated/crds/cert_manager/v1/certificate.d.ts +67 -0
- package/generated/crds/cert_manager/v1/certificate.js +66 -0
- package/generated/crds/cert_manager/v1/certificate.ts +102 -0
- package/generated/crds/cert_manager/v1/certificateList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/certificateList.js +64 -0
- package/generated/crds/cert_manager/v1/certificateList.ts +105 -0
- package/generated/crds/cert_manager/v1/certificatePatch.d.ts +73 -0
- package/generated/crds/cert_manager/v1/certificatePatch.js +72 -0
- package/generated/crds/cert_manager/v1/certificatePatch.ts +108 -0
- package/generated/crds/cert_manager/v1/certificateRequest.d.ts +72 -0
- package/generated/crds/cert_manager/v1/certificateRequest.js +71 -0
- package/generated/crds/cert_manager/v1/certificateRequest.ts +107 -0
- package/generated/crds/cert_manager/v1/certificateRequestList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/certificateRequestList.js +64 -0
- package/generated/crds/cert_manager/v1/certificateRequestList.ts +105 -0
- package/generated/crds/cert_manager/v1/certificateRequestPatch.d.ts +78 -0
- package/generated/crds/cert_manager/v1/certificateRequestPatch.js +77 -0
- package/generated/crds/cert_manager/v1/certificateRequestPatch.ts +113 -0
- package/generated/crds/cert_manager/v1/clusterIssuer.d.ts +68 -0
- package/generated/crds/cert_manager/v1/clusterIssuer.js +67 -0
- package/generated/crds/cert_manager/v1/clusterIssuer.ts +103 -0
- package/generated/crds/cert_manager/v1/clusterIssuerList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/clusterIssuerList.js +64 -0
- package/generated/crds/cert_manager/v1/clusterIssuerList.ts +105 -0
- package/generated/crds/cert_manager/v1/clusterIssuerPatch.d.ts +74 -0
- package/generated/crds/cert_manager/v1/clusterIssuerPatch.js +73 -0
- package/generated/crds/cert_manager/v1/clusterIssuerPatch.ts +109 -0
- package/generated/crds/cert_manager/v1/index.d.ts +36 -0
- package/generated/crds/cert_manager/v1/index.js +65 -0
- package/generated/crds/cert_manager/v1/index.ts +102 -0
- package/generated/crds/cert_manager/v1/issuer.d.ts +67 -0
- package/generated/crds/cert_manager/v1/issuer.js +66 -0
- package/generated/crds/cert_manager/v1/issuer.ts +102 -0
- package/generated/crds/cert_manager/v1/issuerList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/issuerList.js +64 -0
- package/generated/crds/cert_manager/v1/issuerList.ts +105 -0
- package/generated/crds/cert_manager/v1/issuerPatch.d.ts +73 -0
- package/generated/crds/cert_manager/v1/issuerPatch.js +72 -0
- package/generated/crds/cert_manager/v1/issuerPatch.ts +108 -0
- package/generated/crds/gateway/index.d.ts +5 -0
- package/generated/crds/gateway/index.js +14 -0
- package/generated/crds/gateway/index.ts +17 -0
- package/generated/crds/gateway/v1/gateway.d.ts +65 -0
- package/generated/crds/gateway/v1/gateway.js +66 -0
- package/generated/crds/gateway/v1/gateway.ts +102 -0
- package/generated/crds/gateway/v1/gatewayClass.d.ts +80 -0
- package/generated/crds/gateway/v1/gatewayClass.js +81 -0
- package/generated/crds/gateway/v1/gatewayClass.ts +117 -0
- package/generated/crds/gateway/v1/gatewayClassList.d.ts +69 -0
- package/generated/crds/gateway/v1/gatewayClassList.js +64 -0
- package/generated/crds/gateway/v1/gatewayClassList.ts +105 -0
- package/generated/crds/gateway/v1/gatewayClassPatch.d.ts +86 -0
- package/generated/crds/gateway/v1/gatewayClassPatch.js +87 -0
- package/generated/crds/gateway/v1/gatewayClassPatch.ts +123 -0
- package/generated/crds/gateway/v1/gatewayList.d.ts +69 -0
- package/generated/crds/gateway/v1/gatewayList.js +64 -0
- package/generated/crds/gateway/v1/gatewayList.ts +105 -0
- package/generated/crds/gateway/v1/gatewayPatch.d.ts +71 -0
- package/generated/crds/gateway/v1/gatewayPatch.js +72 -0
- package/generated/crds/gateway/v1/gatewayPatch.ts +108 -0
- package/generated/crds/gateway/v1/grpcroute.d.ts +90 -0
- package/generated/crds/gateway/v1/grpcroute.js +91 -0
- package/generated/crds/gateway/v1/grpcroute.ts +127 -0
- package/generated/crds/gateway/v1/grpcrouteList.d.ts +69 -0
- package/generated/crds/gateway/v1/grpcrouteList.js +64 -0
- package/generated/crds/gateway/v1/grpcrouteList.ts +105 -0
- package/generated/crds/gateway/v1/grpcroutePatch.d.ts +96 -0
- package/generated/crds/gateway/v1/grpcroutePatch.js +97 -0
- package/generated/crds/gateway/v1/grpcroutePatch.ts +133 -0
- package/generated/crds/gateway/v1/httproute.d.ts +67 -0
- package/generated/crds/gateway/v1/httproute.js +68 -0
- package/generated/crds/gateway/v1/httproute.ts +104 -0
- package/generated/crds/gateway/v1/httprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1/httprouteList.js +64 -0
- package/generated/crds/gateway/v1/httprouteList.ts +105 -0
- package/generated/crds/gateway/v1/httproutePatch.d.ts +73 -0
- package/generated/crds/gateway/v1/httproutePatch.js +74 -0
- package/generated/crds/gateway/v1/httproutePatch.ts +110 -0
- package/generated/crds/gateway/v1/index.d.ts +36 -0
- package/generated/crds/gateway/v1/index.js +65 -0
- package/generated/crds/gateway/v1/index.ts +102 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicy.d.ts +65 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicy.js +64 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicy.ts +100 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyList.js +64 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.d.ts +71 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.js +70 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.ts +106 -0
- package/generated/crds/gateway/v1alpha2/grpcroute.d.ts +90 -0
- package/generated/crds/gateway/v1alpha2/grpcroute.js +91 -0
- package/generated/crds/gateway/v1alpha2/grpcroute.ts +127 -0
- package/generated/crds/gateway/v1alpha2/grpcrouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/grpcrouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/grpcrouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/grpcroutePatch.d.ts +96 -0
- package/generated/crds/gateway/v1alpha2/grpcroutePatch.js +97 -0
- package/generated/crds/gateway/v1alpha2/grpcroutePatch.ts +133 -0
- package/generated/crds/gateway/v1alpha2/index.d.ts +54 -0
- package/generated/crds/gateway/v1alpha2/index.js +89 -0
- package/generated/crds/gateway/v1alpha2/index.ts +144 -0
- package/generated/crds/gateway/v1alpha2/referenceGrant.d.ts +82 -0
- package/generated/crds/gateway/v1alpha2/referenceGrant.js +82 -0
- package/generated/crds/gateway/v1alpha2/referenceGrant.ts +117 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantList.js +64 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantPatch.d.ts +88 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantPatch.js +88 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantPatch.ts +123 -0
- package/generated/crds/gateway/v1alpha2/tcproute.d.ts +66 -0
- package/generated/crds/gateway/v1alpha2/tcproute.js +65 -0
- package/generated/crds/gateway/v1alpha2/tcproute.ts +101 -0
- package/generated/crds/gateway/v1alpha2/tcprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/tcprouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/tcprouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/tcproutePatch.d.ts +72 -0
- package/generated/crds/gateway/v1alpha2/tcproutePatch.js +71 -0
- package/generated/crds/gateway/v1alpha2/tcproutePatch.ts +107 -0
- package/generated/crds/gateway/v1alpha2/tlsroute.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/tlsroute.js +68 -0
- package/generated/crds/gateway/v1alpha2/tlsroute.ts +104 -0
- package/generated/crds/gateway/v1alpha2/tlsrouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/tlsrouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/tlsrouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/tlsroutePatch.d.ts +75 -0
- package/generated/crds/gateway/v1alpha2/tlsroutePatch.js +74 -0
- package/generated/crds/gateway/v1alpha2/tlsroutePatch.ts +110 -0
- package/generated/crds/gateway/v1alpha2/udproute.d.ts +66 -0
- package/generated/crds/gateway/v1alpha2/udproute.js +65 -0
- package/generated/crds/gateway/v1alpha2/udproute.ts +101 -0
- package/generated/crds/gateway/v1alpha2/udprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/udprouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/udprouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/udproutePatch.d.ts +72 -0
- package/generated/crds/gateway/v1alpha2/udproutePatch.js +71 -0
- package/generated/crds/gateway/v1alpha2/udproutePatch.ts +107 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicy.d.ts +65 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicy.js +64 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicy.ts +100 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.js +64 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.ts +105 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +71 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.js +70 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.ts +106 -0
- package/generated/crds/gateway/v1alpha3/index.d.ts +9 -0
- package/generated/crds/gateway/v1alpha3/index.js +29 -0
- package/generated/crds/gateway/v1alpha3/index.ts +39 -0
- package/generated/crds/gateway/v1beta1/gateway.d.ts +65 -0
- package/generated/crds/gateway/v1beta1/gateway.js +66 -0
- package/generated/crds/gateway/v1beta1/gateway.ts +102 -0
- package/generated/crds/gateway/v1beta1/gatewayClass.d.ts +80 -0
- package/generated/crds/gateway/v1beta1/gatewayClass.js +81 -0
- package/generated/crds/gateway/v1beta1/gatewayClass.ts +117 -0
- package/generated/crds/gateway/v1beta1/gatewayClassList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/gatewayClassList.js +64 -0
- package/generated/crds/gateway/v1beta1/gatewayClassList.ts +105 -0
- package/generated/crds/gateway/v1beta1/gatewayClassPatch.d.ts +86 -0
- package/generated/crds/gateway/v1beta1/gatewayClassPatch.js +87 -0
- package/generated/crds/gateway/v1beta1/gatewayClassPatch.ts +123 -0
- package/generated/crds/gateway/v1beta1/gatewayList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/gatewayList.js +64 -0
- package/generated/crds/gateway/v1beta1/gatewayList.ts +105 -0
- package/generated/crds/gateway/v1beta1/gatewayPatch.d.ts +71 -0
- package/generated/crds/gateway/v1beta1/gatewayPatch.js +72 -0
- package/generated/crds/gateway/v1beta1/gatewayPatch.ts +108 -0
- package/generated/crds/gateway/v1beta1/httproute.d.ts +67 -0
- package/generated/crds/gateway/v1beta1/httproute.js +68 -0
- package/generated/crds/gateway/v1beta1/httproute.ts +104 -0
- package/generated/crds/gateway/v1beta1/httprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/httprouteList.js +64 -0
- package/generated/crds/gateway/v1beta1/httprouteList.ts +105 -0
- package/generated/crds/gateway/v1beta1/httproutePatch.d.ts +73 -0
- package/generated/crds/gateway/v1beta1/httproutePatch.js +74 -0
- package/generated/crds/gateway/v1beta1/httproutePatch.ts +110 -0
- package/generated/crds/gateway/v1beta1/index.d.ts +36 -0
- package/generated/crds/gateway/v1beta1/index.js +65 -0
- package/generated/crds/gateway/v1beta1/index.ts +102 -0
- package/generated/crds/gateway/v1beta1/referenceGrant.d.ts +78 -0
- package/generated/crds/gateway/v1beta1/referenceGrant.js +78 -0
- package/generated/crds/gateway/v1beta1/referenceGrant.ts +113 -0
- package/generated/crds/gateway/v1beta1/referenceGrantList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/referenceGrantList.js +64 -0
- package/generated/crds/gateway/v1beta1/referenceGrantList.ts +105 -0
- package/generated/crds/gateway/v1beta1/referenceGrantPatch.d.ts +84 -0
- package/generated/crds/gateway/v1beta1/referenceGrantPatch.js +84 -0
- package/generated/crds/gateway/v1beta1/referenceGrantPatch.ts +119 -0
- package/generated/crds/index.d.ts +8 -0
- package/generated/crds/index.js +27 -0
- package/generated/crds/index.ts +34 -0
- package/generated/crds/meta/v1.d.ts +3 -0
- package/generated/crds/meta/v1.js +2 -0
- package/generated/crds/meta/v1.ts +4 -0
- package/generated/crds/package.json +32 -0
- package/generated/crds/provider.d.ts +23 -0
- package/generated/crds/provider.js +37 -0
- package/generated/crds/provider.ts +44 -0
- package/generated/crds/scripts/postinstall.js +13 -0
- package/generated/crds/tsconfig.json +15 -0
- package/generated/crds/types/index.d.ts +3 -0
- package/generated/crds/types/index.js +10 -0
- package/generated/crds/types/index.ts +13 -0
- package/generated/crds/types/input.d.ts +38601 -0
- package/generated/crds/types/input.js +4 -0
- package/generated/crds/types/input.ts +39421 -0
- package/generated/crds/types/output.d.ts +42150 -0
- package/generated/crds/types/output.js +4 -0
- package/generated/crds/types/output.ts +43038 -0
- package/generated/crds/utilities.d.ts +13 -0
- package/generated/crds/utilities.js +91 -0
- package/generated/crds/utilities.ts +98 -0
- package/package.json +9 -4
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
11
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
12
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
13
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
14
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
15
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
16
|
+
* An Issuer represents a certificate issuing authority which can be
|
|
17
|
+
* referenced as part of `issuerRef` fields.
|
|
18
|
+
* It is scoped to a single namespace and can therefore only be referenced by
|
|
19
|
+
* resources within the same namespace.
|
|
20
|
+
*/
|
|
21
|
+
export class IssuerPatch extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerPatch {
|
|
31
|
+
return new IssuerPatch(name, undefined as any, { ...opts, id: id });
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerPatch';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
public static isInstance(obj: any): obj is IssuerPatch {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === IssuerPatch.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
50
|
+
*/
|
|
51
|
+
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
|
52
|
+
/**
|
|
53
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
54
|
+
*/
|
|
55
|
+
public readonly kind!: pulumi.Output<"Issuer">;
|
|
56
|
+
/**
|
|
57
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
58
|
+
*/
|
|
59
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
60
|
+
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpecPatch>;
|
|
61
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatusPatch>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Create a IssuerPatch resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args?: IssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
71
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
if (!opts.id) {
|
|
74
|
+
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
|
75
|
+
resourceInputs["kind"] = "Issuer";
|
|
76
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
77
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
78
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
79
|
+
} else {
|
|
80
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(IssuerPatch.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The set of arguments for constructing a IssuerPatch resource.
|
|
93
|
+
*/
|
|
94
|
+
export interface IssuerPatchArgs {
|
|
95
|
+
/**
|
|
96
|
+
* 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
|
|
97
|
+
*/
|
|
98
|
+
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
|
99
|
+
/**
|
|
100
|
+
* 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
|
|
101
|
+
*/
|
|
102
|
+
kind?: pulumi.Input<"Issuer">;
|
|
103
|
+
/**
|
|
104
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
105
|
+
*/
|
|
106
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
107
|
+
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpecPatch>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.v1beta1 = exports.v1alpha3 = exports.v1alpha2 = exports.v1 = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const v1 = require("./v1");
|
|
8
|
+
exports.v1 = v1;
|
|
9
|
+
const v1alpha2 = require("./v1alpha2");
|
|
10
|
+
exports.v1alpha2 = v1alpha2;
|
|
11
|
+
const v1alpha3 = require("./v1alpha3");
|
|
12
|
+
exports.v1alpha3 = v1alpha3;
|
|
13
|
+
const v1beta1 = require("./v1beta1");
|
|
14
|
+
exports.v1beta1 = v1beta1;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as utilities from "../utilities";
|
|
5
|
+
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
import * as v1 from "./v1";
|
|
8
|
+
import * as v1alpha2 from "./v1alpha2";
|
|
9
|
+
import * as v1alpha3 from "./v1alpha3";
|
|
10
|
+
import * as v1beta1 from "./v1beta1";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
v1,
|
|
14
|
+
v1alpha2,
|
|
15
|
+
v1alpha3,
|
|
16
|
+
v1beta1,
|
|
17
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
6
|
+
* by binding Listeners to a set of IP addresses.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Gateway extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gateway;
|
|
18
|
+
/** @internal */
|
|
19
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:Gateway";
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj: any): obj is Gateway;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
29
|
+
/**
|
|
30
|
+
* 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
|
+
readonly kind: pulumi.Output<"Gateway">;
|
|
33
|
+
/**
|
|
34
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
35
|
+
*/
|
|
36
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
37
|
+
readonly spec: pulumi.Output<outputs.gateway.v1.GatewaySpec>;
|
|
38
|
+
readonly status: pulumi.Output<outputs.gateway.v1.GatewayStatus>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args?: GatewayArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a Gateway resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface GatewayArgs {
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
56
|
+
/**
|
|
57
|
+
* 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
|
+
kind?: pulumi.Input<"Gateway">;
|
|
60
|
+
/**
|
|
61
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
62
|
+
*/
|
|
63
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
64
|
+
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpec>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Gateway = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
10
|
+
* by binding Listeners to a set of IP addresses.
|
|
11
|
+
*/
|
|
12
|
+
class Gateway extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, opts) {
|
|
22
|
+
return new Gateway(name, undefined, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Gateway.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name, args, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (!opts.id) {
|
|
45
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
46
|
+
resourceInputs["kind"] = "Gateway";
|
|
47
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
48
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
49
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway" }] };
|
|
60
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
61
|
+
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.Gateway = Gateway;
|
|
65
|
+
/** @internal */
|
|
66
|
+
Gateway.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:Gateway';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
11
|
+
* by binding Listeners to a set of IP addresses.
|
|
12
|
+
*/
|
|
13
|
+
export class Gateway extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gateway {
|
|
23
|
+
return new Gateway(name, undefined as any, { ...opts, id: id });
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:Gateway';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
public static isInstance(obj: any): obj is Gateway {
|
|
34
|
+
if (obj === undefined || obj === null) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
return obj['__pulumiType'] === Gateway.__pulumiType;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 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
|
|
42
|
+
*/
|
|
43
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
44
|
+
/**
|
|
45
|
+
* 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
|
|
46
|
+
*/
|
|
47
|
+
public readonly kind!: pulumi.Output<"Gateway">;
|
|
48
|
+
/**
|
|
49
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
50
|
+
*/
|
|
51
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
52
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewaySpec>;
|
|
53
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayStatus>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args?: GatewayArgs, opts?: pulumi.CustomResourceOptions) {
|
|
63
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (!opts.id) {
|
|
66
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
67
|
+
resourceInputs["kind"] = "Gateway";
|
|
68
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
69
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
70
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
71
|
+
} else {
|
|
72
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway" }] };
|
|
80
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
81
|
+
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a Gateway resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface GatewayArgs {
|
|
89
|
+
/**
|
|
90
|
+
* 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
|
|
91
|
+
*/
|
|
92
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
93
|
+
/**
|
|
94
|
+
* 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
|
|
95
|
+
*/
|
|
96
|
+
kind?: pulumi.Input<"Gateway">;
|
|
97
|
+
/**
|
|
98
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
99
|
+
*/
|
|
100
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
101
|
+
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpec>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* GatewayClass describes a class of Gateways available to the user for creating
|
|
6
|
+
* Gateway resources.
|
|
7
|
+
*
|
|
8
|
+
* It is recommended that this resource be used as a template for Gateways. This
|
|
9
|
+
* means that a Gateway is based on the state of the GatewayClass at the time it
|
|
10
|
+
* was created and changes to the GatewayClass or associated parameters are not
|
|
11
|
+
* propagated down to existing Gateways. This recommendation is intended to
|
|
12
|
+
* limit the blast radius of changes to GatewayClass or associated parameters.
|
|
13
|
+
* If implementations choose to propagate GatewayClass changes to existing
|
|
14
|
+
* Gateways, that MUST be clearly documented by the implementation.
|
|
15
|
+
*
|
|
16
|
+
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
|
17
|
+
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
|
18
|
+
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
|
19
|
+
* Gateway is not deleted while in use.
|
|
20
|
+
*
|
|
21
|
+
* GatewayClass is a Cluster level resource.
|
|
22
|
+
*/
|
|
23
|
+
export declare class GatewayClass extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass;
|
|
33
|
+
/** @internal */
|
|
34
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayClass";
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is GatewayClass;
|
|
40
|
+
/**
|
|
41
|
+
* 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
|
|
42
|
+
*/
|
|
43
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
44
|
+
/**
|
|
45
|
+
* 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
|
|
46
|
+
*/
|
|
47
|
+
readonly kind: pulumi.Output<"GatewayClass">;
|
|
48
|
+
/**
|
|
49
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
50
|
+
*/
|
|
51
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
52
|
+
readonly spec: pulumi.Output<outputs.gateway.v1.GatewayClassSpec>;
|
|
53
|
+
readonly status: pulumi.Output<outputs.gateway.v1.GatewayClassStatus>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The set of arguments for constructing a GatewayClass resource.
|
|
65
|
+
*/
|
|
66
|
+
export interface GatewayClassArgs {
|
|
67
|
+
/**
|
|
68
|
+
* 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
|
+
*/
|
|
70
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
71
|
+
/**
|
|
72
|
+
* 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
|
|
73
|
+
*/
|
|
74
|
+
kind?: pulumi.Input<"GatewayClass">;
|
|
75
|
+
/**
|
|
76
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
77
|
+
*/
|
|
78
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
79
|
+
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpec>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.GatewayClass = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* GatewayClass describes a class of Gateways available to the user for creating
|
|
10
|
+
* Gateway resources.
|
|
11
|
+
*
|
|
12
|
+
* It is recommended that this resource be used as a template for Gateways. This
|
|
13
|
+
* means that a Gateway is based on the state of the GatewayClass at the time it
|
|
14
|
+
* was created and changes to the GatewayClass or associated parameters are not
|
|
15
|
+
* propagated down to existing Gateways. This recommendation is intended to
|
|
16
|
+
* limit the blast radius of changes to GatewayClass or associated parameters.
|
|
17
|
+
* If implementations choose to propagate GatewayClass changes to existing
|
|
18
|
+
* Gateways, that MUST be clearly documented by the implementation.
|
|
19
|
+
*
|
|
20
|
+
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
|
21
|
+
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
|
22
|
+
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
|
23
|
+
* Gateway is not deleted while in use.
|
|
24
|
+
*
|
|
25
|
+
* GatewayClass is a Cluster level resource.
|
|
26
|
+
*/
|
|
27
|
+
class GatewayClass extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name, id, opts) {
|
|
37
|
+
return new GatewayClass(name, undefined, { ...opts, id: id });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === GatewayClass.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name, args, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (!opts.id) {
|
|
60
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
61
|
+
resourceInputs["kind"] = "GatewayClass";
|
|
62
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
63
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
64
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass" }] };
|
|
75
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
76
|
+
super(GatewayClass.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.GatewayClass = GatewayClass;
|
|
80
|
+
/** @internal */
|
|
81
|
+
GatewayClass.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClass';
|