Change the default namespace from kubeshark to default and use .Release.Namespace in Helm templates

This commit is contained in:
M. Mert Yildiran
2023-06-27 21:06:44 +03:00
parent 1404c68a22
commit b9f9e860b6
22 changed files with 38 additions and 54 deletions

View File

@@ -17,7 +17,7 @@ const (
ProxyHubPortLabel = "proxy-hub-port"
ProxyHostLabel = "proxy-host"
NamespacesLabel = "namespaces"
SelfNamespaceLabel = "selfnamespace"
ReleaseNamespaceLabel = "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:"[]"`
SelfNamespace string `yaml:"selfnamespace" json:"selfnamespace" default:"kubeshark"`
ReleaseNamespace string `yaml:"releasenamespace" json:"releasenamespace" default:"default"`
PersistentStorage bool `yaml:"persistentstorage" json:"persistentstorage" default:"false"`
StorageLimit string `yaml:"storagelimit" json:"storagelimit" default:"200Mi"`
StorageClass string `yaml:"storageclass" json:"storageclass" default:"standard"`