-
Notifications
You must be signed in to change notification settings - Fork 466
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
feat(fluent-bit): Added support for ingress.annotations tpl rendering and image pull policy change #476
Conversation
Signed-off-by: Reddysekhar Gaduputi <[email protected]>
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.
Given that annotations are a known type why not use the following simple pattern?
{{- with .Values.ingress.annotations }}
annotations:
{{- range $key, $value := . }}
{{ printf "%s: %s" $key ((tpl $value $) | quote) }}
{{- end }}
{{- end }}
Signed-off-by: Reddysekhar Gaduputi <[email protected]>
@stevehipwell the idea was to create tpl function which will support any input type and it can be reused in the chart if required. any case , i have pushed your suggestion. |
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.
Thanks for making the changes @rgarcia6520, but the pattern still isn't quite right so i've added another suggestion. You will also need to update Chart.yaml with a new version and the release annotations before I can run the tests.
Could you also confirm that you've tested this locally with the values you're planning on using?
Co-authored-by: Steve Hipwell <[email protected]> Signed-off-by: Reddysekhar Gaduputi <[email protected]>
Signed-off-by: Reddysekhar Gaduputi <[email protected]>
@stevehipwell thanks, I have implemented your suggestion along with the |
Co-authored-by: Steve Hipwell <[email protected]> Signed-off-by: Reddysekhar Gaduputi <[email protected]>
Signed-off-by: Reddysekhar Gaduputi <[email protected]>
Signed-off-by: Reddysekhar Gaduputi <[email protected]>
@stevehipwell done, both are combined in this PR now. |
closes: #478 |
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
@patrick-stephens do you know why GH Actions might not be working correctly here? I've not seen a blip on the status page and all of the other repos I'm currently interacting with are fine. |
Just checking on mobile and I can't see any issue, What's the problem? |
@patrick-stephens it just hung for a reasonable period, I wasn't sure if there was an org issue or not. Looks like it was just another distributed system consistency issue (AKA undocumented failure). |
@patrick-stephens it actually looks like it is org based (the chart release action is also waiting), I suspect the GitHub shard Fluent is on is having runner availability issues. |
ingress.annotations
#475