supervisor

package
v0.0.0-...-fb71679 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package supervisor implements the pinniped supervisor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurator

type Configurator struct {
	Clientset    pinnipedsupervisorclientset.Interface
	K8SClientset kubernetes.Interface
}

Configurator contains client information.

func (Configurator) CreateOrUpdateFederationDomain

func (c Configurator) CreateOrUpdateFederationDomain(ctx context.Context, namespace, name, issuer string) error

CreateOrUpdateFederationDomain creates a new federation domain or updates an existing one.

func (Configurator) RecreateIDPForDex

func (c Configurator) RecreateIDPForDex(ctx context.Context, dexNamespace, dexSvcName string, dexTLSSecret *corev1.Secret) (*idpv1alpha1.OIDCIdentityProvider, error)

RecreateIDPForDex recreates the IDP for Dex. The reason of recreation is because updating IDP could not trigger the reconciliation from Pinniped controller to update the IDP status, the upstream discovery would be stuck in failed status. UI will show "Unprocessable Entity: No upstream providers are configured"

type PinnipedInfo

type PinnipedInfo struct {
	MgmtClusterName          *string `json:"cluster_name,omitempty"`
	Issuer                   *string `json:"issuer,omitempty"`
	IssuerCABundleData       *string `json:"issuer_ca_bundle_data,omitempty"`
	ConciergeIsClusterScoped bool    `json:"concierge_is_cluster_scoped,string"`
}

PinnipedInfo contains settings for the supervisor.

Jump to

Keyboard shortcuts

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