issuerconfig

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Variables

This section is empty.

Functions

func CreateOrUpdateCredentialIssuerConfig

func CreateOrUpdateCredentialIssuerConfig(
	ctx context.Context,
	credentialIssuerConfigNamespace string,
	credentialIssuerConfigResourceName string,
	pinnipedClient pinnipedclientset.Interface,
	applyUpdatesToCredentialIssuerConfigFunc func(configToUpdate *configv1alpha1.CredentialIssuerConfig),
) error

func NewKubeConfigInfoPublisherController

func NewKubeConfigInfoPublisherController(
	credentialIssuerConfigNamespaceName string,
	credentialIssuerConfigResourceName string,
	serverOverride *string,
	pinnipedClient pinnipedclientset.Interface,
	configMapInformer corev1informers.ConfigMapInformer,
	withInformer pinnipedcontroller.WithInformerOptionFunc,
) controllerlib.Controller

NewKubeConfigInfoPublisherController returns a controller that syncs the configv1alpha1.CredentialIssuerConfig.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