Rename releasenamespace field to selfnamespace

This commit is contained in:
M. Mert Yildiran
2023-07-03 11:54:06 +03:00
parent f7ce141d0d
commit d8ee89225c
10 changed files with 24 additions and 24 deletions

View File

@@ -17,7 +17,7 @@ const (
ProxyHubPortLabel = "proxy-hub-port"
ProxyHostLabel = "proxy-host"
NamespacesLabel = "namespaces"
ReleaseNamespaceLabel = "releasenamespace"
SelfNamespaceLabel = "releasenamespace"
PersistentStorageLabel = "persistentstorage"
StorageLimitLabel = "storagelimit"
StorageClassLabel = "storageclass"
@@ -99,7 +99,7 @@ type TapConfig struct {
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
PodRegexStr string `yaml:"regex" json:"regex" default:".*"`
Namespaces []string `yaml:"namespaces" json:"namespaces" default:"[]"`
ReleaseNamespace string `yaml:"releasenamespace" json:"releasenamespace" default:"default"`
SelfNamespace string `yaml:"selfnamespace" json:"selfnamespace" default:"kubeshark"`
PersistentStorage bool `yaml:"persistentstorage" json:"persistentstorage" default:"false"`
StorageLimit string `yaml:"storagelimit" json:"storagelimit" default:"200Mi"`
StorageClass string `yaml:"storageclass" json:"storageclass" default:"standard"`