🔨 Add tap.ingress.path helm value (#1782)

Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
Serhii Ponomarenko
2025-08-26 23:01:55 +03:00
committed by GitHub
parent cf867fe701
commit 88f43b94d9
3 changed files with 3 additions and 1 deletions

View File

@@ -188,6 +188,7 @@ type IngressConfig struct {
Enabled bool `yaml:"enabled" json:"enabled" default:"false"` Enabled bool `yaml:"enabled" json:"enabled" default:"false"`
ClassName string `yaml:"className" json:"className" default:""` ClassName string `yaml:"className" json:"className" default:""`
Host string `yaml:"host" json:"host" default:"ks.svc.cluster.local"` Host string `yaml:"host" json:"host" default:"ks.svc.cluster.local"`
Path string `yaml:"path" json:"path" default:"/"`
TLS []networking.IngressTLS `yaml:"tls" json:"tls" default:"[]"` TLS []networking.IngressTLS `yaml:"tls" json:"tls" default:"[]"`
Annotations map[string]string `yaml:"annotations" json:"annotations" default:"{}"` Annotations map[string]string `yaml:"annotations" json:"annotations" default:"{}"`
} }

View File

@@ -28,7 +28,7 @@ spec:
name: kubeshark-front name: kubeshark-front
port: port:
number: 80 number: 80
path: / path: {{ default "/" (((.Values).tap).ingress).path }}
pathType: Prefix pathType: Prefix
{{- if .Values.tap.ingress.tls }} {{- if .Values.tap.ingress.tls }}
tls: tls:

View File

@@ -139,6 +139,7 @@ tap:
enabled: false enabled: false
className: "" className: ""
host: ks.svc.cluster.local host: ks.svc.cluster.local
path: /
tls: [] tls: []
annotations: {} annotations: {}
priorityClass: "" priorityClass: ""