Template the ingressClassName field in Ingress resource

This commit is contained in:
M. Mert Yildiran
2023-06-27 03:25:58 +03:00
parent aeda024986
commit f32a7d97ec
3 changed files with 3 additions and 1 deletions

View File

@@ -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"`