Template the controller field in IngressClass resource

This commit is contained in:
M. Mert Yildiran
2023-06-27 03:27:40 +03:00
parent bc031be0fe
commit 4ef91a2701
3 changed files with 3 additions and 1 deletions

View File

@@ -87,6 +87,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"`
Controller string `yaml:"controller" json:"controller" default:"k8s.io/ingress-nginx"`
Host string `yaml:"host" json:"host" default:"ks.svc.cluster.local"`
TLS []networking.IngressTLS `yaml:"tls" json:"tls"`
Auth AuthConfig `yaml:"auth" json:"auth"`