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"
Click to show internal directories.
Click to hide internal directories.