generic

package
v0.0.0-...-a79bcda Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericConfig

type GenericConfig struct {

	// TODO: Promote this to a proper (versioned) k8s Object
	DnsZone       string              `json:"dnsZone"`
	ContactEmail  string              `json:"contactEmail"`
	Keycloak      KeycloakConfig      `json:"keycloak"`
	PowerDNS      PowerDNSConfig      `json:"powerDns"`
	OauthProxy    OauthProxyConfig    `json:"oauthProxy"`
	MariaDBGalera MariaDBGaleraConfig `json:"mariadbGalera"`
	// contains filtered or unexported fields
}

Local config required for GKE platforms

func (*GenericConfig) Generate

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

type KeycloakConfig

type KeycloakConfig struct {
	DatabasePassword string `json:"db_password"`
	Password         string `json:"admin_password"`
	ClientID         string `json:"client_id"`
	ClientSecret     string `json:"client_secret"`
	Group            string `json:"group"`
}

Config options required by keycloak

type MariaDBGaleraConfig

type MariaDBGaleraConfig struct {
	RootPassword        string `json:"root_password"`
	MariaBackupPassword string `json:"mariabackup_password"`
}

Config required by mariadb galera

type OauthProxyConfig

type OauthProxyConfig struct {
	CookieSecret string `json:"cookie_secret"`
	AuthzDomain  string `json:"authz_domain"`
}

Config options required by oauth2-proxy

type PowerDNSConfig

type PowerDNSConfig struct {
	ApiKey           string `json:"api_key"`
	DatabasePassword string `json:"db_password"`
}

Config required by external-dns for PowerDNS

Jump to

Keyboard shortcuts

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