key

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FinalizerName = "encryption-provider-operator.finalizers.giantswarm.io"
)

Variables

View Source
var MasterNodeLabels = []string{
	"node-role.kubernetes.io/master",
	"node-role.kubernetes.io/control-plane",
}

Functions

func CleanWCK8sKubeconfig

func CleanWCK8sKubeconfig(clusterName string) error

CleanWCK8sKubeconfig will clean old kubeconfig file to avoid issue when cluster is recreated with same ID

func GetWCK8sClient

func GetWCK8sClient(ctx context.Context, ctrlClient client.Client, clusterName string, clusterNamespace string) (client.Client, error)

GetWCK8sClient will return workload cluster k8s controller-runtime client

func SecretName

func SecretName(clusterName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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