env

package
v0.0.0-...-8823ab2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CMTemplate404Name                    = "TEMPLATE_404_CONFIG_MAP_NAME"
	CMTemplate404NS                      = "TEMPLATE_404_CONFIG_MAP_NAMESPACE"
	Development                          = "DEV_MODE"
	NS                                   = "NAMESPACE"
	ApplyCRDs                            = "APPLY_CRDS"
	EnableMetrics                        = "ENABLE_METRICS"
	EnableWebhook                        = "ENABLE_WEBHOOK"
	WebhookNS                            = "WEBHOOK_NAMESPACE"
	WebhookServiceName                   = "WEBHOOK_SERVICE_NAME"
	WebhookPort                          = "WEBHOOK_SERVICE_PORT"
	WebhookCertSecret                    = "WEBHOOK_CERT_SECRET_NAME" //nolint:gosec // This is not a hardcoded secret
	HttpCLientInsecureSkipCertVerify     = "HTTP_CLIENT_INSECURE_SKIP_CERT_VERIFY"
	HttpClientTimeoutSeconds             = "HTTP_CLIENT_TIMEOUT_SECONDS"
	TrueString                           = "true"
	IngressClasses                       = "INGRESS_CLASSES"
	CheckApiContextPathConflictInCluster = "CHECK_API_CONTEXT_PATH_CONFLICT_IN_CLUSTER"
	LogsFormat                           = "LOGS_FORMAT"
	LogsLevel                            = "LOGS_LEVEL"
	LogsLevelCase                        = "LOGS_LEVEL_CASE"
	LogsTimestampField                   = "LOGS_TIMESTAMP_FIELD"
	LogsTimestampFormat                  = "LOGS_TIMESTAMP_FORMAT"
)

Variables

View Source
var Config = struct {
	NS                                   string
	ApplyCRDs                            bool
	EnableMetrics                        bool
	EnableWebhook                        bool
	WebhookNS                            string
	WebhookService                       string
	WebhookPort                          int
	WebhookCertSecret                    string
	Development                          bool
	CMTemplate404Name                    string
	CMTemplate404NS                      string
	HTTPClientInsecureSkipVerify         bool
	HTTPClientTimeoutSeconds             int
	IngressClasses                       []string
	CheckApiContextPathConflictInCluster bool
	LogsFormat                           string
	LogsLevel                            string
	LogsLevelCase                        string
	LogsTimestampField                   string
	LogsTimestampFormat                  string
}{}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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