mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-23 14:58:44 +00:00
🐛 Fix <len .Values.tap.namespaces>: error calling len: len of nil pointer
Helm install error
This commit is contained in:
parent
8814e08871
commit
bada6dae68
@ -90,6 +90,7 @@ func tap() {
|
|||||||
rel, err := helm.NewHelmDefault().Install()
|
rel, err := helm.NewHelmDefault().Install()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Err(err).Send()
|
log.Error().Err(err).Send()
|
||||||
|
return
|
||||||
} else {
|
} else {
|
||||||
log.Info().Msgf("Installed the Helm release: %s", rel.Name)
|
log.Info().Msgf("Installed the Helm release: %s", rel.Name)
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ type ResourcesConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type AuthConfig struct {
|
type AuthConfig struct {
|
||||||
ApprovedDomains []string `yaml:"approvedDomains" json:"approvedDomains"`
|
ApprovedDomains []string `yaml:"approvedDomains" json:"approvedDomains" default:"[]"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type IngressConfig struct {
|
type IngressConfig struct {
|
||||||
@ -96,7 +96,7 @@ type TapConfig struct {
|
|||||||
Docker DockerConfig `yaml:"docker" json:"docker"`
|
Docker DockerConfig `yaml:"docker" json:"docker"`
|
||||||
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
|
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
|
||||||
PodRegexStr string `yaml:"regex" json:"regex" default:".*"`
|
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"`
|
SelfNamespace string `yaml:"selfnamespace" json:"selfnamespace" default:"kubeshark"`
|
||||||
PersistentStorage bool `yaml:"persistentstorage" json:"persistentstorage" default:"false"`
|
PersistentStorage bool `yaml:"persistentstorage" json:"persistentstorage" default:"false"`
|
||||||
StorageLimit string `yaml:"storagelimit" json:"storagelimit" default:"200Mi"`
|
StorageLimit string `yaml:"storagelimit" json:"storagelimit" default:"200Mi"`
|
||||||
|
Loading…
Reference in New Issue
Block a user