v1

package
v3.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSigningRequest

type CertificateSigningRequest struct {
	pulumi.CustomResourceState

	// 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.StringPtrOutput `pulumi:"apiVersion"`
	// 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.StringPtrOutput     `pulumi:"kind"`
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpecOutput `pulumi:"spec"`
	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status CertificateSigningRequestStatusPtrOutput `pulumi:"status"`
}

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

func GetCertificateSigningRequest

func GetCertificateSigningRequest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateSigningRequestState, opts ...pulumi.ResourceOption) (*CertificateSigningRequest, error)

GetCertificateSigningRequest gets an existing CertificateSigningRequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificateSigningRequest

func NewCertificateSigningRequest(ctx *pulumi.Context,
	name string, args *CertificateSigningRequestArgs, opts ...pulumi.ResourceOption) (*CertificateSigningRequest, error)

NewCertificateSigningRequest registers a new resource with the given unique name, arguments, and options.

func (*CertificateSigningRequest) ElementType

func (*CertificateSigningRequest) ElementType() reflect.Type

func (*CertificateSigningRequest) ToCertificateSigningRequestOutput

func (i *CertificateSigningRequest) ToCertificateSigningRequestOutput() CertificateSigningRequestOutput

func (*CertificateSigningRequest) ToCertificateSigningRequestOutputWithContext

func (i *CertificateSigningRequest) ToCertificateSigningRequestOutputWithContext(ctx context.Context) CertificateSigningRequestOutput

type CertificateSigningRequestArgs

type CertificateSigningRequestArgs struct {
	// 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.StringPtrInput
	// 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.StringPtrInput
	Metadata metav1.ObjectMetaPtrInput
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpecInput
}

The set of arguments for constructing a CertificateSigningRequest resource.

func (CertificateSigningRequestArgs) ElementType

type CertificateSigningRequestArray

type CertificateSigningRequestArray []CertificateSigningRequestInput

func (CertificateSigningRequestArray) ElementType

func (CertificateSigningRequestArray) ToCertificateSigningRequestArrayOutput

func (i CertificateSigningRequestArray) ToCertificateSigningRequestArrayOutput() CertificateSigningRequestArrayOutput

func (CertificateSigningRequestArray) ToCertificateSigningRequestArrayOutputWithContext

func (i CertificateSigningRequestArray) ToCertificateSigningRequestArrayOutputWithContext(ctx context.Context) CertificateSigningRequestArrayOutput

type CertificateSigningRequestArrayInput

type CertificateSigningRequestArrayInput interface {
	pulumi.Input

	ToCertificateSigningRequestArrayOutput() CertificateSigningRequestArrayOutput
	ToCertificateSigningRequestArrayOutputWithContext(context.Context) CertificateSigningRequestArrayOutput
}

CertificateSigningRequestArrayInput is an input type that accepts CertificateSigningRequestArray and CertificateSigningRequestArrayOutput values. You can construct a concrete instance of `CertificateSigningRequestArrayInput` via:

CertificateSigningRequestArray{ CertificateSigningRequestArgs{...} }

type CertificateSigningRequestArrayOutput

type CertificateSigningRequestArrayOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestArrayOutput) ElementType

func (CertificateSigningRequestArrayOutput) Index

func (CertificateSigningRequestArrayOutput) ToCertificateSigningRequestArrayOutput

func (o CertificateSigningRequestArrayOutput) ToCertificateSigningRequestArrayOutput() CertificateSigningRequestArrayOutput

func (CertificateSigningRequestArrayOutput) ToCertificateSigningRequestArrayOutputWithContext

func (o CertificateSigningRequestArrayOutput) ToCertificateSigningRequestArrayOutputWithContext(ctx context.Context) CertificateSigningRequestArrayOutput

type CertificateSigningRequestCondition

type CertificateSigningRequestCondition struct {
	// lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// lastUpdateTime is the time of the last update to this condition
	LastUpdateTime *string `pulumi:"lastUpdateTime"`
	// message contains a human readable message with details about the request state
	Message *string `pulumi:"message"`
	// reason indicates a brief reason for the request state
	Reason *string `pulumi:"reason"`
	// status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".
	Status string `pulumi:"status"`
	// type of the condition. Known conditions are "Approved", "Denied", and "Failed".
	//
	// An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.
	//
	// A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.
	//
	// A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.
	//
	// Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.
	//
	// Only one condition of a given type is allowed.
	Type string `pulumi:"type"`
}

CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

type CertificateSigningRequestConditionArgs

type CertificateSigningRequestConditionArgs struct {
	// lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// lastUpdateTime is the time of the last update to this condition
	LastUpdateTime pulumi.StringPtrInput `pulumi:"lastUpdateTime"`
	// message contains a human readable message with details about the request state
	Message pulumi.StringPtrInput `pulumi:"message"`
	// reason indicates a brief reason for the request state
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".
	Status pulumi.StringInput `pulumi:"status"`
	// type of the condition. Known conditions are "Approved", "Denied", and "Failed".
	//
	// An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.
	//
	// A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.
	//
	// A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.
	//
	// Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.
	//
	// Only one condition of a given type is allowed.
	Type pulumi.StringInput `pulumi:"type"`
}

CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

func (CertificateSigningRequestConditionArgs) ElementType

func (CertificateSigningRequestConditionArgs) ToCertificateSigningRequestConditionOutput

func (i CertificateSigningRequestConditionArgs) ToCertificateSigningRequestConditionOutput() CertificateSigningRequestConditionOutput

func (CertificateSigningRequestConditionArgs) ToCertificateSigningRequestConditionOutputWithContext

func (i CertificateSigningRequestConditionArgs) ToCertificateSigningRequestConditionOutputWithContext(ctx context.Context) CertificateSigningRequestConditionOutput

type CertificateSigningRequestConditionArray

type CertificateSigningRequestConditionArray []CertificateSigningRequestConditionInput

func (CertificateSigningRequestConditionArray) ElementType

func (CertificateSigningRequestConditionArray) ToCertificateSigningRequestConditionArrayOutput

func (i CertificateSigningRequestConditionArray) ToCertificateSigningRequestConditionArrayOutput() CertificateSigningRequestConditionArrayOutput

func (CertificateSigningRequestConditionArray) ToCertificateSigningRequestConditionArrayOutputWithContext

func (i CertificateSigningRequestConditionArray) ToCertificateSigningRequestConditionArrayOutputWithContext(ctx context.Context) CertificateSigningRequestConditionArrayOutput

type CertificateSigningRequestConditionArrayInput

type CertificateSigningRequestConditionArrayInput interface {
	pulumi.Input

	ToCertificateSigningRequestConditionArrayOutput() CertificateSigningRequestConditionArrayOutput
	ToCertificateSigningRequestConditionArrayOutputWithContext(context.Context) CertificateSigningRequestConditionArrayOutput
}

CertificateSigningRequestConditionArrayInput is an input type that accepts CertificateSigningRequestConditionArray and CertificateSigningRequestConditionArrayOutput values. You can construct a concrete instance of `CertificateSigningRequestConditionArrayInput` via:

CertificateSigningRequestConditionArray{ CertificateSigningRequestConditionArgs{...} }

type CertificateSigningRequestConditionArrayOutput

type CertificateSigningRequestConditionArrayOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestConditionArrayOutput) ElementType

func (CertificateSigningRequestConditionArrayOutput) Index

func (CertificateSigningRequestConditionArrayOutput) ToCertificateSigningRequestConditionArrayOutput

func (o CertificateSigningRequestConditionArrayOutput) ToCertificateSigningRequestConditionArrayOutput() CertificateSigningRequestConditionArrayOutput

func (CertificateSigningRequestConditionArrayOutput) ToCertificateSigningRequestConditionArrayOutputWithContext

func (o CertificateSigningRequestConditionArrayOutput) ToCertificateSigningRequestConditionArrayOutputWithContext(ctx context.Context) CertificateSigningRequestConditionArrayOutput

type CertificateSigningRequestConditionInput

type CertificateSigningRequestConditionInput interface {
	pulumi.Input

	ToCertificateSigningRequestConditionOutput() CertificateSigningRequestConditionOutput
	ToCertificateSigningRequestConditionOutputWithContext(context.Context) CertificateSigningRequestConditionOutput
}

CertificateSigningRequestConditionInput is an input type that accepts CertificateSigningRequestConditionArgs and CertificateSigningRequestConditionOutput values. You can construct a concrete instance of `CertificateSigningRequestConditionInput` via:

CertificateSigningRequestConditionArgs{...}

type CertificateSigningRequestConditionOutput

type CertificateSigningRequestConditionOutput struct{ *pulumi.OutputState }

CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

func (CertificateSigningRequestConditionOutput) ElementType

func (CertificateSigningRequestConditionOutput) LastTransitionTime

lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.

func (CertificateSigningRequestConditionOutput) LastUpdateTime

lastUpdateTime is the time of the last update to this condition

func (CertificateSigningRequestConditionOutput) Message

message contains a human readable message with details about the request state

func (CertificateSigningRequestConditionOutput) Reason

reason indicates a brief reason for the request state

func (CertificateSigningRequestConditionOutput) Status

status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".

func (CertificateSigningRequestConditionOutput) ToCertificateSigningRequestConditionOutput

func (o CertificateSigningRequestConditionOutput) ToCertificateSigningRequestConditionOutput() CertificateSigningRequestConditionOutput

func (CertificateSigningRequestConditionOutput) ToCertificateSigningRequestConditionOutputWithContext

func (o CertificateSigningRequestConditionOutput) ToCertificateSigningRequestConditionOutputWithContext(ctx context.Context) CertificateSigningRequestConditionOutput

func (CertificateSigningRequestConditionOutput) Type

type of the condition. Known conditions are "Approved", "Denied", and "Failed".

An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.

A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.

A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.

Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.

Only one condition of a given type is allowed.

