-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fluentd] Add Ingress. #281
Conversation
18115d4
to
5ed3ba3
Compare
This should be ok. Do you mind rebasing? |
5ed3ba3
to
b0a3d8a
Compare
@dioguerra Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please fix the extraHostnames? it's breaking stuff
Also, can you ident to align the arrays with the objects?
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
{{- with .secretName }}
secretName: {{ . }}
{{- end }}
{{- end }}
{{- end }}
rules:
{{- range concat .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ $fullName }}
port:
{{- if .port }}
number: {{ .port }}
{{- end }}
{{- end }}
@pecastro ping |
82192c2
to
b0d1908
Compare
Pushed a correction.
|
@dioguerra pong. |
Would be great to have this in the official Helm Chart, in our case we are creating it manually. @dioguerra what do we need to make it happen? |
Hello. Check the TODO for the merge:
Not mandatory:
@amontalban @pecastro - thanks for pinging :D |
Signed-off-by: Paulo E. Castro <[email protected]>
166e575
to
587c385
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thnaks
Please fix issues as found by the CI. @pecastro |
Fix indentation. Add default port number. Make host optional. Signed-off-by: Paulo E. Castro <[email protected]>
587c385
to
9ec916e
Compare
I'll have a looksie ... |
May you also add the ingressClass option? Would be really nice ... |
Add Ingress resource to fluentd for Deployment/StatefulSet options.