mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-22 22:39:40 +00:00
✨ Template the ingressClassName
field in Ingress
resource
This commit is contained in:
parent
aeda024986
commit
f32a7d97ec
@ -86,6 +86,7 @@ type AuthConfig struct {
|
||||
|
||||
type IngressConfig struct {
|
||||
Enabled bool `yaml:"enabled" json:"enabled" default:"false"`
|
||||
ClassName string `yaml:"className" json:"className" default:"kubeshark-ingress-class"`
|
||||
Host string `yaml:"host" json:"host" default:"ks.svc.cluster.local"`
|
||||
TLS []networking.IngressTLS `yaml:"tls" json:"tls"`
|
||||
Auth AuthConfig `yaml:"auth" json:"auth"`
|
||||
|
@ -14,7 +14,7 @@ metadata:
|
||||
name: kubeshark-ingress
|
||||
namespace: {{ .Values.tap.selfnamespace }}
|
||||
spec:
|
||||
ingressClassName: kubeshark-ingress-class
|
||||
ingressClassName: {{ .Values.tap.ingress.className }}
|
||||
rules:
|
||||
- host: {{ .Values.tap.ingress.host }}
|
||||
http:
|
||||
|
@ -45,6 +45,7 @@ tap:
|
||||
nodeselectorterms: []
|
||||
ingress:
|
||||
enabled: false
|
||||
className: kubeshark-ingress-class
|
||||
host: ks.svc.cluster.local
|
||||
tls: []
|
||||
auth:
|
||||
|
Loading…
Reference in New Issue
Block a user