issuerconfig

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 15 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 CreateOrUpdateCredentialIssuerStatus added in v0.6.0

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

func NewKubeConfigInfoPublisherController

func NewKubeConfigInfoPublisherController(
	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