type CertificateSigningRequestConditionPatch added in v3.20.0

type CertificateSigningRequestConditionPatch struct {
	// lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// lastUpdateTime is the time of the last update to this condition
	LastUpdateTime *string `pulumi:"lastUpdateTime"`
	// message contains a human readable message with details about the request state
	Message *string `pulumi:"message"`
	// reason indicates a brief reason for the request state
	Reason *string `pulumi:"reason"`
	// status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".
	Status *string `pulumi:"status"`
	// type of the condition. Known conditions are "Approved", "Denied", and "Failed".
	//
	// An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.
	//
	// A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.
	//
	// A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.
	//
	// Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.
	//
	// Only one condition of a given type is allowed.
	Type *string `pulumi:"type"`
}

CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

type CertificateSigningRequestConditionPatchArgs added in v3.20.0

type CertificateSigningRequestConditionPatchArgs struct {
	// lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// lastUpdateTime is the time of the last update to this condition
	LastUpdateTime pulumi.StringPtrInput `pulumi:"lastUpdateTime"`
	// message contains a human readable message with details about the request state
	Message pulumi.StringPtrInput `pulumi:"message"`
	// reason indicates a brief reason for the request state
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".
	Status pulumi.StringPtrInput `pulumi:"status"`
	// type of the condition. Known conditions are "Approved", "Denied", and "Failed".
	//
	// An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.
	//
	// A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.
	//
	// A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.
	//
	// Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.
	//
	// Only one condition of a given type is allowed.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

func (CertificateSigningRequestConditionPatchArgs) ElementType added in v3.20.0

func (CertificateSigningRequestConditionPatchArgs) ToCertificateSigningRequestConditionPatchOutput added in v3.20.0

func (i CertificateSigningRequestConditionPatchArgs) ToCertificateSigningRequestConditionPatchOutput() CertificateSigningRequestConditionPatchOutput

func (CertificateSigningRequestConditionPatchArgs) ToCertificateSigningRequestConditionPatchOutputWithContext added in v3.20.0

func (i CertificateSigningRequestConditionPatchArgs) ToCertificateSigningRequestConditionPatchOutputWithContext(ctx context.Context) CertificateSigningRequestConditionPatchOutput

type CertificateSigningRequestConditionPatchArray added in v3.20.0

type CertificateSigningRequestConditionPatchArray []CertificateSigningRequestConditionPatchInput

func (CertificateSigningRequestConditionPatchArray) ElementType added in v3.20.0

func (CertificateSigningRequestConditionPatchArray) ToCertificateSigningRequestConditionPatchArrayOutput added in v3.20.0

func (i CertificateSigningRequestConditionPatchArray) ToCertificateSigningRequestConditionPatchArrayOutput() CertificateSigningRequestConditionPatchArrayOutput

func (CertificateSigningRequestConditionPatchArray) ToCertificateSigningRequestConditionPatchArrayOutputWithContext added in v3.20.0

func (i CertificateSigningRequestConditionPatchArray) ToCertificateSigningRequestConditionPatchArrayOutputWithContext(ctx context.Context) CertificateSigningRequestConditionPatchArrayOutput

type CertificateSigningRequestConditionPatchArrayInput added in v3.20.0

type CertificateSigningRequestConditionPatchArrayInput interface {
	pulumi.Input

	ToCertificateSigningRequestConditionPatchArrayOutput() CertificateSigningRequestConditionPatchArrayOutput
	ToCertificateSigningRequestConditionPatchArrayOutputWithContext(context.Context) CertificateSigningRequestConditionPatchArrayOutput
}

CertificateSigningRequestConditionPatchArrayInput is an input type that accepts CertificateSigningRequestConditionPatchArray and CertificateSigningRequestConditionPatchArrayOutput values. You can construct a concrete instance of `CertificateSigningRequestConditionPatchArrayInput` via:

CertificateSigningRequestConditionPatchArray{ CertificateSigningRequestConditionPatchArgs{...} }

type CertificateSigningRequestConditionPatchArrayOutput added in v3.20.0

type CertificateSigningRequestConditionPatchArrayOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestConditionPatchArrayOutput) ElementType added in v3.20.0

func (CertificateSigningRequestConditionPatchArrayOutput) Index added in v3.20.0

func (CertificateSigningRequestConditionPatchArrayOutput) ToCertificateSigningRequestConditionPatchArrayOutput added in v3.20.0

func (o CertificateSigningRequestConditionPatchArrayOutput) ToCertificateSigningRequestConditionPatchArrayOutput() CertificateSigningRequestConditionPatchArrayOutput

func (CertificateSigningRequestConditionPatchArrayOutput) ToCertificateSigningRequestConditionPatchArrayOutputWithContext added in v3.20.0

func (o CertificateSigningRequestConditionPatchArrayOutput) ToCertificateSigningRequestConditionPatchArrayOutputWithContext(ctx context.Context) CertificateSigningRequestConditionPatchArrayOutput

type CertificateSigningRequestConditionPatchInput added in v3.20.0

type CertificateSigningRequestConditionPatchInput interface {
	pulumi.Input

	ToCertificateSigningRequestConditionPatchOutput() CertificateSigningRequestConditionPatchOutput
	ToCertificateSigningRequestConditionPatchOutputWithContext(context.Context) CertificateSigningRequestConditionPatchOutput
}

CertificateSigningRequestConditionPatchInput is an input type that accepts CertificateSigningRequestConditionPatchArgs and CertificateSigningRequestConditionPatchOutput values. You can construct a concrete instance of `CertificateSigningRequestConditionPatchInput` via:

CertificateSigningRequestConditionPatchArgs{...}

type CertificateSigningRequestConditionPatchOutput added in v3.20.0

type CertificateSigningRequestConditionPatchOutput struct{ *pulumi.OutputState }

CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

func (CertificateSigningRequestConditionPatchOutput) ElementType added in v3.20.0

func (CertificateSigningRequestConditionPatchOutput) LastTransitionTime added in v3.20.0

lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.

func (CertificateSigningRequestConditionPatchOutput) LastUpdateTime added in v3.20.0

lastUpdateTime is the time of the last update to this condition

func (CertificateSigningRequestConditionPatchOutput) Message added in v3.20.0

message contains a human readable message with details about the request state

func (CertificateSigningRequestConditionPatchOutput) Reason added in v3.20.0

reason indicates a brief reason for the request state

func (CertificateSigningRequestConditionPatchOutput) Status added in v3.20.0

status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".

func (CertificateSigningRequestConditionPatchOutput) ToCertificateSigningRequestConditionPatchOutput added in v3.20.0

func (o CertificateSigningRequestConditionPatchOutput) ToCertificateSigningRequestConditionPatchOutput() CertificateSigningRequestConditionPatchOutput

func (CertificateSigningRequestConditionPatchOutput) ToCertificateSigningRequestConditionPatchOutputWithContext added in v3.20.0

func (o CertificateSigningRequestConditionPatchOutput) ToCertificateSigningRequestConditionPatchOutputWithContext(ctx context.Context) CertificateSigningRequestConditionPatchOutput

func (CertificateSigningRequestConditionPatchOutput) Type added in v3.20.0

type of the condition. Known conditions are "Approved", "Denied", and "Failed".

An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.

A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.

A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.

Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.

Only one condition of a given type is allowed.

type CertificateSigningRequestInput

type CertificateSigningRequestInput interface {
	pulumi.Input

	ToCertificateSigningRequestOutput() CertificateSigningRequestOutput
	ToCertificateSigningRequestOutputWithContext(ctx context.Context) CertificateSigningRequestOutput
}

type CertificateSigningRequestList

type CertificateSigningRequestList struct {
	pulumi.CustomResourceState

	// 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.StringPtrOutput `pulumi:"apiVersion"`
	// items is a collection of CertificateSigningRequest objects
	Items CertificateSigningRequestTypeArrayOutput `pulumi:"items"`
	// 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.StringPtrOutput   `pulumi:"kind"`
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

CertificateSigningRequestList is a collection of CertificateSigningRequest objects

func GetCertificateSigningRequestList

func GetCertificateSigningRequestList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateSigningRequestListState, opts ...pulumi.ResourceOption) (*CertificateSigningRequestList, error)

GetCertificateSigningRequestList gets an existing CertificateSigningRequestList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificateSigningRequestList

func NewCertificateSigningRequestList(ctx *pulumi.Context,
	name string, args *CertificateSigningRequestListArgs, opts ...pulumi.ResourceOption) (*CertificateSigningRequestList, error)

NewCertificateSigningRequestList registers a new resource with the given unique name, arguments, and options.

func (*CertificateSigningRequestList) ElementType

func (*CertificateSigningRequestList) ToCertificateSigningRequestListOutput

func (i *CertificateSigningRequestList) ToCertificateSigningRequestListOutput() CertificateSigningRequestListOutput

func (*CertificateSigningRequestList) ToCertificateSigningRequestListOutputWithContext

func (i *CertificateSigningRequestList) ToCertificateSigningRequestListOutputWithContext(ctx context.Context) CertificateSigningRequestListOutput

type CertificateSigningRequestListArgs

