@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,104 @@
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
+ * An Issuer represents a certificate issuing authority which can be
13
+ * referenced as part of `issuerRef` fields.
14
+ * It is scoped to a single namespace and can therefore only be referenced by
15
+ * resources within the same namespace.
16
+ */
17
+ export class Issuer extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Issuer resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param opts Optional settings to control the behavior of the CustomResource.
25
+ */
26
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Issuer {
27
+ return new Issuer(name, undefined as any, { ...opts, id: id });
28
+ }
29
+
30
+ /** @internal */
31
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:Issuer';
32
+
33
+ /**
34
+ * Returns true if the given object is an instance of Issuer. This is designed to work even
35
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
36
+ */
37
+ public static isInstance(obj: any): obj is Issuer {
38
+ if (obj === undefined || obj === null) {
39
+ return false;
40
+ }
41
+ return obj['__pulumiType'] === Issuer.__pulumiType;
42
+ }
43
+
44
+ /**
45
+ * 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
46
+ */
47
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
48
+ /**
49
+ * 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
50
+ */
51
+ public readonly kind!: pulumi.Output<"Issuer">;
52
+ /**
53
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
54
+ */
55
+ public readonly metadata!: pulumi.Output<ObjectMeta>;
56
+ public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpec>;
57
+ public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatus>;
58
+
59
+ /**
60
+ * Create a Issuer resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args?: IssuerArgs, opts?: pulumi.CustomResourceOptions) {
67
+ let resourceInputs: pulumi.Inputs = {};
68
+ opts = opts || {};
69
+ if (!opts.id) {
70
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
71
+ resourceInputs["kind"] = "Issuer";
72
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
73
+ resourceInputs["spec"] = args ? args.spec : undefined;
74
+ resourceInputs["status"] = undefined /*out*/;
75
+ } else {
76
+ resourceInputs["apiVersion"] = undefined /*out*/;
77
+ resourceInputs["kind"] = undefined /*out*/;
78
+ resourceInputs["metadata"] = undefined /*out*/;
79
+ resourceInputs["spec"] = undefined /*out*/;
80
+ resourceInputs["status"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(Issuer.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a Issuer resource.
89
+ */
90
+ export interface IssuerArgs {
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
+ * 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
97
+ */
98
+ kind?: pulumi.Input<"Issuer">;
99
+ /**
100
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
101
+ */
102
+ metadata?: pulumi.Input<ObjectMeta>;
103
+ spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpec>;
104
+ }
@@ -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
+ * IssuerList is a list of Issuer
13
+ */
14
+ export class IssuerList extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing IssuerList 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): IssuerList {
24
+ return new IssuerList(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerList';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of IssuerList. 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 IssuerList {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === IssuerList.__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 issuers. 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.Issuer[]>;
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<"IssuerList">;
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 IssuerList 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?: IssuerListArgs, 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"] = "IssuerList";
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(IssuerList.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a IssuerList resource.
89
+ */
90
+ export interface IssuerListArgs {
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 issuers. 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.Issuer>[]>;
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<"IssuerList">;
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,110 @@
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
+ * An Issuer represents a certificate issuing authority which can be
19
+ * referenced as part of `issuerRef` fields.
20
+ * It is scoped to a single namespace and can therefore only be referenced by
21
+ * resources within the same namespace.
22
+ */
23
+ export class IssuerPatch extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing IssuerPatch 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
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerPatch {
33
+ return new IssuerPatch(name, undefined as any, { ...opts, id: id });
34
+ }
35
+
36
+ /** @internal */
37
+ public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerPatch';
38
+
39
+ /**
40
+ * Returns true if the given object is an instance of IssuerPatch. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ public static isInstance(obj: any): obj is IssuerPatch {
44
+ if (obj === undefined || obj === null) {
45
+ return false;
46
+ }
47
+ return obj['__pulumiType'] === IssuerPatch.__pulumiType;
48
+ }
49
+
50
+ /**
51
+ * 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
52
+ */
53
+ public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
54
+ /**
55
+ * 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
56
+ */
57
+ public readonly kind!: pulumi.Output<"Issuer">;
58
+ /**
59
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
60
+ */
61
+ public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
62
+ public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpecPatch>;
63
+ public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatusPatch>;
64
+
65
+ /**
66
+ * Create a IssuerPatch resource with the given unique name, arguments, and options.
67
+ *
68
+ * @param name The _unique_ name of the resource.
69
+ * @param args The arguments to use to populate this resource's properties.
70
+ * @param opts A bag of options that control this resource's behavior.
71
+ */
72
+ constructor(name: string, args?: IssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
73
+ let resourceInputs: pulumi.Inputs = {};
74
+ opts = opts || {};
75
+ if (!opts.id) {
76
+ resourceInputs["apiVersion"] = "cert-manager.io/v1";
77
+ resourceInputs["kind"] = "Issuer";
78
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
79
+ resourceInputs["spec"] = args ? args.spec : undefined;
80
+ resourceInputs["status"] = undefined /*out*/;
81
+ } else {
82
+ resourceInputs["apiVersion"] = undefined /*out*/;
83
+ resourceInputs["kind"] = undefined /*out*/;
84
+ resourceInputs["metadata"] = undefined /*out*/;
85
+ resourceInputs["spec"] = undefined /*out*/;
86
+ resourceInputs["status"] = undefined /*out*/;
87
+ }
88
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
89
+ super(IssuerPatch.__pulumiType, name, resourceInputs, opts);
90
+ }
91
+ }
92
+
93
+ /**
94
+ * The set of arguments for constructing a IssuerPatch resource.
95
+ */
96
+ export interface IssuerPatchArgs {
97
+ /**
98
+ * 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
99
+ */
100
+ apiVersion?: pulumi.Input<"cert-manager.io/v1">;
101
+ /**
102
+ * 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
103
+ */
104
+ kind?: pulumi.Input<"Issuer">;
105
+ /**
106
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
107
+ */
108
+ metadata?: pulumi.Input<ObjectMetaPatch>;
109
+ spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpecPatch>;
110
+ }
package/index.ts ADDED
@@ -0,0 +1,32 @@
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 { ProviderArgs } from "./provider";
9
+ export type Provider = import("./provider").Provider;
10
+ export const Provider: typeof import("./provider").Provider = null as any;
11
+ utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
12
+
13
+
14
+ // Export sub-modules:
15
+ import * as acme from "./acme";
16
+ import * as cert_manager from "./cert_manager";
17
+ import * as types from "./types";
18
+
19
+ export {
20
+ acme,
21
+ cert_manager,
22
+ types,
23
+ };
24
+ pulumi.runtime.registerResourcePackage("crds", {
25
+ version: utilities.getVersion(),
26
+ constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
27
+ if (type !== "pulumi:providers:kubernetes") {
28
+ throw new Error(`unknown provider type ${type}`);
29
+ }
30
+ return new Provider(name, <any>undefined, { urn });
31
+ },
32
+ });
package/meta/v1.ts ADDED
@@ -0,0 +1,4 @@
1
+ import * as k8s from "@pulumi/kubernetes";
2
+
3
+ export type ObjectMeta = k8s.types.input.meta.v1.ObjectMeta;
4
+ export type ObjectMetaPatch = k8s.types.input.meta.v1.ObjectMetaPatch;
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@highstate/cert-manager",
3
+ "version": "0.4.5",
4
+ "keywords": [
5
+ "pulumi",
6
+ "kubernetes",
7
+ "category/cloud",
8
+ "kind/native"
9
+ ],
10
+ "homepage": "https://pulumi.com",
11
+ "repository": "https://github.com/pulumi/pulumi-kubernetes",
12
+ "license": "Apache-2.0",
13
+ "main": "bin/index.js",
14
+ "scripts": {
15
+ "build": "tsc --noCheck && cp package.json bin/package.json"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "dependencies": {
21
+ "@pulumi/kubernetes": "4.18.0",
22
+ "@pulumi/pulumi": "^3.25.0",
23
+ "@types/node-fetch": "^2.1.4",
24
+ "@types/tmp": "^0.0.33",
25
+ "glob": "^10.3.10",
26
+ "node-fetch": "^2.3.0",
27
+ "shell-quote": "^1.6.1",
28
+ "tmp": "^0.0.33"
29
+ },
30
+ "devDependencies": {
31
+ "@types/mocha": "^5.2.5",
32
+ "@types/node": "^14",
33
+ "@types/shell-quote": "^1.6.0",
34
+ "mocha": "^5.2.0",
35
+ "typescript": "^5.7.2"
36
+ },
37
+ "pulumi": {
38
+ "resource": true,
39
+ "name": "@highstate/cert-manager",
40
+ "version": "0.4.4"
41
+ },
42
+ "gitHead": "afd601fdade1bcf31af58072eea3c08ee26349b8"
43
+ }
package/provider.ts ADDED
@@ -0,0 +1,44 @@
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 class Provider extends pulumi.ProviderResource {
8
+ /** @internal */
9
+ public static readonly __pulumiType = 'crds';
10
+
11
+ /**
12
+ * Returns true if the given object is an instance of Provider. This is designed to work even
13
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
14
+ */
15
+ public static isInstance(obj: any): obj is Provider {
16
+ if (obj === undefined || obj === null) {
17
+ return false;
18
+ }
19
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
20
+ }
21
+
22
+
23
+ /**
24
+ * Create a Provider resource with the given unique name, arguments, and options.
25
+ *
26
+ * @param name The _unique_ name of the resource.
27
+ * @param args The arguments to use to populate this resource's properties.
28
+ * @param opts A bag of options that control this resource's behavior.
29
+ */
30
+ constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions) {
31
+ let resourceInputs: pulumi.Inputs = {};
32
+ opts = opts || {};
33
+ {
34
+ }
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
36
+ super(Provider.__pulumiType, name, resourceInputs, opts);
37
+ }
38
+ }
39
+
40
+ /**
41
+ * The set of arguments for constructing a Provider resource.
42
+ */
43
+ export interface ProviderArgs {
44
+ }
@@ -0,0 +1,13 @@
1
+ const fs = require("node:fs");
2
+ const path = require("node:path")
3
+ const process = require("node:process")
4
+ const { execSync } = require('node:child_process');
5
+ try {
6
+ const out = execSync('tsc')
7
+ console.log(out.toString())
8
+ } catch (error) {
9
+ console.error(error.message + ": " + error.stdout.toString() + "\n" + error.stderr.toString())
10
+ process.exit(1)
11
+ }
12
+ // TypeScript is compiled to "./bin", copy package.json to that directory so it can be read in "getVersion".
13
+ fs.copyFileSync(path.join(__dirname, "..", "package.json"), path.join(__dirname, "..", "bin", "package.json"));
package/tsconfig.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "bin",
4
+ "target": "es2016",
5
+ "module": "commonjs",
6
+ "moduleResolution": "node",
7
+ "declaration": true,
8
+ "sourceMap": true,
9
+ "stripInternal": true,
10
+ "experimentalDecorators": true,
11
+ "noFallthroughCasesInSwitch": true,
12
+ "forceConsistentCasingInFileNames": true,
13
+ "strict": true
14
+ },
15
+ "files": [
16
+ "acme/index.ts",
17
+ "acme/v1/challenge.ts",
18
+ "acme/v1/challengeList.ts",
19
+ "acme/v1/challengePatch.ts",
20
+ "acme/v1/index.ts",
21
+ "acme/v1/order.ts",
22
+ "acme/v1/orderList.ts",
23
+ "acme/v1/orderPatch.ts",
24
+ "cert_manager/index.ts",
25
+ "cert_manager/v1/certificate.ts",
26
+ "cert_manager/v1/certificateList.ts",
27
+ "cert_manager/v1/certificatePatch.ts",
28
+ "cert_manager/v1/certificateRequest.ts",
29
+ "cert_manager/v1/certificateRequestList.ts",
30
+ "cert_manager/v1/certificateRequestPatch.ts",
31
+ "cert_manager/v1/clusterIssuer.ts",
32
+ "cert_manager/v1/clusterIssuerList.ts",
33
+ "cert_manager/v1/clusterIssuerPatch.ts",
34
+ "cert_manager/v1/index.ts",
35
+ "cert_manager/v1/issuer.ts",
36
+ "cert_manager/v1/issuerList.ts",
37
+ "cert_manager/v1/issuerPatch.ts",
38
+ "index.ts",
39
+ "provider.ts",
40
+ "types/index.ts",
41
+ "types/input.ts",
42
+ "types/output.ts",
43
+ "utilities.ts"
44
+ ]
45
+ }
package/types/index.ts ADDED
@@ -0,0 +1,13 @@
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 input from "./input";
8
+ import * as output from "./output";
9
+
10
+ export {
11
+ input,
12
+ output,
13
+ };