@highstate/cert-manager 0.4.5

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 (122) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +14 -0
  3. package/acme/index.ts +11 -0
  4. package/acme/v1/challenge.ts +101 -0
  5. package/acme/v1/challengeList.ts +107 -0
  6. package/acme/v1/challengePatch.ts +107 -0
  7. package/acme/v1/index.ts +60 -0
  8. package/acme/v1/order.ts +101 -0
  9. package/acme/v1/orderList.ts +107 -0
  10. package/acme/v1/orderPatch.ts +107 -0
  11. package/bin/acme/index.d.ts +2 -0
  12. package/bin/acme/index.js +9 -0
  13. package/bin/acme/index.js.map +1 -0
  14. package/bin/acme/v1/challenge.d.ts +63 -0
  15. package/bin/acme/v1/challenge.js +64 -0
  16. package/bin/acme/v1/challenge.js.map +1 -0
  17. package/bin/acme/v1/challengeList.d.ts +67 -0
  18. package/bin/acme/v1/challengeList.js +65 -0
  19. package/bin/acme/v1/challengeList.js.map +1 -0
  20. package/bin/acme/v1/challengePatch.d.ts +69 -0
  21. package/bin/acme/v1/challengePatch.js +70 -0
  22. package/bin/acme/v1/challengePatch.js.map +1 -0
  23. package/bin/acme/v1/index.d.ts +18 -0
  24. package/bin/acme/v1/index.js +42 -0
  25. package/bin/acme/v1/index.js.map +1 -0
  26. package/bin/acme/v1/order.d.ts +63 -0
  27. package/bin/acme/v1/order.js +64 -0
  28. package/bin/acme/v1/order.js.map +1 -0
  29. package/bin/acme/v1/orderList.d.ts +67 -0
  30. package/bin/acme/v1/orderList.js +65 -0
  31. package/bin/acme/v1/orderList.js.map +1 -0
  32. package/bin/acme/v1/orderPatch.d.ts +69 -0
  33. package/bin/acme/v1/orderPatch.js +70 -0
  34. package/bin/acme/v1/orderPatch.js.map +1 -0
  35. package/bin/cert_manager/index.d.ts +2 -0
  36. package/bin/cert_manager/index.js +9 -0
  37. package/bin/cert_manager/index.js.map +1 -0
  38. package/bin/cert_manager/v1/certificate.d.ts +66 -0
  39. package/bin/cert_manager/v1/certificate.js +67 -0
  40. package/bin/cert_manager/v1/certificate.js.map +1 -0
  41. package/bin/cert_manager/v1/certificateList.d.ts +67 -0
  42. package/bin/cert_manager/v1/certificateList.js +65 -0
  43. package/bin/cert_manager/v1/certificateList.js.map +1 -0
  44. package/bin/cert_manager/v1/certificatePatch.d.ts +72 -0
  45. package/bin/cert_manager/v1/certificatePatch.js +73 -0
  46. package/bin/cert_manager/v1/certificatePatch.js.map +1 -0
  47. package/bin/cert_manager/v1/certificateRequest.d.ts +71 -0
  48. package/bin/cert_manager/v1/certificateRequest.js +72 -0
  49. package/bin/cert_manager/v1/certificateRequest.js.map +1 -0
  50. package/bin/cert_manager/v1/certificateRequestList.d.ts +67 -0
  51. package/bin/cert_manager/v1/certificateRequestList.js +65 -0
  52. package/bin/cert_manager/v1/certificateRequestList.js.map +1 -0
  53. package/bin/cert_manager/v1/certificateRequestPatch.d.ts +77 -0
  54. package/bin/cert_manager/v1/certificateRequestPatch.js +78 -0
  55. package/bin/cert_manager/v1/certificateRequestPatch.js.map +1 -0
  56. package/bin/cert_manager/v1/clusterIssuer.d.ts +67 -0
  57. package/bin/cert_manager/v1/clusterIssuer.js +68 -0
  58. package/bin/cert_manager/v1/clusterIssuer.js.map +1 -0
  59. package/bin/cert_manager/v1/clusterIssuerList.d.ts +67 -0
  60. package/bin/cert_manager/v1/clusterIssuerList.js +65 -0
  61. package/bin/cert_manager/v1/clusterIssuerList.js.map +1 -0
  62. package/bin/cert_manager/v1/clusterIssuerPatch.d.ts +73 -0
  63. package/bin/cert_manager/v1/clusterIssuerPatch.js +74 -0
  64. package/bin/cert_manager/v1/clusterIssuerPatch.js.map +1 -0
  65. package/bin/cert_manager/v1/index.d.ts +36 -0
  66. package/bin/cert_manager/v1/index.js +66 -0
  67. package/bin/cert_manager/v1/index.js.map +1 -0
  68. package/bin/cert_manager/v1/issuer.d.ts +66 -0
  69. package/bin/cert_manager/v1/issuer.js +67 -0
  70. package/bin/cert_manager/v1/issuer.js.map +1 -0
  71. package/bin/cert_manager/v1/issuerList.d.ts +67 -0
  72. package/bin/cert_manager/v1/issuerList.js +65 -0
  73. package/bin/cert_manager/v1/issuerList.js.map +1 -0
  74. package/bin/cert_manager/v1/issuerPatch.d.ts +72 -0
  75. package/bin/cert_manager/v1/issuerPatch.js +73 -0
  76. package/bin/cert_manager/v1/issuerPatch.js.map +1 -0
  77. package/bin/index.d.ts +7 -0
  78. package/bin/index.js +26 -0
  79. package/bin/index.js.map +1 -0
  80. package/bin/meta/v1.d.ts +3 -0
  81. package/bin/meta/v1.js +3 -0
  82. package/bin/meta/v1.js.map +1 -0
  83. package/bin/package.json +42 -0
  84. package/bin/provider.d.ts +21 -0
  85. package/bin/provider.js +38 -0
  86. package/bin/provider.js.map +1 -0
  87. package/bin/types/index.d.ts +3 -0
  88. package/bin/types/index.js +11 -0
  89. package/bin/types/index.js.map +1 -0
  90. package/bin/types/input.d.ts +20729 -0
  91. package/bin/types/input.js +5 -0
  92. package/bin/types/input.js.map +1 -0
  93. package/bin/types/output.d.ts +21177 -0
  94. package/bin/types/output.js +5 -0
  95. package/bin/types/output.js.map +1 -0
  96. package/bin/utilities.d.ts +8 -0
  97. package/bin/utilities.js +102 -0
  98. package/bin/utilities.js.map +1 -0
  99. package/cert_manager/index.ts +11 -0
  100. package/cert_manager/v1/certificate.ts +104 -0
  101. package/cert_manager/v1/certificateList.ts +107 -0
  102. package/cert_manager/v1/certificatePatch.ts +110 -0
  103. package/cert_manager/v1/certificateRequest.ts +109 -0
  104. package/cert_manager/v1/certificateRequestList.ts +107 -0
  105. package/cert_manager/v1/certificateRequestPatch.ts +115 -0
  106. package/cert_manager/v1/clusterIssuer.ts +105 -0
  107. package/cert_manager/v1/clusterIssuerList.ts +107 -0
  108. package/cert_manager/v1/clusterIssuerPatch.ts +111 -0
  109. package/cert_manager/v1/index.ts +102 -0
  110. package/cert_manager/v1/issuer.ts +104 -0
  111. package/cert_manager/v1/issuerList.ts +107 -0
  112. package/cert_manager/v1/issuerPatch.ts +110 -0
  113. package/index.ts +32 -0
  114. package/meta/v1.ts +4 -0
  115. package/package.json +43 -0
  116. package/provider.ts +44 -0
  117. package/scripts/postinstall.js +13 -0
  118. package/tsconfig.json +45 -0
  119. package/types/index.ts +13 -0
  120. package/types/input.ts +21284 -0
  121. package/types/output.ts +21747 -0
  122. package/utilities.ts +97 -0