type CertificateSigningRequestListArgs struct {
	// 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.StringPtrInput
	// items is a collection of CertificateSigningRequest objects
	Items CertificateSigningRequestTypeArrayInput
	// 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.StringPtrInput
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a CertificateSigningRequestList resource.

func (CertificateSigningRequestListArgs) ElementType

type CertificateSigningRequestListArray

type CertificateSigningRequestListArray []CertificateSigningRequestListInput

func (CertificateSigningRequestListArray) ElementType

func (CertificateSigningRequestListArray) ToCertificateSigningRequestListArrayOutput

func (i CertificateSigningRequestListArray) ToCertificateSigningRequestListArrayOutput() CertificateSigningRequestListArrayOutput

func (CertificateSigningRequestListArray) ToCertificateSigningRequestListArrayOutputWithContext

func (i CertificateSigningRequestListArray) ToCertificateSigningRequestListArrayOutputWithContext(ctx context.Context) CertificateSigningRequestListArrayOutput

type CertificateSigningRequestListArrayInput

type CertificateSigningRequestListArrayInput interface {
	pulumi.Input

	ToCertificateSigningRequestListArrayOutput() CertificateSigningRequestListArrayOutput
	ToCertificateSigningRequestListArrayOutputWithContext(context.Context) CertificateSigningRequestListArrayOutput
}

CertificateSigningRequestListArrayInput is an input type that accepts CertificateSigningRequestListArray and CertificateSigningRequestListArrayOutput values. You can construct a concrete instance of `CertificateSigningRequestListArrayInput` via:

CertificateSigningRequestListArray{ CertificateSigningRequestListArgs{...} }

type CertificateSigningRequestListArrayOutput

type CertificateSigningRequestListArrayOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestListArrayOutput) ElementType

func (CertificateSigningRequestListArrayOutput) Index

func (CertificateSigningRequestListArrayOutput) ToCertificateSigningRequestListArrayOutput

func (o CertificateSigningRequestListArrayOutput) ToCertificateSigningRequestListArrayOutput() CertificateSigningRequestListArrayOutput

func (CertificateSigningRequestListArrayOutput) ToCertificateSigningRequestListArrayOutputWithContext

func (o CertificateSigningRequestListArrayOutput) ToCertificateSigningRequestListArrayOutputWithContext(ctx context.Context) CertificateSigningRequestListArrayOutput

type CertificateSigningRequestListInput

type CertificateSigningRequestListInput interface {
	pulumi.Input

	ToCertificateSigningRequestListOutput() CertificateSigningRequestListOutput
	ToCertificateSigningRequestListOutputWithContext(ctx context.Context) CertificateSigningRequestListOutput
}

type CertificateSigningRequestListMap

type CertificateSigningRequestListMap map[string]CertificateSigningRequestListInput

func (CertificateSigningRequestListMap) ElementType

func (CertificateSigningRequestListMap) ToCertificateSigningRequestListMapOutput

func (i CertificateSigningRequestListMap) ToCertificateSigningRequestListMapOutput() CertificateSigningRequestListMapOutput

func (CertificateSigningRequestListMap) ToCertificateSigningRequestListMapOutputWithContext

func (i CertificateSigningRequestListMap) ToCertificateSigningRequestListMapOutputWithContext(ctx context.Context) CertificateSigningRequestListMapOutput

type CertificateSigningRequestListMapInput

type CertificateSigningRequestListMapInput interface {
	pulumi.Input

	ToCertificateSigningRequestListMapOutput() CertificateSigningRequestListMapOutput
	ToCertificateSigningRequestListMapOutputWithContext(context.Context) CertificateSigningRequestListMapOutput
}

CertificateSigningRequestListMapInput is an input type that accepts CertificateSigningRequestListMap and CertificateSigningRequestListMapOutput values. You can construct a concrete instance of `CertificateSigningRequestListMapInput` via:

CertificateSigningRequestListMap{ "key": CertificateSigningRequestListArgs{...} }

type CertificateSigningRequestListMapOutput

type CertificateSigningRequestListMapOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestListMapOutput) ElementType

func (CertificateSigningRequestListMapOutput) MapIndex

func (CertificateSigningRequestListMapOutput) ToCertificateSigningRequestListMapOutput

func (o CertificateSigningRequestListMapOutput) ToCertificateSigningRequestListMapOutput() CertificateSigningRequestListMapOutput

func (CertificateSigningRequestListMapOutput) ToCertificateSigningRequestListMapOutputWithContext

func (o CertificateSigningRequestListMapOutput) ToCertificateSigningRequestListMapOutputWithContext(ctx context.Context) CertificateSigningRequestListMapOutput

type CertificateSigningRequestListOutput

type CertificateSigningRequestListOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestListOutput) ApiVersion added in v3.19.1

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

func (CertificateSigningRequestListOutput) ElementType

func (CertificateSigningRequestListOutput) Items added in v3.19.1

items is a collection of CertificateSigningRequest objects

func (CertificateSigningRequestListOutput) Kind added in v3.19.1

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

func (CertificateSigningRequestListOutput) Metadata added in v3.19.1

func (CertificateSigningRequestListOutput) ToCertificateSigningRequestListOutput

func (o CertificateSigningRequestListOutput) ToCertificateSigningRequestListOutput() CertificateSigningRequestListOutput

func (CertificateSigningRequestListOutput) ToCertificateSigningRequestListOutputWithContext

func (o CertificateSigningRequestListOutput) ToCertificateSigningRequestListOutputWithContext(ctx context.Context) CertificateSigningRequestListOutput

type CertificateSigningRequestListState

type CertificateSigningRequestListState struct {
}

func (CertificateSigningRequestListState) ElementType

type CertificateSigningRequestListType

type CertificateSigningRequestListType struct {
	// 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 *string `pulumi:"apiVersion"`
	// items is a collection of CertificateSigningRequest objects
	Items []CertificateSigningRequestType `pulumi:"items"`
	// 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     *string          `pulumi:"kind"`
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

CertificateSigningRequestList is a collection of CertificateSigningRequest objects

type CertificateSigningRequestListTypeArgs

type CertificateSigningRequestListTypeArgs struct {
	// 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.StringPtrInput `pulumi:"apiVersion"`
	// items is a collection of CertificateSigningRequest objects
	Items CertificateSigningRequestTypeArrayInput `pulumi:"items"`
	// 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.StringPtrInput   `pulumi:"kind"`
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

CertificateSigningRequestList is a collection of CertificateSigningRequest objects

func (CertificateSigningRequestListTypeArgs) ElementType

func (CertificateSigningRequestListTypeArgs) ToCertificateSigningRequestListTypeOutput

func (i CertificateSigningRequestListTypeArgs) ToCertificateSigningRequestListTypeOutput() CertificateSigningRequestListTypeOutput

func (CertificateSigningRequestListTypeArgs) ToCertificateSigningRequestListTypeOutputWithContext

func (i CertificateSigningRequestListTypeArgs) ToCertificateSigningRequestListTypeOutputWithContext(ctx context.Context) CertificateSigningRequestListTypeOutput

type CertificateSigningRequestListTypeInput

type CertificateSigningRequestListTypeInput interface {
	pulumi.Input

	ToCertificateSigningRequestListTypeOutput() CertificateSigningRequestListTypeOutput
	ToCertificateSigningRequestListTypeOutputWithContext(context.Context) CertificateSigningRequestListTypeOutput
}

CertificateSigningRequestListTypeInput is an input type that accepts CertificateSigningRequestListTypeArgs and CertificateSigningRequestListTypeOutput values. You can construct a concrete instance of `CertificateSigningRequestListTypeInput` via:

CertificateSigningRequestListTypeArgs{...}

type CertificateSigningRequestListTypeOutput

type CertificateSigningRequestListTypeOutput struct{ *pulumi.OutputState }

CertificateSigningRequestList is a collection of CertificateSigningRequest objects

func (CertificateSigningRequestListTypeOutput) ApiVersion

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

func (CertificateSigningRequestListTypeOutput) ElementType

func (CertificateSigningRequestListTypeOutput) Items

items is a collection of CertificateSigningRequest objects

func (CertificateSigningRequestListTypeOutput) Kind

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

func (CertificateSigningRequestListTypeOutput) Metadata

func (CertificateSigningRequestListTypeOutput) ToCertificateSigningRequestListTypeOutput

func (o CertificateSigningRequestListTypeOutput) ToCertificateSigningRequestListTypeOutput() CertificateSigningRequestListTypeOutput

func (CertificateSigningRequestListTypeOutput) ToCertificateSigningRequestListTypeOutputWithContext

func (o CertificateSigningRequestListTypeOutput) ToCertificateSigningRequestListTypeOutputWithContext(ctx context.Context) CertificateSigningRequestListTypeOutput

type CertificateSigningRequestMap

type CertificateSigningRequestMap map[string]CertificateSigningRequestInput

func (CertificateSigningRequestMap) ElementType

func (CertificateSigningRequestMap) ToCertificateSigningRequestMapOutput

func (i CertificateSigningRequestMap) ToCertificateSigningRequestMapOutput() CertificateSigningRequestMapOutput

func (CertificateSigningRequestMap) ToCertificateSigningRequestMapOutputWithContext

func (i CertificateSigningRequestMap) ToCertificateSigningRequestMapOutputWithContext(ctx context.Context) CertificateSigningRequestMapOutput

type CertificateSigningRequestMapInput

type CertificateSigningRequestMapInput interface {
	pulumi.Input

	ToCertificateSigningRequestMapOutput() CertificateSigningRequestMapOutput
	ToCertificateSigningRequestMapOutputWithContext(context.Context) CertificateSigningRequestMapOutput
}

CertificateSigningRequestMapInput is an input type that accepts CertificateSigningRequestMap and CertificateSigningRequestMapOutput values. You can construct a concrete instance of `CertificateSigningRequestMapInput` via:

CertificateSigningRequestMap{ "key": CertificateSigningRequestArgs{...} }

type CertificateSigningRequestMapOutput

type CertificateSigningRequestMapOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestMapOutput) ElementType

func (CertificateSigningRequestMapOutput) MapIndex

func (CertificateSigningRequestMapOutput) ToCertificateSigningRequestMapOutput

func (o CertificateSigningRequestMapOutput) ToCertificateSigningRequestMapOutput() CertificateSigningRequestMapOutput

func (CertificateSigningRequestMapOutput) ToCertificateSigningRequestMapOutputWithContext

func (o CertificateSigningRequestMapOutput) ToCertificateSigningRequestMapOutputWithContext(ctx context.Context) CertificateSigningRequestMapOutput

type CertificateSigningRequestOutput

type CertificateSigningRequestOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestOutput) ApiVersion added in v3.19.1

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

