config

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "lakom.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 Configuration

type Configuration struct {
	metav1.TypeMeta

	// HealthCheckConfig is the config for the health check controller.
	HealthCheckConfig *healthcheckconfig.HealthCheckConfig
	// CosignPublicKeys is the cosign public keys used to verify image signatures.
	CosignPublicKeys *runtime.RawExtension
	// DebugConfig contains debug configurations for the controller.
	DebugConfig *DebugConfig
	// SeedBootstrap configures the seed bootstrap controller.
	SeedBootstrap SeedBootstrap
	// UseOnlyImagePullSecrets sets lakom to use only the image pull secrets of the pod to access the OCI registry.
	// Otherwise, also the node identity and docker config file are used.
	UseOnlyImagePullSecrets bool
	// AllowUntrustedImages sets lakom webhook to allow images without trusted signature.
	// Instead to deny the request, the webhook will allow it with a warning.
	AllowUntrustedImages bool
	// AllowInsecureRegistries sets the lakom webhook to allow HTTP communication with OCI registries.
	// It first tries HTTPS and then falls back to HTTP.
	AllowInsecureRegistries bool
}

Configuration contains information about the Lakom 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 DebugConfig

type DebugConfig struct {
	// EnableProfiling enables profiling via web interface host:port/debug/pprof/.
	EnableProfiling bool
	// EnableContentionProfiling enables lock contention profiling, if
	// enableProfiling is true.
	EnableContentionProfiling bool
}

DebugConfig contains debug configurations for the controller.

func (*DebugConfig) DeepCopy

func (in *DebugConfig) DeepCopy() *DebugConfig

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

func (*DebugConfig) DeepCopyInto

func (in *DebugConfig) DeepCopyInto(out *DebugConfig)

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

type SeedBootstrap

type SeedBootstrap struct {
	// OwnerNamespace is the name of the namespace owning the resources related
	// to the seed bootstrap, as well as where the managed resources are deployed.
	OwnerNamespace string
	// Enabled determines whether any seed bootstrapping will occur.
	// Existing lakom resources will be removed from the seed.
	Enabled bool
}

SeedBootstrap holds configurations for the seed bootstrap controller.

func (*SeedBootstrap) DeepCopy

func (in *SeedBootstrap) DeepCopy() *SeedBootstrap

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

func (*SeedBootstrap) DeepCopyInto

func (in *SeedBootstrap) DeepCopyInto(out *SeedBootstrap)

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

Directories

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

Jump to

Keyboard shortcuts

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