config

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoCdConfig

type ArgoCdConfig struct {
	BaseUrl string `json:"baseUrl"`
}

type AuthConfig

type AuthConfig struct {
	AzureAuth *AzureAuthConfig `json:"azureAuth"`
}

type AzureAuthConfig

type AzureAuthConfig struct {
	Enabled       bool   `json:"enabled"`
	ClientId      string `json:"clientId"`
	TenantId      string `json:"tenantId"`
	CloudInstance string `json:"cloudInstance"`
	RedirectURL   string `json:"redirectURL"`
}

type FrontendConfig

type FrontendConfig struct {
	ArgoCd           *ArgoCdConfig `json:"argocd"`
	Auth             *AuthConfig   `json:"auth"`
	KuberpultVersion string        `json:"version"`
	SourceRepoUrl    string        `json:"source"`
	ManifestRepoUrl  string        `json:"manifestRepoUrl"`
	Branch           string        `json:"branch"`
}

type ServerConfig

type ServerConfig struct {
	CdServer            string        `default:"kuberpult-cd-service:8443"`
	CdServerSecure      bool          `default:"false" split_words:"true"`
	RolloutServer       string        `default:""`
	HttpCdServer        string        `default:"http://kuberpult-cd-service:80" split_words:"true"`
	GKEProjectNumber    string        `default:"" split_words:"true"`
	GKEBackendServiceID string        `default:"" split_words:"true"`
	EnableTracing       bool          `default:"false" split_words:"true"`
	ArgocdBaseUrl       string        `default:"" split_words:"true"`
	PgpKeyRingPath      string        `split_words:"true"`
	AzureEnableAuth     bool          `default:"false" split_words:"true"`
	AzureCloudInstance  string        `default:"https://login.microsoftonline.com/" split_words:"true"`
	AzureClientId       string        `default:"" split_words:"true"`
	AzureTenantId       string        `default:"" split_words:"true"`
	AzureRedirectUrl    string        `default:"" split_words:"true"`
	DexEnabled          bool          `default:"false" split_words:"true"`
	DexClientId         string        `default:"" split_words:"true"`
	DexClientSecret     string        `default:"" split_words:"true"`
	DexBaseURL          string        `default:"" split_words:"true"`
	DexScopes           string        `default:"" split_words:"true"`
	Version             string        `default:""`
	SourceRepoUrl       string        `default:"" split_words:"true"`
	ManifestRepoUrl     string        `default:"" split_words:"true"`
	GitBranch           string        `default:"" split_words:"true"`
	AllowedOrigins      string        `default:"" split_words:"true"`
	GitAuthorName       string        `default:"" split_words:"true"`
	GitAuthorEmail      string        `default:"" split_words:"true"`
	MaxWaitDuration     time.Duration `default:"10m" split_words:"true"`
}

Jump to

Keyboard shortcuts

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