func (CertificateSigningRequestOutput) ElementType

func (CertificateSigningRequestOutput) Kind added in v3.19.1

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

func (CertificateSigningRequestOutput) Metadata added in v3.19.1

func (CertificateSigningRequestOutput) Spec added in v3.19.1

spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.

func (CertificateSigningRequestOutput) Status added in v3.19.1

status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.

func (CertificateSigningRequestOutput) ToCertificateSigningRequestOutput

func (o CertificateSigningRequestOutput) ToCertificateSigningRequestOutput() CertificateSigningRequestOutput

func (CertificateSigningRequestOutput) ToCertificateSigningRequestOutputWithContext

func (o CertificateSigningRequestOutput) ToCertificateSigningRequestOutputWithContext(ctx context.Context) CertificateSigningRequestOutput

type CertificateSigningRequestPatch added in v3.20.0

type CertificateSigningRequestPatch struct {
	pulumi.CustomResourceState

	// 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.StringPtrOutput `pulumi:"apiVersion"`
	// 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.StringPtrOutput          `pulumi:"kind"`
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpecPatchPtrOutput `pulumi:"spec"`
	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status CertificateSigningRequestStatusPatchPtrOutput `pulumi:"status"`
}

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. CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

func GetCertificateSigningRequestPatch added in v3.20.0

func GetCertificateSigningRequestPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateSigningRequestPatchState, opts ...pulumi.ResourceOption) (*CertificateSigningRequestPatch, error)

GetCertificateSigningRequestPatch gets an existing CertificateSigningRequestPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificateSigningRequestPatch added in v3.20.0

func NewCertificateSigningRequestPatch(ctx *pulumi.Context,
	name string, args *CertificateSigningRequestPatchArgs, opts ...pulumi.ResourceOption) (*CertificateSigningRequestPatch, error)

NewCertificateSigningRequestPatch registers a new resource with the given unique name, arguments, and options.

func (*CertificateSigningRequestPatch) ElementType added in v3.20.0

func (*CertificateSigningRequestPatch) ToCertificateSigningRequestPatchOutput added in v3.20.0

func (i *CertificateSigningRequestPatch) ToCertificateSigningRequestPatchOutput() CertificateSigningRequestPatchOutput

func (*CertificateSigningRequestPatch) ToCertificateSigningRequestPatchOutputWithContext added in v3.20.0

func (i *CertificateSigningRequestPatch) ToCertificateSigningRequestPatchOutputWithContext(ctx context.Context) CertificateSigningRequestPatchOutput

type CertificateSigningRequestPatchArgs added in v3.20.0

type CertificateSigningRequestPatchArgs struct {
	// 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.StringPtrInput
	// 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.StringPtrInput
	Metadata metav1.ObjectMetaPatchPtrInput
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpecPatchPtrInput
}

The set of arguments for constructing a CertificateSigningRequestPatch resource.

func (CertificateSigningRequestPatchArgs) ElementType added in v3.20.0

type CertificateSigningRequestPatchArray added in v3.20.0

type CertificateSigningRequestPatchArray []CertificateSigningRequestPatchInput

func (CertificateSigningRequestPatchArray) ElementType added in v3.20.0

func (CertificateSigningRequestPatchArray) ToCertificateSigningRequestPatchArrayOutput added in v3.20.0

func (i CertificateSigningRequestPatchArray) ToCertificateSigningRequestPatchArrayOutput() CertificateSigningRequestPatchArrayOutput

func (CertificateSigningRequestPatchArray) ToCertificateSigningRequestPatchArrayOutputWithContext added in v3.20.0

func (i CertificateSigningRequestPatchArray) ToCertificateSigningRequestPatchArrayOutputWithContext(ctx context.Context) CertificateSigningRequestPatchArrayOutput

type CertificateSigningRequestPatchArrayInput added in v3.20.0

type CertificateSigningRequestPatchArrayInput interface {
	pulumi.Input

	ToCertificateSigningRequestPatchArrayOutput() CertificateSigningRequestPatchArrayOutput
	ToCertificateSigningRequestPatchArrayOutputWithContext(context.Context) CertificateSigningRequestPatchArrayOutput
}

CertificateSigningRequestPatchArrayInput is an input type that accepts CertificateSigningRequestPatchArray and CertificateSigningRequestPatchArrayOutput values. You can construct a concrete instance of `CertificateSigningRequestPatchArrayInput` via:

CertificateSigningRequestPatchArray{ CertificateSigningRequestPatchArgs{...} }

type CertificateSigningRequestPatchArrayOutput added in v3.20.0

type CertificateSigningRequestPatchArrayOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestPatchArrayOutput) ElementType added in v3.20.0

func (CertificateSigningRequestPatchArrayOutput) Index added in v3.20.0

func (CertificateSigningRequestPatchArrayOutput) ToCertificateSigningRequestPatchArrayOutput added in v3.20.0

func (o CertificateSigningRequestPatchArrayOutput) ToCertificateSigningRequestPatchArrayOutput() CertificateSigningRequestPatchArrayOutput

func (CertificateSigningRequestPatchArrayOutput) ToCertificateSigningRequestPatchArrayOutputWithContext added in v3.20.0

func (o CertificateSigningRequestPatchArrayOutput) ToCertificateSigningRequestPatchArrayOutputWithContext(ctx context.Context) CertificateSigningRequestPatchArrayOutput

type CertificateSigningRequestPatchInput added in v3.20.0

type CertificateSigningRequestPatchInput interface {
	pulumi.Input

	ToCertificateSigningRequestPatchOutput() CertificateSigningRequestPatchOutput
	ToCertificateSigningRequestPatchOutputWithContext(ctx context.Context) CertificateSigningRequestPatchOutput
}

type CertificateSigningRequestPatchMap added in v3.20.0

type CertificateSigningRequestPatchMap map[string]CertificateSigningRequestPatchInput

func (CertificateSigningRequestPatchMap) ElementType added in v3.20.0

func (CertificateSigningRequestPatchMap) ToCertificateSigningRequestPatchMapOutput added in v3.20.0

func (i CertificateSigningRequestPatchMap) ToCertificateSigningRequestPatchMapOutput() CertificateSigningRequestPatchMapOutput

func (CertificateSigningRequestPatchMap) ToCertificateSigningRequestPatchMapOutputWithContext added in v3.20.0

func (i CertificateSigningRequestPatchMap) ToCertificateSigningRequestPatchMapOutputWithContext(ctx context.Context) CertificateSigningRequestPatchMapOutput

type CertificateSigningRequestPatchMapInput added in v3.20.0

type CertificateSigningRequestPatchMapInput interface {
	pulumi.Input

	ToCertificateSigningRequestPatchMapOutput() CertificateSigningRequestPatchMapOutput
	ToCertificateSigningRequestPatchMapOutputWithContext(context.Context) CertificateSigningRequestPatchMapOutput
}

CertificateSigningRequestPatchMapInput is an input type that accepts CertificateSigningRequestPatchMap and CertificateSigningRequestPatchMapOutput values. You can construct a concrete instance of `CertificateSigningRequestPatchMapInput` via:

CertificateSigningRequestPatchMap{ "key": CertificateSigningRequestPatchArgs{...} }

type CertificateSigningRequestPatchMapOutput added in v3.20.0

type CertificateSigningRequestPatchMapOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestPatchMapOutput) ElementType added in v3.20.0

func (CertificateSigningRequestPatchMapOutput) MapIndex added in v3.20.0

func (CertificateSigningRequestPatchMapOutput) ToCertificateSigningRequestPatchMapOutput added in v3.20.0

func (o CertificateSigningRequestPatchMapOutput) ToCertificateSigningRequestPatchMapOutput() CertificateSigningRequestPatchMapOutput

func (CertificateSigningRequestPatchMapOutput) ToCertificateSigningRequestPatchMapOutputWithContext added in v3.20.0

func (o CertificateSigningRequestPatchMapOutput) ToCertificateSigningRequestPatchMapOutputWithContext(ctx context.Context) CertificateSigningRequestPatchMapOutput

type CertificateSigningRequestPatchOutput added in v3.20.0

type CertificateSigningRequestPatchOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestPatchOutput) ApiVersion added in v3.20.0

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

func (CertificateSigningRequestPatchOutput) ElementType added in v3.20.0

func (CertificateSigningRequestPatchOutput) Kind added in v3.20.0

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

func (CertificateSigningRequestPatchOutput) Metadata added in v3.20.0

func (CertificateSigningRequestPatchOutput) Spec added in v3.20.0

spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.

func (CertificateSigningRequestPatchOutput) Status added in v3.20.0

status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.

func (CertificateSigningRequestPatchOutput) ToCertificateSigningRequestPatchOutput added in v3.20.0

func (o CertificateSigningRequestPatchOutput) ToCertificateSigningRequestPatchOutput() CertificateSigningRequestPatchOutput

func (CertificateSigningRequestPatchOutput) ToCertificateSigningRequestPatchOutputWithContext added in v3.20.0

func (o CertificateSigningRequestPatchOutput) ToCertificateSigningRequestPatchOutputWithContext(ctx context.Context) CertificateSigningRequestPatchOutput

type CertificateSigningRequestPatchState added in v3.20.0

type CertificateSigningRequestPatchState struct {
}

func (CertificateSigningRequestPatchState) ElementType added in v3.20.0

type CertificateSigningRequestPatchType added in v3.20.0

type CertificateSigningRequestPatchType struct {
	// 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 *string `pulumi:"apiVersion"`
	// 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     *string                 `pulumi:"kind"`
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec *CertificateSigningRequestSpecPatch `pulumi:"spec"`
	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status *CertificateSigningRequestStatusPatch `pulumi:"status"`
}

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

