kms

package
v0.1.51 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	KasMainContainerName = "kube-apiserver"
)

Variables

This section is empty.

Functions

func NewAWSKMSProvider

func NewAWSKMSProvider(kmsSpec *hyperv1.AWSKMSSpec, kmsImage, tokenMinterImage string) (*awsKMSProvider, error)

func NewAzureKMSProvider

func NewAzureKMSProvider(kmsSpec *hyperv1.AzureKMSSpec, image string) (*azureKMSProvider, error)

func NewIBMCloudKMSProvider

func NewIBMCloudKMSProvider(ibmCloud *hyperv1.IBMCloudKMSSpec, kmsImage string) (*ibmCloudKMSProvider, error)

Types

type KMSPodConfig

type KMSPodConfig struct {
	Containers []corev1.Container
	Volumes    []corev1.Volume

	KASContainerMutate func(c *corev1.Container)
}

type KMSProvider

type KMSProvider interface {
	GenerateKMSEncryptionConfig(apiVersion string) (*v1.EncryptionConfiguration, error)

	GenerateKMSPodConfig() (*KMSPodConfig, error)
}

Jump to

Keyboard shortcuts

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