Skip to content

Commit

Permalink
Update ingress.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
bradsoper authored Feb 13, 2024
1 parent 61632f0 commit 8778e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/app/dbs/tmpl/es/elastic/ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -35,4 +35,4 @@ spec:
service:
name: {{ .Spec.Dbs.Es.SvcName }}
port:
number: {{ .Spec.Dbs.Es.Port }}
number: {{ .Spec.Dbs.Es.Port }}

0 comments on commit 8778e27

Please sign in to comment.