type CertificateSigningRequestPatchTypeArgs added in v3.20.0

type CertificateSigningRequestPatchTypeArgs struct {
	// 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.StringPtrInput `pulumi:"apiVersion"`
	// 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.StringPtrInput          `pulumi:"kind"`
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpecPatchPtrInput `pulumi:"spec"`
	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status CertificateSigningRequestStatusPatchPtrInput `pulumi:"status"`
}

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

func (CertificateSigningRequestPatchTypeArgs) ElementType added in v3.20.0

func (CertificateSigningRequestPatchTypeArgs) ToCertificateSigningRequestPatchTypeOutput added in v3.20.0

func (i CertificateSigningRequestPatchTypeArgs) ToCertificateSigningRequestPatchTypeOutput() CertificateSigningRequestPatchTypeOutput

func (CertificateSigningRequestPatchTypeArgs) ToCertificateSigningRequestPatchTypeOutputWithContext added in v3.20.0

func (i CertificateSigningRequestPatchTypeArgs) ToCertificateSigningRequestPatchTypeOutputWithContext(ctx context.Context) CertificateSigningRequestPatchTypeOutput

type CertificateSigningRequestPatchTypeInput added in v3.20.0

type CertificateSigningRequestPatchTypeInput interface {
	pulumi.Input

	ToCertificateSigningRequestPatchTypeOutput() CertificateSigningRequestPatchTypeOutput
	ToCertificateSigningRequestPatchTypeOutputWithContext(context.Context) CertificateSigningRequestPatchTypeOutput
}

CertificateSigningRequestPatchTypeInput is an input type that accepts CertificateSigningRequestPatchTypeArgs and CertificateSigningRequestPatchTypeOutput values. You can construct a concrete instance of `CertificateSigningRequestPatchTypeInput` via:

CertificateSigningRequestPatchTypeArgs{...}

type CertificateSigningRequestPatchTypeOutput added in v3.20.0

type CertificateSigningRequestPatchTypeOutput struct{ *pulumi.OutputState }

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

func (CertificateSigningRequestPatchTypeOutput) ApiVersion added in v3.20.0

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

func (CertificateSigningRequestPatchTypeOutput) ElementType added in v3.20.0

func (CertificateSigningRequestPatchTypeOutput) Kind added in v3.20.0

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

func (CertificateSigningRequestPatchTypeOutput) Metadata added in v3.20.0

func (CertificateSigningRequestPatchTypeOutput) Spec added in v3.20.0

spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.

func (CertificateSigningRequestPatchTypeOutput) Status added in v3.20.0

status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.

func (CertificateSigningRequestPatchTypeOutput) ToCertificateSigningRequestPatchTypeOutput added in v3.20.0

func (o CertificateSigningRequestPatchTypeOutput) ToCertificateSigningRequestPatchTypeOutput() CertificateSigningRequestPatchTypeOutput

func (CertificateSigningRequestPatchTypeOutput) ToCertificateSigningRequestPatchTypeOutputWithContext added in v3.20.0

func (o CertificateSigningRequestPatchTypeOutput) ToCertificateSigningRequestPatchTypeOutputWithContext(ctx context.Context) CertificateSigningRequestPatchTypeOutput

type CertificateSigningRequestSpec

type CertificateSigningRequestSpec struct {
	// expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.
	//
	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.
	//
	// Certificate signers may not honor this field for various reasons:
	//
	//   1. Old signer that is unaware of the field (such as the in-tree
	//      implementations prior to v1.22)
	//   2. Signer whose configured maximum is shorter than the requested duration
	//   3. Signer whose configured minimum is longer than the requested duration
	//
	// The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
	ExpirationSeconds *int `pulumi:"expirationSeconds"`
	// extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Extra map[string][]string `pulumi:"extra"`
	// groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Groups []string `pulumi:"groups"`
	// request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.
	Request string `pulumi:"request"`
	// signerName indicates the requested signer, and is a qualified name.
	//
	// List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.
	//
	// Well-known Kubernetes signers are:
	//  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver.
	//       Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
	//  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver.
	//       Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.
	//       Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//
	// More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers
	//
	// Custom signerNames can also be specified. The signer defines:
	//  1. Trust distribution: how trust (CA bundles) are distributed.
	//  2. Permitted subjects: and behavior when a disallowed subject is requested.
	//  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
	//  4. Required, permitted, or forbidden key usages / extended key usages.
	//  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
	//  6. Whether or not requests for CA certificates are allowed.
	SignerName string `pulumi:"signerName"`
	// uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Uid *string `pulumi:"uid"`
	// usages specifies a set of key usages requested in the issued certificate.
	//
	// Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".
	//
	// Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".
	//
	// Valid values are:
	//  "signing", "digital signature", "content commitment",
	//  "key encipherment", "key agreement", "data encipherment",
	//  "cert sign", "crl sign", "encipher only", "decipher only", "any",
	//  "server auth", "client auth",
	//  "code signing", "email protection", "s/mime",
	//  "ipsec end system", "ipsec tunnel", "ipsec user",
	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
	Usages []string `pulumi:"usages"`
	// username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Username *string `pulumi:"username"`
}

CertificateSigningRequestSpec contains the certificate request.

type CertificateSigningRequestSpecArgs

type CertificateSigningRequestSpecArgs struct {
	// expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.
	//
	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.
	//
	// Certificate signers may not honor this field for various reasons:
	//
	//   1. Old signer that is unaware of the field (such as the in-tree
	//      implementations prior to v1.22)
	//   2. Signer whose configured maximum is shorter than the requested duration
	//   3. Signer whose configured minimum is longer than the requested duration
	//
	// The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
	ExpirationSeconds pulumi.IntPtrInput `pulumi:"expirationSeconds"`
	// extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Extra pulumi.StringArrayMapInput `pulumi:"extra"`
	// groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Groups pulumi.StringArrayInput `pulumi:"groups"`
	// request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.
	Request pulumi.StringInput `pulumi:"request"`
	// signerName indicates the requested signer, and is a qualified name.
	//
	// List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.
	//
	// Well-known Kubernetes signers are:
	//  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver.
	//       Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
	//  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver.
	//       Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.
	//       Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//
	// More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers
	//
	// Custom signerNames can also be specified. The signer defines:
	//  1. Trust distribution: how trust (CA bundles) are distributed.
	//  2. Permitted subjects: and behavior when a disallowed subject is requested.
	//  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
	//  4. Required, permitted, or forbidden key usages / extended key usages.
	//  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
	//  6. Whether or not requests for CA certificates are allowed.
	SignerName pulumi.StringInput `pulumi:"signerName"`
	// uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Uid pulumi.StringPtrInput `pulumi:"uid"`
	// usages specifies a set of key usages requested in the issued certificate.
	//
	// Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".
	//
	// Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".
	//
	// Valid values are:
	//  "signing", "digital signature", "content commitment",
	//  "key encipherment", "key agreement", "data encipherment",
	//  "cert sign", "crl sign", "encipher only", "decipher only", "any",
	//  "server auth", "client auth",
	//  "code signing", "email protection", "s/mime",
	//  "ipsec end system", "ipsec tunnel", "ipsec user",
	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
	Usages pulumi.StringArrayInput `pulumi:"usages"`
	// username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

CertificateSigningRequestSpec contains the certificate request.

func (CertificateSigningRequestSpecArgs) ElementType

func (CertificateSigningRequestSpecArgs) ToCertificateSigningRequestSpecOutput

func (i CertificateSigningRequestSpecArgs) ToCertificateSigningRequestSpecOutput() CertificateSigningRequestSpecOutput

func (CertificateSigningRequestSpecArgs) ToCertificateSigningRequestSpecOutputWithContext

func (i CertificateSigningRequestSpecArgs) ToCertificateSigningRequestSpecOutputWithContext(ctx context.Context) CertificateSigningRequestSpecOutput

type CertificateSigningRequestSpecInput

type CertificateSigningRequestSpecInput interface {
	pulumi.Input

	ToCertificateSigningRequestSpecOutput() CertificateSigningRequestSpecOutput
	ToCertificateSigningRequestSpecOutputWithContext(context.Context) CertificateSigningRequestSpecOutput
}

CertificateSigningRequestSpecInput is an input type that accepts CertificateSigningRequestSpecArgs and CertificateSigningRequestSpecOutput values. You can construct a concrete instance of `CertificateSigningRequestSpecInput` via:

CertificateSigningRequestSpecArgs{...}

type CertificateSigningRequestSpecOutput

type CertificateSigningRequestSpecOutput struct{ *pulumi.OutputState }

CertificateSigningRequestSpec contains the certificate request.

func (CertificateSigningRequestSpecOutput) ElementType

func (CertificateSigningRequestSpecOutput) ExpirationSeconds added in v3.6.0

expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.

The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.

Certificate signers may not honor this field for various reasons:

  1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22)
  2. Signer whose configured maximum is shorter than the requested duration
  3. Signer whose configured minimum is longer than the requested duration

The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.

func (CertificateSigningRequestSpecOutput) Extra

extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecOutput) Groups

groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecOutput) Request

request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.

func (CertificateSigningRequestSpecOutput) SignerName

signerName indicates the requested signer, and is a qualified name.

List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.

Well-known Kubernetes signers are:

  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.

More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers

Custom signerNames can also be specified. The signer defines:

  1. Trust distribution: how trust (CA bundles) are distributed.
  2. Permitted subjects: and behavior when a disallowed subject is requested.
  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
  4. Required, permitted, or forbidden key usages / extended key usages.
  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
  6. Whether or not requests for CA certificates are allowed.

func (CertificateSigningRequestSpecOutput) ToCertificateSigningRequestSpecOutput

func (o CertificateSigningRequestSpecOutput) ToCertificateSigningRequestSpecOutput() CertificateSigningRequestSpecOutput

