add fluentd host to ingress

This commit is contained in:
Simon Larsen 2024-07-12 11:29:37 +01:00
parent 4d31b85c4d
commit 113e95a059
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -46,4 +46,16 @@ spec:
port:
name: "http"
{{- end }}
{{- if $.Values.fluentdHost }}
- host: {{ $.Values.fluentdHost }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ printf "%s-%s" $.Release.Name "nginx" }}
port:
name: "oneuptime-http"
{{- end }}
{{- end }}