eks

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// TODO: Promote this to a proper (versioned) k8s Object
	DNSZone      string            `json:"dnsZone"`
	ContactEmail string            `json:"contactEmail"`
	ExternalDNS  ExternalDNSConfig `json:"externalDns"`
	OauthProxy   OauthProxyConfig  `json:"oauthProxy"`
	// contains filtered or unexported fields
}

Local config required for EKS platforms

func (*Config) Generate

func (conf *Config) Generate(ctx context.Context) error

Generate platform configuration

type ExternalDNSConfig

type ExternalDNSConfig struct {
	AWSAccessKeyID     string `json:"aws_access_key_id"`
	AWSSecretAccessKey string `json:"aws_secret_access_key"`
}

Structure of `azure.json` required by external-dns

type OauthProxyConfig

type OauthProxyConfig struct {
	//AuthzDomain   string `json:"authz_domain"`
	ClientID      string `json:"client_id"`
	ClientSecret  string `json:"client_secret"`
	CookieSecret  string `json:"cookie_secret"`
	AWSRegion     string `json:"aws_region"`
	AWSUserPoolID string `json:"aws_user_pool_id"`
}

Config options required by oauth2-proxy

Jump to

Keyboard shortcuts

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