🐛 Fix <len .Values.tap.namespaces>: error calling len: len of nil pointer Helm install error

This commit is contained in:
M. Mert Yildiran
2023-06-20 22:14:06 +03:00
parent 8814e08871
commit bada6dae68
2 changed files with 3 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ type ResourcesConfig struct {
}
type AuthConfig struct {
ApprovedDomains []string `yaml:"approvedDomains" json:"approvedDomains"`
ApprovedDomains []string `yaml:"approvedDomains" json:"approvedDomains" default:"[]"`
}
type IngressConfig struct {
@@ -96,7 +96,7 @@ type TapConfig struct {
Docker DockerConfig `yaml:"docker" json:"docker"`
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
PodRegexStr string `yaml:"regex" json:"regex" default:".*"`
Namespaces []string `yaml:"namespaces" json:"namespaces"`
Namespaces []string `yaml:"namespaces" json:"namespaces" 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"`