oidc

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

func (c *Config) ToKubeAPIServerFlags(clusterDomain string) ([]string, hcl.Diagnostics)

ToKubeAPIServerFlags configures the Config fields after setting default values and returns a list of oidc flags and errors if any.

Jump to

Keyboard shortcuts

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