Skip to content

Commit

Permalink
feat(fluent-bit): Added support for ingress.annotations tpl rendering…
Browse files Browse the repository at this point in the history
… and image pull policy change (#476)

* add support for ingress.annotations tpl rendering

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* modify ingress.annotations tpl rendering

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* Update charts/fluent-bit/templates/ingress.yaml with suggestion

Co-authored-by: Steve Hipwell <steve.hipwell@gmail.com>
Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* bump chart version and release annotations

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* Update charts/fluent-bit/Chart.yaml

Co-authored-by: Steve Hipwell <steve.hipwell@gmail.com>
Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* fluent-bit set image pull policy as IfNotPresent in values.yaml

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* bump chart version and add changed annotation

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

---------

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>
Co-authored-by: Steve Hipwell <steve.hipwell@gmail.com>
  • Loading branch information
rgaduput and stevehipwell committed Apr 2, 2024
1 parent 6d6a17d commit b4acc7b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- logging
- fluent-bit
- fluentd
version: 0.44.0
version: 0.45.0
appVersion: 2.2.2
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg
home: https://fluentbit.io/
Expand All @@ -22,5 +22,7 @@ maintainers:
email: steve.hipwell@gmail.com
annotations:
artifacthub.io/changes: |
- kind: added
description: "Added support for ingress.annotations tpl rendering"
- kind: changed
description: "Added local internalTrafficPolicy for daemonsets"
description: "Changed default image pull policy to IfNotPresent in values.yaml"
4 changes: 3 additions & 1 deletion charts/fluent-bit/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ metadata:
{{- include "fluent-bit.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- range $key, $value := . }}
{{ printf "%s: %s" $key ((tpl $value $) | quote) }}
{{- end }}
{{- end }}
spec:
{{- if and $ingressSupportsIngressClassName .Values.ingress.ingressClassName }}
Expand Down
2 changes: 1 addition & 1 deletion charts/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image:
# Set to "-" to not use the default value
tag:
digest:
pullPolicy: Always
pullPolicy: IfNotPresent

testFramework:
enabled: true
Expand Down

0 comments on commit b4acc7b

Please sign in to comment.