func (CertificateSigningRequestSpecOutput) ToCertificateSigningRequestSpecOutputWithContext

func (o CertificateSigningRequestSpecOutput) ToCertificateSigningRequestSpecOutputWithContext(ctx context.Context) CertificateSigningRequestSpecOutput

func (CertificateSigningRequestSpecOutput) Uid

uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecOutput) Usages

usages specifies a set of key usages requested in the issued certificate.

Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".

Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".

Valid values are:

"signing", "digital signature", "content commitment",
"key encipherment", "key agreement", "data encipherment",
"cert sign", "crl sign", "encipher only", "decipher only", "any",
"server auth", "client auth",
"code signing", "email protection", "s/mime",
"ipsec end system", "ipsec tunnel", "ipsec user",
"timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"

func (CertificateSigningRequestSpecOutput) Username

username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

type CertificateSigningRequestSpecPatch added in v3.20.0

type CertificateSigningRequestSpecPatch struct {
	// expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.
	//
	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.
	//
	// Certificate signers may not honor this field for various reasons:
	//
	//   1. Old signer that is unaware of the field (such as the in-tree
	//      implementations prior to v1.22)
	//   2. Signer whose configured maximum is shorter than the requested duration
	//   3. Signer whose configured minimum is longer than the requested duration
	//
	// The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
	ExpirationSeconds *int `pulumi:"expirationSeconds"`
	// extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Extra map[string][]string `pulumi:"extra"`
	// groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Groups []string `pulumi:"groups"`
	// request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.
	Request *string `pulumi:"request"`
	// signerName indicates the requested signer, and is a qualified name.
	//
	// List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.
	//
	// Well-known Kubernetes signers are:
	//  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver.
	//       Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
	//  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver.
	//       Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.
	//       Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//
	// More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers
	//
	// Custom signerNames can also be specified. The signer defines:
	//  1. Trust distribution: how trust (CA bundles) are distributed.
	//  2. Permitted subjects: and behavior when a disallowed subject is requested.
	//  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
	//  4. Required, permitted, or forbidden key usages / extended key usages.
	//  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
	//  6. Whether or not requests for CA certificates are allowed.
	SignerName *string `pulumi:"signerName"`
	// uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Uid *string `pulumi:"uid"`
	// usages specifies a set of key usages requested in the issued certificate.
	//
	// Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".
	//
	// Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".
	//
	// Valid values are:
	//  "signing", "digital signature", "content commitment",
	//  "key encipherment", "key agreement", "data encipherment",
	//  "cert sign", "crl sign", "encipher only", "decipher only", "any",
	//  "server auth", "client auth",
	//  "code signing", "email protection", "s/mime",
	//  "ipsec end system", "ipsec tunnel", "ipsec user",
	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
	Usages []string `pulumi:"usages"`
	// username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Username *string `pulumi:"username"`
}

CertificateSigningRequestSpec contains the certificate request.

type CertificateSigningRequestSpecPatchArgs added in v3.20.0

