mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-23 14:58:44 +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 {
|
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:"kubeshark-ingress-class"`
|
||||||
Host string `yaml:"host" json:"host" default:"ks.svc.cluster.local"`
|
Host string `yaml:"host" json:"host" default:"ks.svc.cluster.local"`
|
||||||
TLS []networking.IngressTLS `yaml:"tls" json:"tls"`
|
TLS []networking.IngressTLS `yaml:"tls" json:"tls"`
|
||||||
Auth AuthConfig `yaml:"auth" json:"auth"`
|
Auth AuthConfig `yaml:"auth" json:"auth"`
|
||||||
|
@ -14,7 +14,7 @@ metadata:
|
|||||||
name: kubeshark-ingress
|
name: kubeshark-ingress
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: kubeshark-ingress-class
|
ingressClassName: {{ .Values.tap.ingress.className }}
|
||||||
rules:
|
rules:
|
||||||
- host: {{ .Values.tap.ingress.host }}
|
- host: {{ .Values.tap.ingress.host }}
|
||||||
http:
|
http:
|
||||||
|
@ -45,6 +45,7 @@ tap:
|
|||||||
nodeselectorterms: []
|
nodeselectorterms: []
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
className: kubeshark-ingress-class
|
||||||
host: ks.svc.cluster.local
|
host: ks.svc.cluster.local
|
||||||
tls: []
|
tls: []
|
||||||
auth:
|
auth:
|
||||||
|
Loading…
Reference in New Issue
Block a user