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

    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.