@@ -0,0 +1,107 @@
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
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * CertificateRequestList is a list of CertificateRequest
13
+ */
14
+ export class CertificateRequestList extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestList {
24
+ return new CertificateRequestList(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestList';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is CertificateRequestList {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === CertificateRequestList.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * 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
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
45
+ /**
46
+ * List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
+ */
48
+ public readonly items!: pulumi.Output<outputs.cert_manager.v1.CertificateRequest[]>;
49
+ /**
50
+ * 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
51
+ */
52
+ public readonly kind!: pulumi.Output<"CertificateRequestList">;
53
+ /**
54
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
+ */
56
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
+
58
+ /**
59
+ * Create a CertificateRequestList resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args?: CertificateRequestListArgs, opts?: pulumi.CustomResourceOptions) {
66
+ let resourceInputs: pulumi.Inputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if ((!args || args.items === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'items'");
71
+ }
72
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
73
+ resourceInputs["items"] = args ? args.items : undefined;
74
+ resourceInputs["kind"] = "CertificateRequestList";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ } else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["items"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(CertificateRequestList.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a CertificateRequestList resource.
89
+ */
90
+ export interface CertificateRequestListArgs {
91
+ /**
92
+ * 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
93
+ */
94
+ apiVersion?: pulumi.Input<"cert-manager.io/v1">;
95
+ /**
96
+ * List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
+ */
98
+ items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.CertificateRequest>[]>;
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<"CertificateRequestList">;
103
+ /**
104
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
+ */
106
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
+ }
@@ -0,0 +1,115 @@
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
+ import {ObjectMetaPatch} from "../../meta/v1";
10
+
11
+ /**
12
+ * Patch resources are used to modify existing Kubernetes resources by using
13
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
+ * A CertificateRequest is used to request a signed certificate from one of the
19
+ * configured issuers.
20
+ *
21
+ * All fields within the CertificateRequest's `spec` are immutable after creation.
22
+ * A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
23
+ * condition and its `status.failureTime` field.
24
+ *
25
+ * A CertificateRequest is a one-shot resource, meaning it represents a single
26
+ * point in time request for a certificate and cannot be re-used.
27
+ */
28
+ export class CertificateRequestPatch extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestPatch {
38
+ return new CertificateRequestPatch(name, undefined as any, { ...opts, id: id });
39
+ }
40
+
41
+ /** @internal */
42
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestPatch';
43
+
44
+ /**
45
+ * Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ public static isInstance(obj: any): obj is CertificateRequestPatch {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === CertificateRequestPatch.__pulumiType;
53
+ }
54
+
55
+ /**
56
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
57
+ */
58
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
59
+ /**
60
+ * 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
61
+ */
62
+ public readonly kind!: pulumi.Output<"CertificateRequest">;
63
+ /**
64
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
65
+ */
66
+ public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
67
+ public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpecPatch>;
68
+ public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatusPatch>;
69
+
70
+ /**
71
+ * Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args?: CertificateRequestPatchArgs, opts?: pulumi.CustomResourceOptions) {
78
+ let resourceInputs: pulumi.Inputs = {};
79
+ opts = opts || {};
80
+ if (!opts.id) {
81
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
82
+ resourceInputs["kind"] = "CertificateRequest";
83
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
84
+ resourceInputs["spec"] = args ? args.spec : undefined;
85
+ resourceInputs["status"] = undefined /*out*/;
86
+ } else {
87
+ resourceInputs["apiVersion"] = undefined /*out*/;
88
+ resourceInputs["kind"] = undefined /*out*/;
89
+ resourceInputs["metadata"] = undefined /*out*/;
90
+ resourceInputs["spec"] = undefined /*out*/;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ super(CertificateRequestPatch.__pulumiType, name, resourceInputs, opts);
95
+ }
96
+ }
97
+
98
+ /**
99
+ * The set of arguments for constructing a CertificateRequestPatch resource.
100
+ */
101
+ export interface CertificateRequestPatchArgs {
102
+ /**
103
+ * 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
104
+ */
105
+ apiVersion?: pulumi.Input<"cert-manager.io/v1">;
106
+ /**
107
+ * 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
108
+ */
109
+ kind?: pulumi.Input<"CertificateRequest">;
110
+ /**
111
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
112
+ */
113
+ metadata?: pulumi.Input<ObjectMetaPatch>;
114
+ spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpecPatch>;
115
+ }
@@ -0,0 +1,105 @@
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
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * A ClusterIssuer represents a certificate issuing authority which can be
13
+ * referenced as part of `issuerRef` fields.
14
+ * It is similar to an Issuer, however it is cluster-scoped and therefore can
15
+ * be referenced by resources that exist in *any* namespace, not just the same
16
+ * namespace as the referent.
17
+ */
18
+ export class ClusterIssuer extends pulumi.CustomResource {
19
+ /**
20
+ * Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
21
+ * properties used to qualify the lookup.
22
+ *
23
+ * @param name The _unique_ name of the resulting resource.
24
+ * @param id The _unique_ provider ID of the resource to lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuer {
28
+ return new ClusterIssuer(name, undefined as any, { ...opts, id: id });
29
+ }
30
+
31
+ /** @internal */
32
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuer';
33
+
34
+ /**
35
+ * Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ public static isInstance(obj: any): obj is ClusterIssuer {
39
+ if (obj === undefined || obj === null) {
40
+ return false;
41
+ }
42
+ return obj['__pulumiType'] === ClusterIssuer.__pulumiType;
43
+ }
44
+
45
+ /**
46
+ * 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
47
+ */
48
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
49
+ /**
50
+ * 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
51
+ */
52
+ public readonly kind!: pulumi.Output<"ClusterIssuer">;
53
+ /**
54
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
55
+ */
56
+ public readonly metadata!: pulumi.Output<ObjectMeta>;
57
+ public readonly spec!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpec>;
58
+ public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatus>;
59
+
60
+ /**
61
+ * Create a ClusterIssuer resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args?: ClusterIssuerArgs, opts?: pulumi.CustomResourceOptions) {
68
+ let resourceInputs: pulumi.Inputs = {};
69
+ opts = opts || {};
70
+ if (!opts.id) {
71
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
72
+ resourceInputs["kind"] = "ClusterIssuer";
73
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
74
+ resourceInputs["spec"] = args ? args.spec : undefined;
75
+ resourceInputs["status"] = undefined /*out*/;
76
+ } else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["kind"] = undefined /*out*/;
79
+ resourceInputs["metadata"] = undefined /*out*/;
80
+ resourceInputs["spec"] = undefined /*out*/;
81
+ resourceInputs["status"] = undefined /*out*/;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ super(ClusterIssuer.__pulumiType, name, resourceInputs, opts);
85
+ }
86
+ }
87
+
88
+ /**
89
+ * The set of arguments for constructing a ClusterIssuer resource.
90
+ */
91
+ export interface ClusterIssuerArgs {
92
+ /**
93
+ * 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
94
+ */
95
+ apiVersion?: pulumi.Input<"cert-manager.io/v1">;
96
+ /**
97
+ * 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
98
+ */
99
+ kind?: pulumi.Input<"ClusterIssuer">;
100
+ /**
101
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
102
+ */
103
+ metadata?: pulumi.Input<ObjectMeta>;
104
+ spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpec>;
105
+ }
@@ -0,0 +1,107 @@
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
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * ClusterIssuerList is a list of ClusterIssuer
13
+ */
14
+ export class ClusterIssuerList extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerList {
24
+ return new ClusterIssuerList(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerList';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is ClusterIssuerList {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === ClusterIssuerList.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * 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
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
45
+ /**
46
+ * List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
+ */
48
+ public readonly items!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuer[]>;
49
+ /**
50
+ * 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
51
+ */
52
+ public readonly kind!: pulumi.Output<"ClusterIssuerList">;
53
+ /**
54
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
+ */
56
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
+
58
+ /**
59
+ * Create a ClusterIssuerList resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args?: ClusterIssuerListArgs, opts?: pulumi.CustomResourceOptions) {
66
+ let resourceInputs: pulumi.Inputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if ((!args || args.items === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'items'");
71
+ }
72
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
73
+ resourceInputs["items"] = args ? args.items : undefined;
74
+ resourceInputs["kind"] = "ClusterIssuerList";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ } else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["items"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(ClusterIssuerList.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a ClusterIssuerList resource.
89
+ */
90
+ export interface ClusterIssuerListArgs {
91
+ /**
92
+ * 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
93
+ */
94
+ apiVersion?: pulumi.Input<"cert-manager.io/v1">;
95
+ /**
96
+ * List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
+ */
98
+ items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.ClusterIssuer>[]>;
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<"ClusterIssuerList">;
103
+ /**
104
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
+ */
106
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
+ }
@@ -0,0 +1,111 @@
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
+ import {ObjectMetaPatch} from "../../meta/v1";
10
+
11
+ /**
12
+ * Patch resources are used to modify existing Kubernetes resources by using
13
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
+ * A ClusterIssuer represents a certificate issuing authority which can be
19
+ * referenced as part of `issuerRef` fields.
20
+ * It is similar to an Issuer, however it is cluster-scoped and therefore can
21
+ * be referenced by resources that exist in *any* namespace, not just the same
22
+ * namespace as the referent.
23
+ */
24
+ export class ClusterIssuerPatch extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerPatch {
34
+ return new ClusterIssuerPatch(name, undefined as any, { ...opts, id: id });
35
+ }
36
+
37
+ /** @internal */
38
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerPatch';
39
+
40
+ /**
41
+ * Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ public static isInstance(obj: any): obj is ClusterIssuerPatch {
45
+ if (obj === undefined || obj === null) {
46
+ return false;
47
+ }
48
+ return obj['__pulumiType'] === ClusterIssuerPatch.__pulumiType;
49
+ }
50
+
51
+ /**
52
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
53
+ */
54
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
55
+ /**
56
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
57
+ */
58
+ public readonly kind!: pulumi.Output<"ClusterIssuer">;
59
+ /**
60
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
61
+ */
62
+ public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
63
+ public readonly spec!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpecPatch>;
64
+ public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatusPatch>;
65
+
66
+ /**
67
+ * Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args?: ClusterIssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
74
+ let resourceInputs: pulumi.Inputs = {};
75
+ opts = opts || {};
76
+ if (!opts.id) {
77
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
78
+ resourceInputs["kind"] = "ClusterIssuer";
79
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
80
+ resourceInputs["spec"] = args ? args.spec : undefined;
81
+ resourceInputs["status"] = undefined /*out*/;
82
+ } else {
83
+ resourceInputs["apiVersion"] = undefined /*out*/;
84
+ resourceInputs["kind"] = undefined /*out*/;
85
+ resourceInputs["metadata"] = undefined /*out*/;
86
+ resourceInputs["spec"] = undefined /*out*/;
87
+ resourceInputs["status"] = undefined /*out*/;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ super(ClusterIssuerPatch.__pulumiType, name, resourceInputs, opts);
91
+ }
92
+ }
93
+
94
+ /**
95
+ * The set of arguments for constructing a ClusterIssuerPatch resource.
96
+ */
97
+ export interface ClusterIssuerPatchArgs {
98
+ /**
99
+ * 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
100
+ */
101
+ apiVersion?: pulumi.Input<"cert-manager.io/v1">;
102
+ /**
103
+ * 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
104
+ */
105
+ kind?: pulumi.Input<"ClusterIssuer">;
106
+ /**
107
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
108
+ */
109
+ metadata?: pulumi.Input<ObjectMetaPatch>;
110
+ spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpecPatch>;
111
+ }
@@ -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 utilities from "../../utilities";
6
+
7
+ // Export members:
8
+ export { CertificateArgs } from "./certificate";
9
+ export type Certificate = import("./certificate").Certificate;
10
+ export const Certificate: typeof import("./certificate").Certificate = null as any;
11
+ utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
12
+
13
+ export { CertificateListArgs } from "./certificateList";
14
+ export type CertificateList = import("./certificateList").CertificateList;
15
+ export const CertificateList: typeof import("./certificateList").CertificateList = null as any;
16
+ utilities.lazyLoad(exports, ["CertificateList"], () => require("./certificateList"));
17
+
18
+ export { CertificatePatchArgs } from "./certificatePatch";
19
+ export type CertificatePatch = import("./certificatePatch").CertificatePatch;
20
+ export const CertificatePatch: typeof import("./certificatePatch").CertificatePatch = null as any;
21
+ utilities.lazyLoad(exports, ["CertificatePatch"], () => require("./certificatePatch"));
22
+
23
+ export { CertificateRequestArgs } from "./certificateRequest";
24
+ export type CertificateRequest = import("./certificateRequest").CertificateRequest;
25
+ export const CertificateRequest: typeof import("./certificateRequest").CertificateRequest = null as any;
26
+ utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
27
+
28
+ export { CertificateRequestListArgs } from "./certificateRequestList";
29
+ export type CertificateRequestList = import("./certificateRequestList").CertificateRequestList;
30
+ export const CertificateRequestList: typeof import("./certificateRequestList").CertificateRequestList = null as any;
31
+ utilities.lazyLoad(exports, ["CertificateRequestList"], () => require("./certificateRequestList"));
32
+
33
+ export { CertificateRequestPatchArgs } from "./certificateRequestPatch";
34
+ export type CertificateRequestPatch = import("./certificateRequestPatch").CertificateRequestPatch;
35
+ export const CertificateRequestPatch: typeof import("./certificateRequestPatch").CertificateRequestPatch = null as any;
36
+ utilities.lazyLoad(exports, ["CertificateRequestPatch"], () => require("./certificateRequestPatch"));
37
+
38
+ export { ClusterIssuerArgs } from "./clusterIssuer";
39
+ export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
40
+ export const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer = null as any;
41
+ utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
42
+
43
+ export { ClusterIssuerListArgs } from "./clusterIssuerList";
44
+ export type ClusterIssuerList = import("./clusterIssuerList").ClusterIssuerList;
45
+ export const ClusterIssuerList: typeof import("./clusterIssuerList").ClusterIssuerList = null as any;
46
+ utilities.lazyLoad(exports, ["ClusterIssuerList"], () => require("./clusterIssuerList"));
47
+
48
+ export { ClusterIssuerPatchArgs } from "./clusterIssuerPatch";
49
+ export type ClusterIssuerPatch = import("./clusterIssuerPatch").ClusterIssuerPatch;
50
+ export const ClusterIssuerPatch: typeof import("./clusterIssuerPatch").ClusterIssuerPatch = null as any;
51
+ utilities.lazyLoad(exports, ["ClusterIssuerPatch"], () => require("./clusterIssuerPatch"));
52
+
53
+ export { IssuerArgs } from "./issuer";
54
+ export type Issuer = import("./issuer").Issuer;
55
+ export const Issuer: typeof import("./issuer").Issuer = null as any;
56
+ utilities.lazyLoad(exports, ["Issuer"], () => require("./issuer"));
57
+
58
+ export { IssuerListArgs } from "./issuerList";
59
+ export type IssuerList = import("./issuerList").IssuerList;
60
+ export const IssuerList: typeof import("./issuerList").IssuerList = null as any;
61
+ utilities.lazyLoad(exports, ["IssuerList"], () => require("./issuerList"));
62
+
63
+ export { IssuerPatchArgs } from "./issuerPatch";
64
+ export type IssuerPatch = import("./issuerPatch").IssuerPatch;
65
+ export const IssuerPatch: typeof import("./issuerPatch").IssuerPatch = null as any;
66
+ utilities.lazyLoad(exports, ["IssuerPatch"], () => require("./issuerPatch"));
67
+
68
+
69
+ const _module = {
70
+ version: utilities.getVersion(),
71
+ construct: (name: string, type: string, urn: string): pulumi.Resource => {
72
+ switch (type) {
73
+ case "kubernetes:cert-manager.io/v1:Certificate":
74
+ return new Certificate(name, <any>undefined, { urn })
75
+ case "kubernetes:cert-manager.io/v1:CertificateList":
76
+ return new CertificateList(name, <any>undefined, { urn })
77
+ case "kubernetes:cert-manager.io/v1:CertificatePatch":
78
+ return new CertificatePatch(name, <any>undefined, { urn })
79
+ case "kubernetes:cert-manager.io/v1:CertificateRequest":
80
+ return new CertificateRequest(name, <any>undefined, { urn })
81
+ case "kubernetes:cert-manager.io/v1:CertificateRequestList":
82
+ return new CertificateRequestList(name, <any>undefined, { urn })
83
+ case "kubernetes:cert-manager.io/v1:CertificateRequestPatch":
84
+ return new CertificateRequestPatch(name, <any>undefined, { urn })
85
+ case "kubernetes:cert-manager.io/v1:ClusterIssuer":
86
+ return new ClusterIssuer(name, <any>undefined, { urn })
87
+ case "kubernetes:cert-manager.io/v1:ClusterIssuerList":
88
+ return new ClusterIssuerList(name, <any>undefined, { urn })
89
+ case "kubernetes:cert-manager.io/v1:ClusterIssuerPatch":
90
+ return new ClusterIssuerPatch(name, <any>undefined, { urn })
91
+ case "kubernetes:cert-manager.io/v1:Issuer":
92
+ return new Issuer(name, <any>undefined, { urn })
93
+ case "kubernetes:cert-manager.io/v1:IssuerList":
94
+ return new IssuerList(name, <any>undefined, { urn })
95
+ case "kubernetes:cert-manager.io/v1:IssuerPatch":
96
+ return new IssuerPatch(name, <any>undefined, { urn })
97
+ default:
98
+ throw new Error(`unknown resource type ${type}`);
99
+ }
100
+ },
101
+ };
102
+ pulumi.runtime.registerResourceModule("crds", "cert-manager.io/v1", _module)