Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// DisableAuth disables authentication/authorization, should be false for production and true in integration without keycloak
DisableAuth bool
// DisableMultitenancy disables multi-tenancy integration, should be false for production and true in integration without multi-tenancy
DisableMultitenancy bool
// DisableInventory disables inventory integration, should be false for production and true in integration without infra-manager's inventory
DisableInventory bool
// DisableMetrics disables metrics, should be false for production and true in integration without prometheus
DisableMetrics bool
// Default template name to use for new projects
DefaultTemplate string
// KubeconfigTTL specifies the TTL for kubeconfig JWT tokens
KubeconfigTTL time.Duration
OidcUrl string
OpaEnabled bool
OpaPort int
LogLevel int
LogFormat string
SystemLabelsPrefixes []string
ClusterDomain string
Username string
InventoryAddress string
}
func ParseConfig ¶
func ParseConfig() *Config
ParseConfig parses the configuration from flags and environment variables
Click to show internal directories.
Click to hide internal directories.