type CertificateSigningRequestSpecPatchArgs struct {
	// expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.
	//
	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.
	//
	// Certificate signers may not honor this field for various reasons:
	//
	//   1. Old signer that is unaware of the field (such as the in-tree
	//      implementations prior to v1.22)
	//   2. Signer whose configured maximum is shorter than the requested duration
	//   3. Signer whose configured minimum is longer than the requested duration
	//
	// The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
	ExpirationSeconds pulumi.IntPtrInput `pulumi:"expirationSeconds"`
	// extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Extra pulumi.StringArrayMapInput `pulumi:"extra"`
	// groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Groups pulumi.StringArrayInput `pulumi:"groups"`
	// request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.
	Request pulumi.StringPtrInput `pulumi:"request"`
	// signerName indicates the requested signer, and is a qualified name.
	//
	// List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.
	//
	// Well-known Kubernetes signers are:
	//  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver.
	//       Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
	//  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver.
	//       Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.
	//       Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//
	// More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers
	//
	// Custom signerNames can also be specified. The signer defines:
	//  1. Trust distribution: how trust (CA bundles) are distributed.
	//  2. Permitted subjects: and behavior when a disallowed subject is requested.
	//  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
	//  4. Required, permitted, or forbidden key usages / extended key usages.
	//  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
	//  6. Whether or not requests for CA certificates are allowed.
	SignerName pulumi.StringPtrInput `pulumi:"signerName"`
	// uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Uid pulumi.StringPtrInput `pulumi:"uid"`
	// usages specifies a set of key usages requested in the issued certificate.
	//
	// Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".
	//
	// Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".
	//
	// Valid values are:
	//  "signing", "digital signature", "content commitment",
	//  "key encipherment", "key agreement", "data encipherment",
	//  "cert sign", "crl sign", "encipher only", "decipher only", "any",
	//  "server auth", "client auth",
	//  "code signing", "email protection", "s/mime",
	//  "ipsec end system", "ipsec tunnel", "ipsec user",
	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
	Usages pulumi.StringArrayInput `pulumi:"usages"`
	// username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

CertificateSigningRequestSpec contains the certificate request.

func (CertificateSigningRequestSpecPatchArgs) ElementType added in v3.20.0

func (CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchOutput added in v3.20.0

func (i CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchOutput() CertificateSigningRequestSpecPatchOutput

func (CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchOutputWithContext added in v3.20.0

func (i CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchOutputWithContext(ctx context.Context) CertificateSigningRequestSpecPatchOutput

func (CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchPtrOutput added in v3.20.0

func (i CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchPtrOutput() CertificateSigningRequestSpecPatchPtrOutput

func (CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchPtrOutputWithContext added in v3.20.0

func (i CertificateSigningRequestSpecPatchArgs) ToCertificateSigningRequestSpecPatchPtrOutputWithContext(ctx context.Context) CertificateSigningRequestSpecPatchPtrOutput

type CertificateSigningRequestSpecPatchInput added in v3.20.0

type CertificateSigningRequestSpecPatchInput interface {
	pulumi.Input

	ToCertificateSigningRequestSpecPatchOutput() CertificateSigningRequestSpecPatchOutput
	ToCertificateSigningRequestSpecPatchOutputWithContext(context.Context) CertificateSigningRequestSpecPatchOutput
}

CertificateSigningRequestSpecPatchInput is an input type that accepts CertificateSigningRequestSpecPatchArgs and CertificateSigningRequestSpecPatchOutput values. You can construct a concrete instance of `CertificateSigningRequestSpecPatchInput` via:

CertificateSigningRequestSpecPatchArgs{...}

type CertificateSigningRequestSpecPatchOutput added in v3.20.0

type CertificateSigningRequestSpecPatchOutput struct{ *pulumi.OutputState }

CertificateSigningRequestSpec contains the certificate request.

func (CertificateSigningRequestSpecPatchOutput) ElementType added in v3.20.0

func (CertificateSigningRequestSpecPatchOutput) ExpirationSeconds added in v3.20.0

expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.

The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.

Certificate signers may not honor this field for various reasons:

  1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22)
  2. Signer whose configured maximum is shorter than the requested duration
  3. Signer whose configured minimum is longer than the requested duration

The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.

func (CertificateSigningRequestSpecPatchOutput) Extra added in v3.20.0

extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecPatchOutput) Groups added in v3.20.0

groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecPatchOutput) Request added in v3.20.0

request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.

func (CertificateSigningRequestSpecPatchOutput) SignerName added in v3.20.0

signerName indicates the requested signer, and is a qualified name.

List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.

Well-known Kubernetes signers are:

  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.

More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers

Custom signerNames can also be specified. The signer defines:

  1. Trust distribution: how trust (CA bundles) are distributed.
  2. Permitted subjects: and behavior when a disallowed subject is requested.
  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
  4. Required, permitted, or forbidden key usages / extended key usages.
  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
  6. Whether or not requests for CA certificates are allowed.

func (CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchOutput added in v3.20.0

func (o CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchOutput() CertificateSigningRequestSpecPatchOutput

func (CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchOutputWithContext added in v3.20.0

func (o CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchOutputWithContext(ctx context.Context) CertificateSigningRequestSpecPatchOutput

func (CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchPtrOutput added in v3.20.0

func (o CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchPtrOutput() CertificateSigningRequestSpecPatchPtrOutput

func (CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchPtrOutputWithContext added in v3.20.0

func (o CertificateSigningRequestSpecPatchOutput) ToCertificateSigningRequestSpecPatchPtrOutputWithContext(ctx context.Context) CertificateSigningRequestSpecPatchPtrOutput

func (CertificateSigningRequestSpecPatchOutput) Uid added in v3.20.0

uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecPatchOutput) Usages added in v3.20.0

usages specifies a set of key usages requested in the issued certificate.

Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".

Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".

Valid values are:

"signing", "digital signature", "content commitment",
"key encipherment", "key agreement", "data encipherment",
"cert sign", "crl sign", "encipher only", "decipher only", "any",
"server auth", "client auth",
"code signing", "email protection", "s/mime",
"ipsec end system", "ipsec tunnel", "ipsec user",
"timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"

func (CertificateSigningRequestSpecPatchOutput) Username added in v3.20.0

username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

type CertificateSigningRequestSpecPatchPtrInput added in v3.20.0

type CertificateSigningRequestSpecPatchPtrInput interface {
	pulumi.Input

	ToCertificateSigningRequestSpecPatchPtrOutput() CertificateSigningRequestSpecPatchPtrOutput
	ToCertificateSigningRequestSpecPatchPtrOutputWithContext(context.Context) CertificateSigningRequestSpecPatchPtrOutput
}

CertificateSigningRequestSpecPatchPtrInput is an input type that accepts CertificateSigningRequestSpecPatchArgs, CertificateSigningRequestSpecPatchPtr and CertificateSigningRequestSpecPatchPtrOutput values. You can construct a concrete instance of `CertificateSigningRequestSpecPatchPtrInput` via:

        CertificateSigningRequestSpecPatchArgs{...}

or:

        nil

type CertificateSigningRequestSpecPatchPtrOutput added in v3.20.0

type CertificateSigningRequestSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestSpecPatchPtrOutput) Elem added in v3.20.0

func (CertificateSigningRequestSpecPatchPtrOutput) ElementType added in v3.20.0

func (CertificateSigningRequestSpecPatchPtrOutput) ExpirationSeconds added in v3.20.0

expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.

The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.

Certificate signers may not honor this field for various reasons:

  1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22)
  2. Signer whose configured maximum is shorter than the requested duration
  3. Signer whose configured minimum is longer than the requested duration

The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.

func (CertificateSigningRequestSpecPatchPtrOutput) Extra added in v3.20.0

extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecPatchPtrOutput) Groups added in v3.20.0

groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecPatchPtrOutput) Request added in v3.20.0

request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.

func (CertificateSigningRequestSpecPatchPtrOutput) SignerName added in v3.20.0

signerName indicates the requested signer, and is a qualified name.

List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.

Well-known Kubernetes signers are:

  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.

More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers

Custom signerNames can also be specified. The signer defines:

  1. Trust distribution: how trust (CA bundles) are distributed.
  2. Permitted subjects: and behavior when a disallowed subject is requested.
  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
  4. Required, permitted, or forbidden key usages / extended key usages.
  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
  6. Whether or not requests for CA certificates are allowed.

func (CertificateSigningRequestSpecPatchPtrOutput) ToCertificateSigningRequestSpecPatchPtrOutput added in v3.20.0

func (o CertificateSigningRequestSpecPatchPtrOutput) ToCertificateSigningRequestSpecPatchPtrOutput() CertificateSigningRequestSpecPatchPtrOutput

func (CertificateSigningRequestSpecPatchPtrOutput) ToCertificateSigningRequestSpecPatchPtrOutputWithContext added in v3.20.0

func (o CertificateSigningRequestSpecPatchPtrOutput) ToCertificateSigningRequestSpecPatchPtrOutputWithContext(ctx context.Context) CertificateSigningRequestSpecPatchPtrOutput

func (CertificateSigningRequestSpecPatchPtrOutput) Uid added in v3.20.0

uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

func (CertificateSigningRequestSpecPatchPtrOutput) Usages added in v3.20.0

usages specifies a set of key usages requested in the issued certificate.

Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".

Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".

Valid values are:

"signing", "digital signature", "content commitment",
"key encipherment", "key agreement", "data encipherment",
"cert sign", "crl sign", "encipher only", "decipher only", "any",
"server auth", "client auth",
"code signing", "email protection", "s/mime",
"ipsec end system", "ipsec tunnel", "ipsec user",
"timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"

func (CertificateSigningRequestSpecPatchPtrOutput) Username added in v3.20.0

username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.

type CertificateSigningRequestState

type CertificateSigningRequestState struct {
}

func (CertificateSigningRequestState) ElementType

type CertificateSigningRequestStatus

type CertificateSigningRequestStatus struct {
	// certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.
	//
	// If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
	//
	// Validation requirements:
	//  1. certificate must contain one or more PEM blocks.
	//  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
	//       must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
	//  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
	//       to allow for explanatory text as described in section 5.2 of RFC7468.
	//
	// If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
	//
	// The certificate is encoded in PEM format.
	//
	// When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
	//
	//     base64(
	//     -----BEGIN CERTIFICATE-----
	//     ...
	//     -----END CERTIFICATE-----
	//     )
	Certificate *string `pulumi:"certificate"`
	// conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
	Conditions []CertificateSigningRequestCondition `pulumi:"conditions"`
}

CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

type CertificateSigningRequestStatusArgs

type CertificateSigningRequestStatusArgs struct {
	// certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.
	//
	// If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
	//
	// Validation requirements:
	//  1. certificate must contain one or more PEM blocks.
	//  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
	//       must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
	//  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
	//       to allow for explanatory text as described in section 5.2 of RFC7468.
	//
	// If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
	//
	// The certificate is encoded in PEM format.
	//
	// When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
	//
	//     base64(
	//     -----BEGIN CERTIFICATE-----
	//     ...
	//     -----END CERTIFICATE-----
	//     )
	Certificate pulumi.StringPtrInput `pulumi:"certificate"`
	// conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
	Conditions CertificateSigningRequestConditionArrayInput `pulumi:"conditions"`
}

CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

func (CertificateSigningRequestStatusArgs) ElementType

func (CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusOutput

func (i CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusOutput() CertificateSigningRequestStatusOutput

func (CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusOutputWithContext

func (i CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusOutputWithContext(ctx context.Context) CertificateSigningRequestStatusOutput

func (CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusPtrOutput

func (i CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusPtrOutput() CertificateSigningRequestStatusPtrOutput

func (CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusPtrOutputWithContext

func (i CertificateSigningRequestStatusArgs) ToCertificateSigningRequestStatusPtrOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPtrOutput

type CertificateSigningRequestStatusInput

type CertificateSigningRequestStatusInput interface {
	pulumi.Input

	ToCertificateSigningRequestStatusOutput() CertificateSigningRequestStatusOutput
	ToCertificateSigningRequestStatusOutputWithContext(context.Context) CertificateSigningRequestStatusOutput
}

CertificateSigningRequestStatusInput is an input type that accepts CertificateSigningRequestStatusArgs and CertificateSigningRequestStatusOutput values. You can construct a concrete instance of `CertificateSigningRequestStatusInput` via:

CertificateSigningRequestStatusArgs{...}

type CertificateSigningRequestStatusOutput

type CertificateSigningRequestStatusOutput struct{ *pulumi.OutputState }

CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

func (CertificateSigningRequestStatusOutput) Certificate

certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.

If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.

Validation requirements:

  1. certificate must contain one or more PEM blocks.
  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468.

If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.

The certificate is encoded in PEM format.

When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:

base64(
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
)

func (CertificateSigningRequestStatusOutput) Conditions

conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".

func (CertificateSigningRequestStatusOutput) ElementType

func (CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusOutput

func (o CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusOutput() CertificateSigningRequestStatusOutput

func (CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusOutputWithContext

func (o CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusOutputWithContext(ctx context.Context) CertificateSigningRequestStatusOutput

func (CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusPtrOutput

func (o CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusPtrOutput() CertificateSigningRequestStatusPtrOutput

func (CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusPtrOutputWithContext

func (o CertificateSigningRequestStatusOutput) ToCertificateSigningRequestStatusPtrOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPtrOutput

type CertificateSigningRequestStatusPatch added in v3.20.0

type CertificateSigningRequestStatusPatch struct {
	// certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.
	//
	// If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
	//
	// Validation requirements:
	//  1. certificate must contain one or more PEM blocks.
	//  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
	//       must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
	//  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
	//       to allow for explanatory text as described in section 5.2 of RFC7468.
	//
	// If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
	//
	// The certificate is encoded in PEM format.
	//
	// When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
	//
	//     base64(
	//     -----BEGIN CERTIFICATE-----
	//     ...
	//     -----END CERTIFICATE-----
	//     )
	Certificate *string `pulumi:"certificate"`
	// conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
	Conditions []CertificateSigningRequestConditionPatch `pulumi:"conditions"`
}

CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

type CertificateSigningRequestStatusPatchArgs added in v3.20.0

type CertificateSigningRequestStatusPatchArgs struct {
	// certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.
	//
	// If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
	//
	// Validation requirements:
	//  1. certificate must contain one or more PEM blocks.
	//  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
	//       must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
	//  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
	//       to allow for explanatory text as described in section 5.2 of RFC7468.
	//
	// If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
	//
	// The certificate is encoded in PEM format.
	//
	// When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
	//
	//     base64(
	//     -----BEGIN CERTIFICATE-----
	//     ...
	//     -----END CERTIFICATE-----
	//     )
	Certificate pulumi.StringPtrInput `pulumi:"certificate"`
	// conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
	Conditions CertificateSigningRequestConditionPatchArrayInput `pulumi:"conditions"`
}

CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

func (CertificateSigningRequestStatusPatchArgs) ElementType added in v3.20.0

func (CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchOutput added in v3.20.0

func (i CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchOutput() CertificateSigningRequestStatusPatchOutput

func (CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchOutputWithContext added in v3.20.0

func (i CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPatchOutput

func (CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchPtrOutput added in v3.20.0

func (i CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchPtrOutput() CertificateSigningRequestStatusPatchPtrOutput

func (CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchPtrOutputWithContext added in v3.20.0

func (i CertificateSigningRequestStatusPatchArgs) ToCertificateSigningRequestStatusPatchPtrOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPatchPtrOutput

type CertificateSigningRequestStatusPatchInput added in v3.20.0

type CertificateSigningRequestStatusPatchInput interface {
	pulumi.Input

	ToCertificateSigningRequestStatusPatchOutput() CertificateSigningRequestStatusPatchOutput
	ToCertificateSigningRequestStatusPatchOutputWithContext(context.Context) CertificateSigningRequestStatusPatchOutput
}

CertificateSigningRequestStatusPatchInput is an input type that accepts CertificateSigningRequestStatusPatchArgs and CertificateSigningRequestStatusPatchOutput values. You can construct a concrete instance of `CertificateSigningRequestStatusPatchInput` via:

CertificateSigningRequestStatusPatchArgs{...}

type CertificateSigningRequestStatusPatchOutput added in v3.20.0

type CertificateSigningRequestStatusPatchOutput struct{ *pulumi.OutputState }

CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

func (CertificateSigningRequestStatusPatchOutput) Certificate added in v3.20.0

certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.

If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.

Validation requirements:

  1. certificate must contain one or more PEM blocks.
  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468.

If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.

The certificate is encoded in PEM format.

When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:

base64(
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
)

func (CertificateSigningRequestStatusPatchOutput) Conditions added in v3.20.0

conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".

func (CertificateSigningRequestStatusPatchOutput) ElementType added in v3.20.0

func (CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchOutput added in v3.20.0

func (o CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchOutput() CertificateSigningRequestStatusPatchOutput

func (CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchOutputWithContext added in v3.20.0

func (o CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPatchOutput

func (CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchPtrOutput added in v3.20.0

func (o CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchPtrOutput() CertificateSigningRequestStatusPatchPtrOutput

func (CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchPtrOutputWithContext added in v3.20.0

func (o CertificateSigningRequestStatusPatchOutput) ToCertificateSigningRequestStatusPatchPtrOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPatchPtrOutput

type CertificateSigningRequestStatusPatchPtrInput added in v3.20.0

type CertificateSigningRequestStatusPatchPtrInput interface {
	pulumi.Input

	ToCertificateSigningRequestStatusPatchPtrOutput() CertificateSigningRequestStatusPatchPtrOutput
	ToCertificateSigningRequestStatusPatchPtrOutputWithContext(context.Context) CertificateSigningRequestStatusPatchPtrOutput
}

CertificateSigningRequestStatusPatchPtrInput is an input type that accepts CertificateSigningRequestStatusPatchArgs, CertificateSigningRequestStatusPatchPtr and CertificateSigningRequestStatusPatchPtrOutput values. You can construct a concrete instance of `CertificateSigningRequestStatusPatchPtrInput` via:

        CertificateSigningRequestStatusPatchArgs{...}

or:

        nil

type CertificateSigningRequestStatusPatchPtrOutput added in v3.20.0

type CertificateSigningRequestStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestStatusPatchPtrOutput) Certificate added in v3.20.0

certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.

If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.

Validation requirements:

  1. certificate must contain one or more PEM blocks.
  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468.

If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.

The certificate is encoded in PEM format.

When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:

base64(
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
)

func (CertificateSigningRequestStatusPatchPtrOutput) Conditions added in v3.20.0

conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".

func (CertificateSigningRequestStatusPatchPtrOutput) Elem added in v3.20.0

func (CertificateSigningRequestStatusPatchPtrOutput) ElementType added in v3.20.0

func (CertificateSigningRequestStatusPatchPtrOutput) ToCertificateSigningRequestStatusPatchPtrOutput added in v3.20.0

func (o CertificateSigningRequestStatusPatchPtrOutput) ToCertificateSigningRequestStatusPatchPtrOutput() CertificateSigningRequestStatusPatchPtrOutput

func (CertificateSigningRequestStatusPatchPtrOutput) ToCertificateSigningRequestStatusPatchPtrOutputWithContext added in v3.20.0

func (o CertificateSigningRequestStatusPatchPtrOutput) ToCertificateSigningRequestStatusPatchPtrOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPatchPtrOutput

type CertificateSigningRequestStatusPtrInput

type CertificateSigningRequestStatusPtrInput interface {
	pulumi.Input

	ToCertificateSigningRequestStatusPtrOutput() CertificateSigningRequestStatusPtrOutput
	ToCertificateSigningRequestStatusPtrOutputWithContext(context.Context) CertificateSigningRequestStatusPtrOutput
}

CertificateSigningRequestStatusPtrInput is an input type that accepts CertificateSigningRequestStatusArgs, CertificateSigningRequestStatusPtr and CertificateSigningRequestStatusPtrOutput values. You can construct a concrete instance of `CertificateSigningRequestStatusPtrInput` via:

        CertificateSigningRequestStatusArgs{...}

or:

        nil

type CertificateSigningRequestStatusPtrOutput

type CertificateSigningRequestStatusPtrOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestStatusPtrOutput) Certificate

certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.

If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.

Validation requirements:

  1. certificate must contain one or more PEM blocks.
  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468.

If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.

The certificate is encoded in PEM format.

When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:

base64(
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
)

func (CertificateSigningRequestStatusPtrOutput) Conditions

conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".

func (CertificateSigningRequestStatusPtrOutput) Elem

func (CertificateSigningRequestStatusPtrOutput) ElementType

func (CertificateSigningRequestStatusPtrOutput) ToCertificateSigningRequestStatusPtrOutput

func (o CertificateSigningRequestStatusPtrOutput) ToCertificateSigningRequestStatusPtrOutput() CertificateSigningRequestStatusPtrOutput

func (CertificateSigningRequestStatusPtrOutput) ToCertificateSigningRequestStatusPtrOutputWithContext

func (o CertificateSigningRequestStatusPtrOutput) ToCertificateSigningRequestStatusPtrOutputWithContext(ctx context.Context) CertificateSigningRequestStatusPtrOutput

type CertificateSigningRequestType

type CertificateSigningRequestType struct {
	// 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 *string `pulumi:"apiVersion"`
	// 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     *string            `pulumi:"kind"`
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpec `pulumi:"spec"`
	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status *CertificateSigningRequestStatus `pulumi:"status"`
}

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

type CertificateSigningRequestTypeArgs

type CertificateSigningRequestTypeArgs struct {
	// 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.StringPtrInput `pulumi:"apiVersion"`
	// 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.StringPtrInput     `pulumi:"kind"`
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	Spec CertificateSigningRequestSpecInput `pulumi:"spec"`
	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status CertificateSigningRequestStatusPtrInput `pulumi:"status"`
}

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

func (CertificateSigningRequestTypeArgs) ElementType

func (CertificateSigningRequestTypeArgs) ToCertificateSigningRequestTypeOutput

func (i CertificateSigningRequestTypeArgs) ToCertificateSigningRequestTypeOutput() CertificateSigningRequestTypeOutput

func (CertificateSigningRequestTypeArgs) ToCertificateSigningRequestTypeOutputWithContext

func (i CertificateSigningRequestTypeArgs) ToCertificateSigningRequestTypeOutputWithContext(ctx context.Context) CertificateSigningRequestTypeOutput

type CertificateSigningRequestTypeArray

type CertificateSigningRequestTypeArray []CertificateSigningRequestTypeInput

func (CertificateSigningRequestTypeArray) ElementType

func (CertificateSigningRequestTypeArray) ToCertificateSigningRequestTypeArrayOutput

func (i CertificateSigningRequestTypeArray) ToCertificateSigningRequestTypeArrayOutput() CertificateSigningRequestTypeArrayOutput

func (CertificateSigningRequestTypeArray) ToCertificateSigningRequestTypeArrayOutputWithContext

func (i CertificateSigningRequestTypeArray) ToCertificateSigningRequestTypeArrayOutputWithContext(ctx context.Context) CertificateSigningRequestTypeArrayOutput

type CertificateSigningRequestTypeArrayInput

type CertificateSigningRequestTypeArrayInput interface {
	pulumi.Input

	ToCertificateSigningRequestTypeArrayOutput() CertificateSigningRequestTypeArrayOutput
	ToCertificateSigningRequestTypeArrayOutputWithContext(context.Context) CertificateSigningRequestTypeArrayOutput
}

CertificateSigningRequestTypeArrayInput is an input type that accepts CertificateSigningRequestTypeArray and CertificateSigningRequestTypeArrayOutput values. You can construct a concrete instance of `CertificateSigningRequestTypeArrayInput` via:

CertificateSigningRequestTypeArray{ CertificateSigningRequestTypeArgs{...} }

type CertificateSigningRequestTypeArrayOutput

type CertificateSigningRequestTypeArrayOutput struct{ *pulumi.OutputState }

func (CertificateSigningRequestTypeArrayOutput) ElementType

func (CertificateSigningRequestTypeArrayOutput) Index

func (CertificateSigningRequestTypeArrayOutput) ToCertificateSigningRequestTypeArrayOutput

func (o CertificateSigningRequestTypeArrayOutput) ToCertificateSigningRequestTypeArrayOutput() CertificateSigningRequestTypeArrayOutput

func (CertificateSigningRequestTypeArrayOutput) ToCertificateSigningRequestTypeArrayOutputWithContext

func (o CertificateSigningRequestTypeArrayOutput) ToCertificateSigningRequestTypeArrayOutputWithContext(ctx context.Context) CertificateSigningRequestTypeArrayOutput

type CertificateSigningRequestTypeInput

type CertificateSigningRequestTypeInput interface {
	pulumi.Input

	ToCertificateSigningRequestTypeOutput() CertificateSigningRequestTypeOutput
	ToCertificateSigningRequestTypeOutputWithContext(context.Context) CertificateSigningRequestTypeOutput
}

CertificateSigningRequestTypeInput is an input type that accepts CertificateSigningRequestTypeArgs and CertificateSigningRequestTypeOutput values. You can construct a concrete instance of `CertificateSigningRequestTypeInput` via:

CertificateSigningRequestTypeArgs{...}

type CertificateSigningRequestTypeOutput

type CertificateSigningRequestTypeOutput struct{ *pulumi.OutputState }

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

func (CertificateSigningRequestTypeOutput) ApiVersion

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

func (CertificateSigningRequestTypeOutput) ElementType

func (CertificateSigningRequestTypeOutput) Kind

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

func (CertificateSigningRequestTypeOutput) Metadata

func (CertificateSigningRequestTypeOutput) Spec

spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.

func (CertificateSigningRequestTypeOutput) Status

status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.

func (CertificateSigningRequestTypeOutput) ToCertificateSigningRequestTypeOutput

func (o CertificateSigningRequestTypeOutput) ToCertificateSigningRequestTypeOutput() CertificateSigningRequestTypeOutput

func (CertificateSigningRequestTypeOutput) ToCertificateSigningRequestTypeOutputWithContext

func (o CertificateSigningRequestTypeOutput) ToCertificateSigningRequestTypeOutputWithContext(ctx context.Context) CertificateSigningRequestTypeOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL