config

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "shoot-cert-service.extensions.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ACME

type ACME struct {
	// Email is the e-mail address used for the ACME issuer.
	Email string
	// Server is the server address used for the ACME issuer.
	Server string
	// PrivateKey is the key used for the ACME issuer.
	PrivateKey *string
	// PropagationTimeout is the timeout for DNS01 challenges.
	PropagationTimeout *metav1.Duration
	// PrecheckNameservers is used to specify a comma-separated list of DNS servers for checking availability for DNS
	// challenge before calling ACME CA
	PrecheckNameservers *string
	// CACertificates are custom root certificates to be made available for the cert-controller-manager
	CACertificates *string
	// DeactivateAuthorizations enables deactivation of authorizations after successful certificate request
	DeactivateAuthorizations *bool
}

ACME holds information about the ACME issuer used for the certificate service.

func (*ACME) DeepCopy

func (in *ACME) DeepCopy() *ACME

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACME.

func (*ACME) DeepCopyInto

func (in *ACME) DeepCopyInto(out *ACME)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Configuration

type Configuration struct {
	metav1.TypeMeta

	// IssuerName is the name of the issuer.
	IssuerName string
	// RestrictIssuer restricts the ACME issuer to shoot related domains.
	RestrictIssuer *bool
	// DefaultRequestsPerDayQuota restricts the certificate requests per issuer (can be overriden in issuer spec)
	DefaultRequestsPerDayQuota *int32
	// ShootIssuers contains enablement for issuers on shoot cluster
	ShootIssuers *ShootIssuers
	// ACME contains ACME related configuration.
	ACME ACME
	// HealthCheckConfig is the config for the health check controller.
	HealthCheckConfig *apisconfig.HealthCheckConfig
	// PrivateKeyDefaults default algorithm and sizes for certificate private keys.
	PrivateKeyDefaults *PrivateKeyDefaults
}

Configuration contains information about the certificate service configuration.

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Configuration) DeepCopyObject

func (in *Configuration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PrivateKeyDefaults added in v1.43.0

type PrivateKeyDefaults struct {
	// Algorithm is the default algorithm ('RSA' or 'ECDSA')
	Algorithm *string
	// SizeRSA is the default size for RSA algorithm.
	SizeRSA *int
	// SizeECDSA is the default size for ECDSA algorithm.
	SizeECDSA *int
}

PrivateKeyDefaults default algorithm and sizes for certificate private keys.

func (*PrivateKeyDefaults) DeepCopy added in v1.43.0

func (in *PrivateKeyDefaults) DeepCopy() *PrivateKeyDefaults

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateKeyDefaults.

func (*PrivateKeyDefaults) DeepCopyInto added in v1.43.0

func (in *PrivateKeyDefaults) DeepCopyInto(out *PrivateKeyDefaults)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootIssuers added in v1.14.0

type ShootIssuers struct {
	Enabled bool
}

ShootIssuers holds enablement for issuers on shoot cluster

func (*ShootIssuers) DeepCopy added in v1.14.0

func (in *ShootIssuers) DeepCopy() *ShootIssuers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootIssuers.

func (*ShootIssuers) DeepCopyInto added in v1.14.0

func (in *ShootIssuers) DeepCopyInto(out *ShootIssuers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
Package v1alpha1 contains the Certificate Shoot Service extension configuration.
Package v1alpha1 contains the Certificate Shoot Service extension configuration.

Jump to

Keyboard shortcuts

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