Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
type Configurator struct {
// contains filtered or unexported fields
}
Configurator provides functionality for updating Dex ConfigMap and Deployment to work with provided UAA Connector
func NewConfigurator ¶
func NewConfigurator(config Config, cli client.Client, uaaConfigProvider uaaConfigProvider) *Configurator
NewConfigurator returns a new instance of the Configurator
func (*Configurator) EnsureConfiguredUAAInDexDeployment ¶
func (c *Configurator) EnsureConfiguredUAAInDexDeployment(ctx context.Context) error
EnsureConfiguredUAAInDexDeployment mutate dex deployment to use UAA connector and waits until Pods are restarted.
func (*Configurator) EnsureUAAConnectorInDexConfigMap ¶
func (c *Configurator) EnsureUAAConnectorInDexConfigMap(ctx context.Context) error
EnsureUAAConnectorInDexConfigMap update the Dex ConfigMap.
BE AWARE: - The `connectors` entry is overridden - The `enablePasswordDB` field is set to `false`
type Overrider ¶
type Overrider struct {
// contains filtered or unexported fields
}
Overrider provides functionality for creating Dex override ConfigMap used during the Kyma install/upgrade action
func NewOverrider ¶
NewOverrider returns a new instance of Overrider
type UAARenderer ¶
type UAARenderer struct {
// contains filtered or unexported fields
}
UAARenderer provides functionality for renderng the UAA connector config suited for Dex
func NewUAARenderer ¶
NewUAARenderer returns a new UAARenderer instance
func (*UAARenderer) RenderUAAConnectorConfig ¶
func (u *UAARenderer) RenderUAAConnectorConfig(ctx context.Context) (string, error)
RenderUAAConnectorConfig renders uaa connector configuration based on information stored in Secret.