Documentation
¶
Overview ¶
This package contains all the configuration flags for Tetragon e2e tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Opts = Flags{ Helm: HelmOptions{ Wait: true, DaemonSetName: "tetragon", HelmChart: "cilium/tetragon", HelmRepoUrl: "https://helm.cilium.io", HelmChartVersion: "9999.9999.9999-dev", Namespace: "kube-system", ValuesFile: "", BTF: "", HelmValues: HelmValues{ "tetragon.exportAllowList": "", }, }, KeepExportData: false, UninstallTetragon: true, }
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct {
Helm HelmOptions
// Should we keep the export file for the tests regardless of pass/fail?
KeepExportData bool
// UninstallTetragon specifies whether Tetragon should be uninstalled after the test run.
UninstallTetragon bool
}
type HelmOptions ¶
type HelmOptions struct {
// Should helm wait for deployment to be ready?
Wait bool
// Name of the daemonset
DaemonSetName string
// Name of the helm chart
HelmChart string
// Url of the helm repo
HelmRepoUrl string
// Version of the helm chart
HelmChartVersion string
// Namespace to install Tetragon
Namespace string
// Optional values.yaml file for the Tetragon chart
ValuesFile string
// Optional helm values (a map specifying values to set)
HelmValues
// BTF file to load into the kind cluster
BTF string
}
type HelmValues ¶
func (*HelmValues) Set ¶
func (h *HelmValues) Set(value string) error
func (*HelmValues) String ¶
func (h *HelmValues) String() string
Click to show internal directories.
Click to hide internal directories.