Documentation
¶
Index ¶
Constants ¶
View Source
const ( TetragonOpEnvPrefix = "TETRAGON_OPERATOR" // SkipCRDCreation specifies whether the CustomResourceDefinition will be // disabled for the operator SkipCRDCreation = "skip-crd-creation" // CMDRef is the path to cmdref output directory CMDRef = "cmdref" // KubeCfgPath is the path to a kubeconfig file KubeCfgPath = "kube-config" // ConfigDir specifies the directory in which tetragon-operator-config configmap is mounted. ConfigDir = "config-dir" // SkipPodInfoCRD specifies whether the tetragonPod CustomResourceDefinition will be // disabled SkipPodInfoCRD = "skip-pod-info-crd" )
Variables ¶
View Source
var Config = &OperatorConfig{}
Config represents the operator configuration.
Functions ¶
func ConfigPopulate ¶ added in v1.0.0
func ConfigPopulate()
ConfigPopulate sets all options with the values from viper.
Types ¶
type OperatorConfig ¶
type OperatorConfig struct { // SkipCRDCreation disables creation of the CustomResourceDefinition // for the operator SkipCRDCreation bool // KubeCfgPath allows users to specify a kubeconfig file to be used by the operator KubeCfgPath string // ConfigDir specifies the directory in which tetragon-operator-config configmap is mounted. ConfigDir string // SkipPodInfoCRD disables creation of the TetragonPod CustomResourceDefinition only. SkipPodInfoCRD bool }
OperatorConfig is the configuration used by the operator.
Click to show internal directories.
Click to hide internal directories.