certificateauthority

package
v0.0.0-...-cfb26ff Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TrustedCaConfigMapName is the name of the Marketplace ConfigMap that stores Certificate Authority bundle.
	TrustedCaConfigMapName = "marketplace-trusted-ca"

	// TrustedCaMountPath is the path to the directory where the Certificate Authority volume should be mounted.
	TrustedCaMountPath = "/etc/pki/ca-trust/extracted/pem/"

	// CABundleKey is the key in the ConfigMap that stores Certificate Authoritie bundle.
	CABundleKey = "ca-bundle.crt"

	// CABundlePath is the path where we will mount the Certificate Authorities bundle.
	CABundlePath = "tls-ca-bundle.pem"
)

Variables

This section is empty.

Functions

func MountCaConfigMap

func MountCaConfigMap(template *corev1.PodTemplateSpec)

MountCaConfigMap adds a Volume and VolumeMount for the Certificate Authority ConfigMap on the given PodTemplateSpec.

Types

type Handler

type Handler interface {
	Handle(context.Context, *corev1.ConfigMap) error
}

Handler is the interface that wraps the Handle method

Handle handles a new event associated with CatalogSources type.

ctx represents the parent context. event encapsulates the event fired by operator sdk.

func NewHandler

func NewHandler(client client.Client) Handler

NewHandler returns a new Handler.

Jump to

Keyboard shortcuts

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