Update CRDs

This commit is contained in:
github-actions[bot]
2025-11-24 06:29:12 +00:00
parent 80143bb811
commit 594b3cd9db
263 changed files with 220875 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
import * as v1 from "./v1";
export { v1, };

View File

@@ -0,0 +1,8 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.v1 = void 0;
// Export sub-modules:
const v1 = require("./v1");
exports.v1 = v1;

View File

@@ -0,0 +1,11 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as utilities from "../utilities";
// Export sub-modules:
import * as v1 from "./v1";
export {
v1,
};

View File

@@ -0,0 +1,67 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
export declare class Certificate extends pulumi.CustomResource {
/**
* Get an existing Certificate resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Certificate;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:Certificate";
/**
* Returns true if the given object is an instance of Certificate. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Certificate;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateSpec>;
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateStatus>;
/**
* Create a Certificate resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Certificate resource.
*/
export interface CertificateArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpec>;
}

View File

@@ -0,0 +1,66 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.Certificate = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
class Certificate extends pulumi.CustomResource {
/**
* Get an existing Certificate resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new Certificate(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of Certificate. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === Certificate.__pulumiType;
}
/**
* Create a Certificate resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Certificate";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Certificate.__pulumiType, name, resourceInputs, opts);
}
}
exports.Certificate = Certificate;
/** @internal */
Certificate.__pulumiType = 'kubernetes:cert-manager.io/v1:Certificate';

View File

@@ -0,0 +1,102 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
export class Certificate extends pulumi.CustomResource {
/**
* Get an existing Certificate resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Certificate {
return new Certificate(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:Certificate';
/**
* Returns true if the given object is an instance of Certificate. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is Certificate {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === Certificate.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateStatus>;
/**
* Create a Certificate resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Certificate";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Certificate.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a Certificate resource.
*/
export interface CertificateArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* CertificateList is a list of Certificate
*/
export declare class CertificateList extends pulumi.CustomResource {
/**
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateList;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateList";
/**
* Returns true if the given object is an instance of CertificateList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CertificateList;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.cert_manager.v1.Certificate[]>;
/**
* 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
*/
readonly kind: pulumi.Output<"CertificateList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a CertificateList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a CertificateList resource.
*/
export interface CertificateListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Certificate>[]>;
/**
* 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
*/
kind?: pulumi.Input<"CertificateList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,64 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.CertificateList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* CertificateList is a list of Certificate
*/
class CertificateList extends pulumi.CustomResource {
/**
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new CertificateList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of CertificateList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateList.__pulumiType;
}
/**
* Create a CertificateList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "CertificateList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateList.__pulumiType, name, resourceInputs, opts);
}
}
exports.CertificateList = CertificateList;
/** @internal */
CertificateList.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateList';

View File

@@ -0,0 +1,105 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* CertificateList is a list of Certificate
*/
export class CertificateList extends pulumi.CustomResource {
/**
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateList {
return new CertificateList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateList';
/**
* Returns true if the given object is an instance of CertificateList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is CertificateList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateList.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.cert_manager.v1.Certificate[]>;
/**
* 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
*/
public readonly kind!: pulumi.Output<"CertificateList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a CertificateList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateListArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "CertificateList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a CertificateList resource.
*/
export interface CertificateListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Certificate>[]>;
/**
* 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
*/
kind?: pulumi.Input<"CertificateList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,73 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
export declare class CertificatePatch extends pulumi.CustomResource {
/**
* Get an existing CertificatePatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificatePatch;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificatePatch";
/**
* Returns true if the given object is an instance of CertificatePatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CertificatePatch;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateSpecPatch>;
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateStatusPatch>;
/**
* Create a CertificatePatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificatePatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a CertificatePatch resource.
*/
export interface CertificatePatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpecPatch>;
}

View File

@@ -0,0 +1,72 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.CertificatePatch = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
class CertificatePatch extends pulumi.CustomResource {
/**
* Get an existing CertificatePatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new CertificatePatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of CertificatePatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificatePatch.__pulumiType;
}
/**
* Create a CertificatePatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Certificate";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificatePatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.CertificatePatch = CertificatePatch;
/** @internal */
CertificatePatch.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificatePatch';

View File

@@ -0,0 +1,108 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
export class CertificatePatch extends pulumi.CustomResource {
/**
* Get an existing CertificatePatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificatePatch {
return new CertificatePatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificatePatch';
/**
* Returns true if the given object is an instance of CertificatePatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is CertificatePatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificatePatch.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateStatusPatch>;
/**
* Create a CertificatePatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificatePatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Certificate";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificatePatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a CertificatePatch resource.
*/
export interface CertificatePatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Certificate">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpecPatch>;
}

View File

@@ -0,0 +1,72 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
export declare class CertificateRequest extends pulumi.CustomResource {
/**
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequest;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequest";
/**
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CertificateRequest;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpec>;
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatus>;
/**
* Create a CertificateRequest resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateRequestArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a CertificateRequest resource.
*/
export interface CertificateRequestArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpec>;
}

View File

@@ -0,0 +1,71 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.CertificateRequest = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
class CertificateRequest extends pulumi.CustomResource {
/**
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new CertificateRequest(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateRequest.__pulumiType;
}
/**
* Create a CertificateRequest resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "CertificateRequest";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateRequest.__pulumiType, name, resourceInputs, opts);
}
}
exports.CertificateRequest = CertificateRequest;
/** @internal */
CertificateRequest.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequest';

View File

@@ -0,0 +1,107 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
export class CertificateRequest extends pulumi.CustomResource {
/**
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequest {
return new CertificateRequest(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequest';
/**
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is CertificateRequest {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateRequest.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatus>;
/**
* Create a CertificateRequest resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateRequestArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "CertificateRequest";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateRequest.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a CertificateRequest resource.
*/
export interface CertificateRequestArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* CertificateRequestList is a list of CertificateRequest
*/
export declare class CertificateRequestList extends pulumi.CustomResource {
/**
* Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestList;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequestList";
/**
* Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CertificateRequestList;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.cert_manager.v1.CertificateRequest[]>;
/**
* 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
*/
readonly kind: pulumi.Output<"CertificateRequestList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a CertificateRequestList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateRequestListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a CertificateRequestList resource.
*/
export interface CertificateRequestListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.CertificateRequest>[]>;
/**
* 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
*/
kind?: pulumi.Input<"CertificateRequestList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,64 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.CertificateRequestList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* CertificateRequestList is a list of CertificateRequest
*/
class CertificateRequestList extends pulumi.CustomResource {
/**
* Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new CertificateRequestList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateRequestList.__pulumiType;
}
/**
* Create a CertificateRequestList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "CertificateRequestList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateRequestList.__pulumiType, name, resourceInputs, opts);
}
}
exports.CertificateRequestList = CertificateRequestList;
/** @internal */
CertificateRequestList.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestList';

View File

@@ -0,0 +1,105 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* CertificateRequestList is a list of CertificateRequest
*/
export class CertificateRequestList extends pulumi.CustomResource {
/**
* Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestList {
return new CertificateRequestList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestList';
/**
* Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is CertificateRequestList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateRequestList.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.cert_manager.v1.CertificateRequest[]>;
/**
* 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
*/
public readonly kind!: pulumi.Output<"CertificateRequestList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a CertificateRequestList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateRequestListArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "CertificateRequestList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateRequestList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a CertificateRequestList resource.
*/
export interface CertificateRequestListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.CertificateRequest>[]>;
/**
* 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
*/
kind?: pulumi.Input<"CertificateRequestList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,78 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
export declare class CertificateRequestPatch extends pulumi.CustomResource {
/**
* Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestPatch;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequestPatch";
/**
* Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CertificateRequestPatch;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpecPatch>;
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatusPatch>;
/**
* Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateRequestPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a CertificateRequestPatch resource.
*/
export interface CertificateRequestPatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpecPatch>;
}

View File

@@ -0,0 +1,77 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.CertificateRequestPatch = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
class CertificateRequestPatch extends pulumi.CustomResource {
/**
* Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new CertificateRequestPatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateRequestPatch.__pulumiType;
}
/**
* Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "CertificateRequest";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateRequestPatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.CertificateRequestPatch = CertificateRequestPatch;
/** @internal */
CertificateRequestPatch.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestPatch';

View File

@@ -0,0 +1,113 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
export class CertificateRequestPatch extends pulumi.CustomResource {
/**
* Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestPatch {
return new CertificateRequestPatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestPatch';
/**
* Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is CertificateRequestPatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CertificateRequestPatch.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatusPatch>;
/**
* Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateRequestPatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "CertificateRequest";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(CertificateRequestPatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a CertificateRequestPatch resource.
*/
export interface CertificateRequestPatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"CertificateRequest">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpecPatch>;
}

View File

@@ -0,0 +1,68 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* A ClusterIssuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is similar to an Issuer, however it is cluster-scoped and therefore can
* be referenced by resources that exist in *any* namespace, not just the same
* namespace as the referent.
*/
export declare class ClusterIssuer extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuer;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuer";
/**
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ClusterIssuer;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpec>;
readonly status: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatus>;
/**
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterIssuerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ClusterIssuer resource.
*/
export interface ClusterIssuerArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpec>;
}

View File

@@ -0,0 +1,67 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClusterIssuer = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* A ClusterIssuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is similar to an Issuer, however it is cluster-scoped and therefore can
* be referenced by resources that exist in *any* namespace, not just the same
* namespace as the referent.
*/
class ClusterIssuer extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new ClusterIssuer(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ClusterIssuer.__pulumiType;
}
/**
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "ClusterIssuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterIssuer.__pulumiType, name, resourceInputs, opts);
}
}
exports.ClusterIssuer = ClusterIssuer;
/** @internal */
ClusterIssuer.__pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuer';

View File

@@ -0,0 +1,103 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* A ClusterIssuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is similar to an Issuer, however it is cluster-scoped and therefore can
* be referenced by resources that exist in *any* namespace, not just the same
* namespace as the referent.
*/
export class ClusterIssuer extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuer {
return new ClusterIssuer(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuer';
/**
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is ClusterIssuer {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ClusterIssuer.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatus>;
/**
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterIssuerArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "ClusterIssuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterIssuer.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a ClusterIssuer resource.
*/
export interface ClusterIssuerArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* ClusterIssuerList is a list of ClusterIssuer
*/
export declare class ClusterIssuerList extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerList;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuerList";
/**
* Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ClusterIssuerList;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.cert_manager.v1.ClusterIssuer[]>;
/**
* 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
*/
readonly kind: pulumi.Output<"ClusterIssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a ClusterIssuerList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterIssuerListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ClusterIssuerList resource.
*/
export interface ClusterIssuerListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.ClusterIssuer>[]>;
/**
* 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
*/
kind?: pulumi.Input<"ClusterIssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,64 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClusterIssuerList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* ClusterIssuerList is a list of ClusterIssuer
*/
class ClusterIssuerList extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new ClusterIssuerList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ClusterIssuerList.__pulumiType;
}
/**
* Create a ClusterIssuerList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "ClusterIssuerList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterIssuerList.__pulumiType, name, resourceInputs, opts);
}
}
exports.ClusterIssuerList = ClusterIssuerList;
/** @internal */
ClusterIssuerList.__pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerList';

View File

@@ -0,0 +1,105 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* ClusterIssuerList is a list of ClusterIssuer
*/
export class ClusterIssuerList extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerList {
return new ClusterIssuerList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerList';
/**
* Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is ClusterIssuerList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ClusterIssuerList.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuer[]>;
/**
* 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
*/
public readonly kind!: pulumi.Output<"ClusterIssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a ClusterIssuerList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterIssuerListArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "ClusterIssuerList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterIssuerList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a ClusterIssuerList resource.
*/
export interface ClusterIssuerListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.ClusterIssuer>[]>;
/**
* 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
*/
kind?: pulumi.Input<"ClusterIssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,74 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A ClusterIssuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is similar to an Issuer, however it is cluster-scoped and therefore can
* be referenced by resources that exist in *any* namespace, not just the same
* namespace as the referent.
*/
export declare class ClusterIssuerPatch extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerPatch;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuerPatch";
/**
* Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ClusterIssuerPatch;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpecPatch>;
readonly status: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatusPatch>;
/**
* Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterIssuerPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ClusterIssuerPatch resource.
*/
export interface ClusterIssuerPatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpecPatch>;
}

View File

@@ -0,0 +1,73 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClusterIssuerPatch = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A ClusterIssuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is similar to an Issuer, however it is cluster-scoped and therefore can
* be referenced by resources that exist in *any* namespace, not just the same
* namespace as the referent.
*/
class ClusterIssuerPatch extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new ClusterIssuerPatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ClusterIssuerPatch.__pulumiType;
}
/**
* Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "ClusterIssuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterIssuerPatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.ClusterIssuerPatch = ClusterIssuerPatch;
/** @internal */
ClusterIssuerPatch.__pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerPatch';

View File

@@ -0,0 +1,109 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* A ClusterIssuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is similar to an Issuer, however it is cluster-scoped and therefore can
* be referenced by resources that exist in *any* namespace, not just the same
* namespace as the referent.
*/
export class ClusterIssuerPatch extends pulumi.CustomResource {
/**
* Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerPatch {
return new ClusterIssuerPatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerPatch';
/**
* Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is ClusterIssuerPatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ClusterIssuerPatch.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatusPatch>;
/**
* Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterIssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "ClusterIssuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterIssuerPatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a ClusterIssuerPatch resource.
*/
export interface ClusterIssuerPatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"ClusterIssuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpecPatch>;
}

View File

@@ -0,0 +1,36 @@
export { CertificateArgs } from "./certificate";
export type Certificate = import("./certificate").Certificate;
export declare const Certificate: typeof import("./certificate").Certificate;
export { CertificateListArgs } from "./certificateList";
export type CertificateList = import("./certificateList").CertificateList;
export declare const CertificateList: typeof import("./certificateList").CertificateList;
export { CertificatePatchArgs } from "./certificatePatch";
export type CertificatePatch = import("./certificatePatch").CertificatePatch;
export declare const CertificatePatch: typeof import("./certificatePatch").CertificatePatch;
export { CertificateRequestArgs } from "./certificateRequest";
export type CertificateRequest = import("./certificateRequest").CertificateRequest;
export declare const CertificateRequest: typeof import("./certificateRequest").CertificateRequest;
export { CertificateRequestListArgs } from "./certificateRequestList";
export type CertificateRequestList = import("./certificateRequestList").CertificateRequestList;
export declare const CertificateRequestList: typeof import("./certificateRequestList").CertificateRequestList;
export { CertificateRequestPatchArgs } from "./certificateRequestPatch";
export type CertificateRequestPatch = import("./certificateRequestPatch").CertificateRequestPatch;
export declare const CertificateRequestPatch: typeof import("./certificateRequestPatch").CertificateRequestPatch;
export { ClusterIssuerArgs } from "./clusterIssuer";
export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
export declare const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer;
export { ClusterIssuerListArgs } from "./clusterIssuerList";
export type ClusterIssuerList = import("./clusterIssuerList").ClusterIssuerList;
export declare const ClusterIssuerList: typeof import("./clusterIssuerList").ClusterIssuerList;
export { ClusterIssuerPatchArgs } from "./clusterIssuerPatch";
export type ClusterIssuerPatch = import("./clusterIssuerPatch").ClusterIssuerPatch;
export declare const ClusterIssuerPatch: typeof import("./clusterIssuerPatch").ClusterIssuerPatch;
export { IssuerArgs } from "./issuer";
export type Issuer = import("./issuer").Issuer;
export declare const Issuer: typeof import("./issuer").Issuer;
export { IssuerListArgs } from "./issuerList";
export type IssuerList = import("./issuerList").IssuerList;
export declare const IssuerList: typeof import("./issuerList").IssuerList;
export { IssuerPatchArgs } from "./issuerPatch";
export type IssuerPatch = import("./issuerPatch").IssuerPatch;
export declare const IssuerPatch: typeof import("./issuerPatch").IssuerPatch;

View File

@@ -0,0 +1,65 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.IssuerPatch = exports.IssuerList = exports.Issuer = exports.ClusterIssuerPatch = exports.ClusterIssuerList = exports.ClusterIssuer = exports.CertificateRequestPatch = exports.CertificateRequestList = exports.CertificateRequest = exports.CertificatePatch = exports.CertificateList = exports.Certificate = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.Certificate = null;
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
exports.CertificateList = null;
utilities.lazyLoad(exports, ["CertificateList"], () => require("./certificateList"));
exports.CertificatePatch = null;
utilities.lazyLoad(exports, ["CertificatePatch"], () => require("./certificatePatch"));
exports.CertificateRequest = null;
utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
exports.CertificateRequestList = null;
utilities.lazyLoad(exports, ["CertificateRequestList"], () => require("./certificateRequestList"));
exports.CertificateRequestPatch = null;
utilities.lazyLoad(exports, ["CertificateRequestPatch"], () => require("./certificateRequestPatch"));
exports.ClusterIssuer = null;
utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
exports.ClusterIssuerList = null;
utilities.lazyLoad(exports, ["ClusterIssuerList"], () => require("./clusterIssuerList"));
exports.ClusterIssuerPatch = null;
utilities.lazyLoad(exports, ["ClusterIssuerPatch"], () => require("./clusterIssuerPatch"));
exports.Issuer = null;
utilities.lazyLoad(exports, ["Issuer"], () => require("./issuer"));
exports.IssuerList = null;
utilities.lazyLoad(exports, ["IssuerList"], () => require("./issuerList"));
exports.IssuerPatch = null;
utilities.lazyLoad(exports, ["IssuerPatch"], () => require("./issuerPatch"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:cert-manager.io/v1:Certificate":
return new exports.Certificate(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:CertificateList":
return new exports.CertificateList(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:CertificatePatch":
return new exports.CertificatePatch(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:CertificateRequest":
return new exports.CertificateRequest(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:CertificateRequestList":
return new exports.CertificateRequestList(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:CertificateRequestPatch":
return new exports.CertificateRequestPatch(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:ClusterIssuer":
return new exports.ClusterIssuer(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:ClusterIssuerList":
return new exports.ClusterIssuerList(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:ClusterIssuerPatch":
return new exports.ClusterIssuerPatch(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:Issuer":
return new exports.Issuer(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:IssuerList":
return new exports.IssuerList(name, undefined, { urn });
case "kubernetes:cert-manager.io/v1:IssuerPatch":
return new exports.IssuerPatch(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "cert-manager.io/v1", _module);

View File

@@ -0,0 +1,102 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../../utilities";
// Export members:
export { CertificateArgs } from "./certificate";
export type Certificate = import("./certificate").Certificate;
export const Certificate: typeof import("./certificate").Certificate = null as any;
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
export { CertificateListArgs } from "./certificateList";
export type CertificateList = import("./certificateList").CertificateList;
export const CertificateList: typeof import("./certificateList").CertificateList = null as any;
utilities.lazyLoad(exports, ["CertificateList"], () => require("./certificateList"));
export { CertificatePatchArgs } from "./certificatePatch";
export type CertificatePatch = import("./certificatePatch").CertificatePatch;
export const CertificatePatch: typeof import("./certificatePatch").CertificatePatch = null as any;
utilities.lazyLoad(exports, ["CertificatePatch"], () => require("./certificatePatch"));
export { CertificateRequestArgs } from "./certificateRequest";
export type CertificateRequest = import("./certificateRequest").CertificateRequest;
export const CertificateRequest: typeof import("./certificateRequest").CertificateRequest = null as any;
utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
export { CertificateRequestListArgs } from "./certificateRequestList";
export type CertificateRequestList = import("./certificateRequestList").CertificateRequestList;
export const CertificateRequestList: typeof import("./certificateRequestList").CertificateRequestList = null as any;
utilities.lazyLoad(exports, ["CertificateRequestList"], () => require("./certificateRequestList"));
export { CertificateRequestPatchArgs } from "./certificateRequestPatch";
export type CertificateRequestPatch = import("./certificateRequestPatch").CertificateRequestPatch;
export const CertificateRequestPatch: typeof import("./certificateRequestPatch").CertificateRequestPatch = null as any;
utilities.lazyLoad(exports, ["CertificateRequestPatch"], () => require("./certificateRequestPatch"));
export { ClusterIssuerArgs } from "./clusterIssuer";
export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
export const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer = null as any;
utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
export { ClusterIssuerListArgs } from "./clusterIssuerList";
export type ClusterIssuerList = import("./clusterIssuerList").ClusterIssuerList;
export const ClusterIssuerList: typeof import("./clusterIssuerList").ClusterIssuerList = null as any;
utilities.lazyLoad(exports, ["ClusterIssuerList"], () => require("./clusterIssuerList"));
export { ClusterIssuerPatchArgs } from "./clusterIssuerPatch";
export type ClusterIssuerPatch = import("./clusterIssuerPatch").ClusterIssuerPatch;
export const ClusterIssuerPatch: typeof import("./clusterIssuerPatch").ClusterIssuerPatch = null as any;
utilities.lazyLoad(exports, ["ClusterIssuerPatch"], () => require("./clusterIssuerPatch"));
export { IssuerArgs } from "./issuer";
export type Issuer = import("./issuer").Issuer;
export const Issuer: typeof import("./issuer").Issuer = null as any;
utilities.lazyLoad(exports, ["Issuer"], () => require("./issuer"));
export { IssuerListArgs } from "./issuerList";
export type IssuerList = import("./issuerList").IssuerList;
export const IssuerList: typeof import("./issuerList").IssuerList = null as any;
utilities.lazyLoad(exports, ["IssuerList"], () => require("./issuerList"));
export { IssuerPatchArgs } from "./issuerPatch";
export type IssuerPatch = import("./issuerPatch").IssuerPatch;
export const IssuerPatch: typeof import("./issuerPatch").IssuerPatch = null as any;
utilities.lazyLoad(exports, ["IssuerPatch"], () => require("./issuerPatch"));
const _module = {
version: utilities.getVersion(),
construct: (name: string, type: string, urn: string): pulumi.Resource => {
switch (type) {
case "kubernetes:cert-manager.io/v1:Certificate":
return new Certificate(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:CertificateList":
return new CertificateList(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:CertificatePatch":
return new CertificatePatch(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:CertificateRequest":
return new CertificateRequest(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:CertificateRequestList":
return new CertificateRequestList(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:CertificateRequestPatch":
return new CertificateRequestPatch(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:ClusterIssuer":
return new ClusterIssuer(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:ClusterIssuerList":
return new ClusterIssuerList(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:ClusterIssuerPatch":
return new ClusterIssuerPatch(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:Issuer":
return new Issuer(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:IssuerList":
return new IssuerList(name, <any>undefined, { urn })
case "kubernetes:cert-manager.io/v1:IssuerPatch":
return new IssuerPatch(name, <any>undefined, { urn })
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "cert-manager.io/v1", _module)

View File

@@ -0,0 +1,67 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* An Issuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is scoped to a single namespace and can therefore only be referenced by
* resources within the same namespace.
*/
export declare class Issuer extends pulumi.CustomResource {
/**
* Get an existing Issuer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Issuer;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:Issuer";
/**
* Returns true if the given object is an instance of Issuer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Issuer;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.IssuerSpec>;
readonly status: pulumi.Output<outputs.cert_manager.v1.IssuerStatus>;
/**
* Create a Issuer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IssuerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Issuer resource.
*/
export interface IssuerArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpec>;
}

View File

@@ -0,0 +1,66 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.Issuer = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* An Issuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is scoped to a single namespace and can therefore only be referenced by
* resources within the same namespace.
*/
class Issuer extends pulumi.CustomResource {
/**
* Get an existing Issuer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new Issuer(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of Issuer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === Issuer.__pulumiType;
}
/**
* Create a Issuer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Issuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Issuer.__pulumiType, name, resourceInputs, opts);
}
}
exports.Issuer = Issuer;
/** @internal */
Issuer.__pulumiType = 'kubernetes:cert-manager.io/v1:Issuer';

View File

@@ -0,0 +1,102 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* An Issuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is scoped to a single namespace and can therefore only be referenced by
* resources within the same namespace.
*/
export class Issuer extends pulumi.CustomResource {
/**
* Get an existing Issuer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Issuer {
return new Issuer(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:Issuer';
/**
* Returns true if the given object is an instance of Issuer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is Issuer {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === Issuer.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatus>;
/**
* Create a Issuer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IssuerArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Issuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Issuer.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a Issuer resource.
*/
export interface IssuerArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* IssuerList is a list of Issuer
*/
export declare class IssuerList extends pulumi.CustomResource {
/**
* Get an existing IssuerList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerList;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:IssuerList";
/**
* Returns true if the given object is an instance of IssuerList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is IssuerList;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.cert_manager.v1.Issuer[]>;
/**
* 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
*/
readonly kind: pulumi.Output<"IssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a IssuerList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IssuerListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a IssuerList resource.
*/
export interface IssuerListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Issuer>[]>;
/**
* 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
*/
kind?: pulumi.Input<"IssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,64 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.IssuerList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* IssuerList is a list of Issuer
*/
class IssuerList extends pulumi.CustomResource {
/**
* Get an existing IssuerList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new IssuerList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of IssuerList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === IssuerList.__pulumiType;
}
/**
* Create a IssuerList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "IssuerList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(IssuerList.__pulumiType, name, resourceInputs, opts);
}
}
exports.IssuerList = IssuerList;
/** @internal */
IssuerList.__pulumiType = 'kubernetes:cert-manager.io/v1:IssuerList';

View File

@@ -0,0 +1,105 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* IssuerList is a list of Issuer
*/
export class IssuerList extends pulumi.CustomResource {
/**
* Get an existing IssuerList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerList {
return new IssuerList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerList';
/**
* Returns true if the given object is an instance of IssuerList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is IssuerList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === IssuerList.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.cert_manager.v1.Issuer[]>;
/**
* 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
*/
public readonly kind!: pulumi.Output<"IssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
/**
* Create a IssuerList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IssuerListArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
if ((!args || args.items === undefined) && !opts.urn) {
throw new Error("Missing required property 'items'");
}
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "IssuerList";
resourceInputs["metadata"] = args ? args.metadata : undefined;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["items"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(IssuerList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a IssuerList resource.
*/
export interface IssuerListArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Issuer>[]>;
/**
* 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
*/
kind?: pulumi.Input<"IssuerList">;
/**
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
}

View File

@@ -0,0 +1,73 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* An Issuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is scoped to a single namespace and can therefore only be referenced by
* resources within the same namespace.
*/
export declare class IssuerPatch extends pulumi.CustomResource {
/**
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerPatch;
/** @internal */
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:IssuerPatch";
/**
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is IssuerPatch;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
readonly kind: pulumi.Output<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
readonly spec: pulumi.Output<outputs.cert_manager.v1.IssuerSpecPatch>;
readonly status: pulumi.Output<outputs.cert_manager.v1.IssuerStatusPatch>;
/**
* Create a IssuerPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IssuerPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a IssuerPatch resource.
*/
export interface IssuerPatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpecPatch>;
}

View File

@@ -0,0 +1,72 @@
"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.IssuerPatch = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* An Issuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is scoped to a single namespace and can therefore only be referenced by
* resources within the same namespace.
*/
class IssuerPatch extends pulumi.CustomResource {
/**
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new IssuerPatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === IssuerPatch.__pulumiType;
}
/**
* Create a IssuerPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Issuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
}
else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(IssuerPatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.IssuerPatch = IssuerPatch;
/** @internal */
IssuerPatch.__pulumiType = 'kubernetes:cert-manager.io/v1:IssuerPatch';

View File

@@ -0,0 +1,108 @@
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "../../utilities";
/**
* Patch resources are used to modify existing Kubernetes resources by using
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
* An Issuer represents a certificate issuing authority which can be
* referenced as part of `issuerRef` fields.
* It is scoped to a single namespace and can therefore only be referenced by
* resources within the same namespace.
*/
export class IssuerPatch extends pulumi.CustomResource {
/**
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerPatch {
return new IssuerPatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerPatch';
/**
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is IssuerPatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === IssuerPatch.__pulumiType;
}
/**
* 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
*/
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
/**
* 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
*/
public readonly kind!: pulumi.Output<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatusPatch>;
/**
* Create a IssuerPatch resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: IssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "cert-manager.io/v1";
resourceInputs["kind"] = "Issuer";
resourceInputs["metadata"] = args ? args.metadata : undefined;
resourceInputs["spec"] = args ? args.spec : undefined;
resourceInputs["status"] = undefined /*out*/;
} else {
resourceInputs["apiVersion"] = undefined /*out*/;
resourceInputs["kind"] = undefined /*out*/;
resourceInputs["metadata"] = undefined /*out*/;
resourceInputs["spec"] = undefined /*out*/;
resourceInputs["status"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(IssuerPatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a IssuerPatch resource.
*/
export interface IssuerPatchArgs {
/**
* 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
*/
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
/**
* 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
*/
kind?: pulumi.Input<"Issuer">;
/**
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpecPatch>;
}