Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTempDir = "/tmp/addon-operator" DefaultDebugUnixSocket = "/var/run/addon-operator/debug.socket" )
Variables ¶
View Source
var ( AppName = "addon-operator" AppDescription = "" Version = "dev" ListenAddress = "0.0.0.0" ListenPort = "9650" DefaultPrometheusMetricsPrefix = "addon_operator_" Helm3HistoryMax int32 = 10 Helm3Timeout = 5 * time.Minute HelmIgnoreRelease = "" HelmMonitorKubeClientQpsDefault = "5" // DefaultQPS from k8s.io/client-go/rest/config.go HelmMonitorKubeClientQps float32 HelmMonitorKubeClientBurstDefault = "10" // DefaultBurst from k8s.io/client-go/rest/config.go HelmMonitorKubeClientBurst int Namespace = "" ConfigMapName = "addon-operator" GlobalHooksDir = "global-hooks" ModulesDir = "modules" UnnumberedModuleOrder = 1 AdmissionServerListenPort = "9651" AdmissionServerCertsDir = "" AdmissionServerEnabled = false // StrictModeEnabled fail with error if MODULES_DIR/values.yaml does not exist StrictModeEnabled = false // AppliedExtenders defines the list and the order of applied module extenders AppliedExtenders = "" // ExtraLabels defines strings for CRDs label selector ExtraLabels = "heritage=addon-operator" // CRDsFilters defines filters for CRD files, example `doc-,_` CRDsFilters = "doc-,_" // NumberOfParallelQueues defines the number of precreated parallel queues for parallel execution NumberOfParallelQueues = 10 ParallelQueuePrefix = "parallel_queue" ParallelQueueNamePattern = ParallelQueuePrefix + "_%d" )
Functions ¶
func DefineDebugCommands ¶
func DefineDebugCommands(kpApp *kingpin.Application)
func DefineStartCommandFlags ¶
func DefineStartCommandFlags(kpApp *kingpin.Application, cmd *kingpin.CmdClause)
DefineStartCommandFlags init global flags with default values
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.