Documentation ¶
Overview ¶
Package oidc configures the Kubernetes API server oidc flags needed for the OIDC-based authentication mechanism.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IssuerURL string `hcl:"issuer_url,optional"` ClientID string `hcl:"client_id,optional"` UsernameClaim string `hcl:"username_claim,optional"` GroupsClaim string `hcl:"groups_claim,optional"` }
Config deals with providing OIDC related fields to the Lokomotive cluster for OIDC based Authentication via Dex and Gangway.
func (*Config) ToKubeAPIServerFlags ¶
ToKubeAPIServerFlags configures the Config fields after setting default values and returns a list of oidc flags and errors if any.
Click to show internal directories.
Click to hide internal directories.