diff --git a/pkg/app/dbs/tmpl/es/elastic/ingress.tpl b/pkg/app/dbs/tmpl/es/elastic/ingress.tpl index 73917274..4b19a488 100644 --- a/pkg/app/dbs/tmpl/es/elastic/ingress.tpl +++ b/pkg/app/dbs/tmpl/es/elastic/ingress.tpl @@ -18,7 +18,7 @@ metadata: {{$k}}: "{{$v}}" {{- end }} spec: - ingressClassName: nginx + ingressClassName: {{ .Spec.Networking.Ingress.IngressClassName }} {{- if and ( isTrue .Spec.Networking.HTTPS.Enabled ) (ne .Spec.Networking.HTTPS.CertSecret "") }} tls: - hosts: @@ -35,4 +35,4 @@ spec: service: name: {{ .Spec.Dbs.Es.SvcName }} port: - number: {{ .Spec.Dbs.Es.Port }} \ No newline at end of file + number: {{ .Spec.Dbs.Es.Port }}