Add storageclass option to config.yaml

This commit is contained in:
M. Mert Yildiran
2023-04-20 20:20:24 +03:00
parent 2d73b46b44
commit 38d121556c
6 changed files with 8 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ const (
NamespacesLabel = "namespaces"
SelfNamespaceLabel = "selfnamespace"
StorageLimitLabel = "storagelimit"
StorageClassLabel = "storageclass"
DryRunLabel = "dryrun"
PcapLabel = "pcap"
ServiceMeshLabel = "servicemesh"
@@ -82,6 +83,7 @@ type TapConfig struct {
Namespaces []string `yaml:"namespaces"`
SelfNamespace string `yaml:"selfnamespace" default:"kubeshark"`
StorageLimit string `yaml:"storagelimit" default:"200Mi"`
StorageClass string `yaml:"storageclass" default:"standard"`
DryRun bool `yaml:"dryrun" default:"false"`
Pcap string `yaml:"pcap" default:""`
Resources ResourcesConfig `yaml:"resources"`