issuerconfig

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package issuerconfig contains controller(s) for reconciling CredentialIssuer's.

Index

Constants

View Source
const (
	ClusterInfoNamespace = "kube-public"
)

Variables

This section is empty.

Functions

func CreateOrUpdateCredentialIssuer added in v0.2.0

func CreateOrUpdateCredentialIssuer(
	ctx context.Context,
	credentialIssuerNamespace string,
	credentialIssuerResourceName string,
	credentialIssuerLabels map[string]string,
	pinnipedClient pinnipedclientset.Interface,
	applyUpdatesToCredentialIssuerFunc func(configToUpdate *configv1alpha1.CredentialIssuer),
) error

func NewKubeConfigInfoPublisherController

func NewKubeConfigInfoPublisherController(
	credentialIssuerNamespaceName string,
	credentialIssuerResourceName string,
	credentialIssuerLabels map[string]string,
	serverOverride *string,
	pinnipedClient pinnipedclientset.Interface,
	configMapInformer corev1informers.ConfigMapInformer,
	withInformer pinnipedcontroller.WithInformerOptionFunc,
) controllerlib.Controller

NewKubeConfigInfoPublisherController returns a controller that syncs the configv1alpha1.CredentialIssuer.Status.KubeConfigInfo field with the cluster-info ConfigMap in the kube-public namespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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