@kilic.dev/pulumi-k8s-crds 1.0.6 → 1.1.0
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/dist/acme/index.d.ts +2 -0
- package/dist/acme/index.js +31 -0
- package/dist/acme/v1/challenge.d.ts +48 -0
- package/dist/acme/v1/challenge.js +91 -0
- package/dist/acme/v1/index.d.ts +6 -0
- package/dist/acme/v1/index.js +48 -0
- package/dist/acme/v1/order.d.ts +48 -0
- package/dist/acme/v1/order.js +91 -0
- package/dist/certmanager/index.d.ts +2 -0
- package/dist/certmanager/index.js +31 -0
- package/dist/certmanager/v1/certificate.d.ts +71 -0
- package/dist/certmanager/v1/certificate.js +104 -0
- package/dist/certmanager/v1/certificateRequest.d.ts +76 -0
- package/dist/certmanager/v1/certificateRequest.js +109 -0
- package/dist/certmanager/v1/clusterIssuer.d.ts +64 -0
- package/dist/certmanager/v1/clusterIssuer.js +101 -0
- package/dist/certmanager/v1/index.d.ts +12 -0
- package/dist/certmanager/v1/index.js +56 -0
- package/dist/certmanager/v1/issuer.d.ts +63 -0
- package/dist/certmanager/v1/issuer.js +100 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/types/input.d.ts +14289 -5818
- package/dist/types/input.js +97 -1
- package/dist/types/output.d.ts +14289 -5818
- package/dist/types/output.js +97 -1
- package/package.json +3 -3
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.CertificateRequest = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* A CertificateRequest is used to request a signed certificate from one of the
|
|
33
|
+
* configured issuers.
|
|
34
|
+
*
|
|
35
|
+
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
|
36
|
+
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
|
37
|
+
* condition and its `status.failureTime` field.
|
|
38
|
+
*
|
|
39
|
+
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
|
40
|
+
* point in time request for a certificate and cannot be re-used.
|
|
41
|
+
*/
|
|
42
|
+
class CertificateRequest extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, opts) {
|
|
52
|
+
return new CertificateRequest(name, undefined, { ...opts, id: id });
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequest';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === CertificateRequest.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
apiVersion;
|
|
67
|
+
kind;
|
|
68
|
+
metadata;
|
|
69
|
+
/**
|
|
70
|
+
* Specification of the desired state of the CertificateRequest resource.
|
|
71
|
+
* https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
72
|
+
*/
|
|
73
|
+
spec;
|
|
74
|
+
/**
|
|
75
|
+
* Status of the CertificateRequest.
|
|
76
|
+
* This is set and managed automatically.
|
|
77
|
+
* Read-only.
|
|
78
|
+
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
79
|
+
*/
|
|
80
|
+
status;
|
|
81
|
+
/**
|
|
82
|
+
* Create a CertificateRequest resource with the given unique name, arguments, and options.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resource.
|
|
85
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
86
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
87
|
+
*/
|
|
88
|
+
constructor(name, args, opts) {
|
|
89
|
+
let resourceInputs = {};
|
|
90
|
+
opts = opts || {};
|
|
91
|
+
if (!opts.id) {
|
|
92
|
+
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
|
93
|
+
resourceInputs["kind"] = "CertificateRequest";
|
|
94
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
95
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
96
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
104
|
+
}
|
|
105
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
super(CertificateRequest.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.CertificateRequest = CertificateRequest;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* A ClusterIssuer represents a certificate issuing authority which can be
|
|
7
|
+
* referenced as part of `issuerRef` fields.
|
|
8
|
+
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
|
9
|
+
* be referenced by resources that exist in *any* namespace, not just the same
|
|
10
|
+
* namespace as the referent.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ClusterIssuer extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing ClusterIssuer 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: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuer;
|
|
22
|
+
/** @internal */
|
|
23
|
+
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuer";
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ClusterIssuer. 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: any): obj is ClusterIssuer;
|
|
29
|
+
readonly apiVersion: pulumi.Output<"cert-manager.io/v1" | undefined>;
|
|
30
|
+
readonly kind: pulumi.Output<"ClusterIssuer" | undefined>;
|
|
31
|
+
readonly metadata: pulumi.Output<ObjectMeta | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Desired state of the ClusterIssuer resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly spec: pulumi.Output<outputs.certmanager.v1.ClusterIssuerSpec>;
|
|
36
|
+
/**
|
|
37
|
+
* Status of the ClusterIssuer. This is set and managed automatically.
|
|
38
|
+
*/
|
|
39
|
+
readonly status: pulumi.Output<outputs.certmanager.v1.ClusterIssuerStatus | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args?: ClusterIssuerArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a ClusterIssuer resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface ClusterIssuerArgs {
|
|
53
|
+
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
|
54
|
+
kind?: pulumi.Input<"ClusterIssuer">;
|
|
55
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
56
|
+
/**
|
|
57
|
+
* Desired state of the ClusterIssuer resource.
|
|
58
|
+
*/
|
|
59
|
+
spec?: pulumi.Input<inputs.certmanager.v1.ClusterIssuerSpecArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* Status of the ClusterIssuer. This is set and managed automatically.
|
|
62
|
+
*/
|
|
63
|
+
status?: pulumi.Input<inputs.certmanager.v1.ClusterIssuerStatusArgs>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ClusterIssuer = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* A ClusterIssuer represents a certificate issuing authority which can be
|
|
33
|
+
* referenced as part of `issuerRef` fields.
|
|
34
|
+
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
|
35
|
+
* be referenced by resources that exist in *any* namespace, not just the same
|
|
36
|
+
* namespace as the referent.
|
|
37
|
+
*/
|
|
38
|
+
class ClusterIssuer extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, opts) {
|
|
48
|
+
return new ClusterIssuer(name, undefined, { ...opts, id: id });
|
|
49
|
+
}
|
|
50
|
+
/** @internal */
|
|
51
|
+
static __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuer';
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj) {
|
|
57
|
+
if (obj === undefined || obj === null) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return obj['__pulumiType'] === ClusterIssuer.__pulumiType;
|
|
61
|
+
}
|
|
62
|
+
apiVersion;
|
|
63
|
+
kind;
|
|
64
|
+
metadata;
|
|
65
|
+
/**
|
|
66
|
+
* Desired state of the ClusterIssuer resource.
|
|
67
|
+
*/
|
|
68
|
+
spec;
|
|
69
|
+
/**
|
|
70
|
+
* Status of the ClusterIssuer. This is set and managed automatically.
|
|
71
|
+
*/
|
|
72
|
+
status;
|
|
73
|
+
/**
|
|
74
|
+
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name, args, opts) {
|
|
81
|
+
let resourceInputs = {};
|
|
82
|
+
opts = opts || {};
|
|
83
|
+
if (!opts.id) {
|
|
84
|
+
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
|
85
|
+
resourceInputs["kind"] = "ClusterIssuer";
|
|
86
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
87
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
88
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(ClusterIssuer.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.ClusterIssuer = ClusterIssuer;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { CertificateArgs } from "./certificate";
|
|
2
|
+
export type Certificate = import("./certificate").Certificate;
|
|
3
|
+
export declare const Certificate: typeof import("./certificate").Certificate;
|
|
4
|
+
export { CertificateRequestArgs } from "./certificateRequest";
|
|
5
|
+
export type CertificateRequest = import("./certificateRequest").CertificateRequest;
|
|
6
|
+
export declare const CertificateRequest: typeof import("./certificateRequest").CertificateRequest;
|
|
7
|
+
export { ClusterIssuerArgs } from "./clusterIssuer";
|
|
8
|
+
export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
|
|
9
|
+
export declare const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer;
|
|
10
|
+
export { IssuerArgs } from "./issuer";
|
|
11
|
+
export type Issuer = import("./issuer").Issuer;
|
|
12
|
+
export declare const Issuer: typeof import("./issuer").Issuer;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Issuer = exports.ClusterIssuer = exports.CertificateRequest = exports.Certificate = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
exports.Certificate = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
|
|
33
|
+
exports.CertificateRequest = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
|
|
35
|
+
exports.ClusterIssuer = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
|
|
37
|
+
exports.Issuer = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["Issuer"], () => require("./issuer"));
|
|
39
|
+
const _module = {
|
|
40
|
+
version: utilities.getVersion(),
|
|
41
|
+
construct: (name, type, urn) => {
|
|
42
|
+
switch (type) {
|
|
43
|
+
case "kubernetes:cert-manager.io/v1:Certificate":
|
|
44
|
+
return new exports.Certificate(name, undefined, { urn });
|
|
45
|
+
case "kubernetes:cert-manager.io/v1:CertificateRequest":
|
|
46
|
+
return new exports.CertificateRequest(name, undefined, { urn });
|
|
47
|
+
case "kubernetes:cert-manager.io/v1:ClusterIssuer":
|
|
48
|
+
return new exports.ClusterIssuer(name, undefined, { urn });
|
|
49
|
+
case "kubernetes:cert-manager.io/v1:Issuer":
|
|
50
|
+
return new exports.Issuer(name, undefined, { urn });
|
|
51
|
+
default:
|
|
52
|
+
throw new Error(`unknown resource type ${type}`);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "cert-manager.io/v1", _module);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* An Issuer represents a certificate issuing authority which can be
|
|
7
|
+
* referenced as part of `issuerRef` fields.
|
|
8
|
+
* It is scoped to a single namespace and can therefore only be referenced by
|
|
9
|
+
* resources within the same namespace.
|
|
10
|
+
*/
|
|
11
|
+
export declare class Issuer extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Issuer resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Issuer;
|
|
21
|
+
/** @internal */
|
|
22
|
+
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:Issuer";
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Issuer. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is Issuer;
|
|
28
|
+
readonly apiVersion: pulumi.Output<"cert-manager.io/v1" | undefined>;
|
|
29
|
+
readonly kind: pulumi.Output<"Issuer" | undefined>;
|
|
30
|
+
readonly metadata: pulumi.Output<ObjectMeta | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Desired state of the Issuer resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly spec: pulumi.Output<outputs.certmanager.v1.IssuerSpec>;
|
|
35
|
+
/**
|
|
36
|
+
* Status of the Issuer. This is set and managed automatically.
|
|
37
|
+
*/
|
|
38
|
+
readonly status: pulumi.Output<outputs.certmanager.v1.IssuerStatus | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a Issuer 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?: IssuerArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a Issuer resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface IssuerArgs {
|
|
52
|
+
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
|
53
|
+
kind?: pulumi.Input<"Issuer">;
|
|
54
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
55
|
+
/**
|
|
56
|
+
* Desired state of the Issuer resource.
|
|
57
|
+
*/
|
|
58
|
+
spec?: pulumi.Input<inputs.certmanager.v1.IssuerSpecArgs>;
|
|
59
|
+
/**
|
|
60
|
+
* Status of the Issuer. This is set and managed automatically.
|
|
61
|
+
*/
|
|
62
|
+
status?: pulumi.Input<inputs.certmanager.v1.IssuerStatusArgs>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Issuer = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* An Issuer represents a certificate issuing authority which can be
|
|
33
|
+
* referenced as part of `issuerRef` fields.
|
|
34
|
+
* It is scoped to a single namespace and can therefore only be referenced by
|
|
35
|
+
* resources within the same namespace.
|
|
36
|
+
*/
|
|
37
|
+
class Issuer extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Issuer resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, opts) {
|
|
47
|
+
return new Issuer(name, undefined, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/** @internal */
|
|
50
|
+
static __pulumiType = 'kubernetes:cert-manager.io/v1:Issuer';
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of Issuer. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === Issuer.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
apiVersion;
|
|
62
|
+
kind;
|
|
63
|
+
metadata;
|
|
64
|
+
/**
|
|
65
|
+
* Desired state of the Issuer resource.
|
|
66
|
+
*/
|
|
67
|
+
spec;
|
|
68
|
+
/**
|
|
69
|
+
* Status of the Issuer. This is set and managed automatically.
|
|
70
|
+
*/
|
|
71
|
+
status;
|
|
72
|
+
/**
|
|
73
|
+
* Create a Issuer resource with the given unique name, arguments, and options.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resource.
|
|
76
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
77
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
78
|
+
*/
|
|
79
|
+
constructor(name, args, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (!opts.id) {
|
|
83
|
+
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
|
84
|
+
resourceInputs["kind"] = "Issuer";
|
|
85
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
86
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
87
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
95
|
+
}
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
+
super(Issuer.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.Issuer = Issuer;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export { ProviderArgs } from "./provider";
|
|
2
2
|
export type Provider = import("./provider").Provider;
|
|
3
3
|
export declare const Provider: typeof import("./provider").Provider;
|
|
4
|
+
import * as acme from "./acme";
|
|
4
5
|
import * as argoproj from "./argoproj";
|
|
6
|
+
import * as certmanager from "./certmanager";
|
|
5
7
|
import * as postgresql from "./postgresql";
|
|
6
8
|
import * as types from "./types";
|
|
7
|
-
export { argoproj, postgresql, types, };
|
|
9
|
+
export { acme, argoproj, certmanager, postgresql, types, };
|
package/dist/index.js
CHANGED
|
@@ -25,14 +25,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.types = exports.postgresql = exports.argoproj = exports.Provider = void 0;
|
|
28
|
+
exports.types = exports.postgresql = exports.certmanager = exports.argoproj = exports.acme = exports.Provider = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
exports.Provider = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
33
33
|
// Export sub-modules:
|
|
34
|
+
const acme = __importStar(require("./acme"));
|
|
35
|
+
exports.acme = acme;
|
|
34
36
|
const argoproj = __importStar(require("./argoproj"));
|
|
35
37
|
exports.argoproj = argoproj;
|
|
38
|
+
const certmanager = __importStar(require("./certmanager"));
|
|
39
|
+
exports.certmanager = certmanager;
|
|
36
40
|
const postgresql = __importStar(require("./postgresql"));
|
|
37
41
|
exports.postgresql = postgresql;
|
|
38
42
|
const types = __importStar(require("./types"));
|