chore: logging version bump

This commit is contained in:
Stefan Reimer 2021-10-11 12:56:44 +02:00
parent dcadbd51e4
commit f8f9160ed6
7 changed files with 40 additions and 18 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-logging name: kubezero-logging
description: KubeZero Umbrella Chart for complete EFK stack description: KubeZero Umbrella Chart for complete EFK stack
type: application type: application
version: 0.7.13 version: 0.7.14
appVersion: 1.6.0 appVersion: 1.6.0
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
@ -26,6 +26,6 @@ dependencies:
version: 0.2.10 version: 0.2.10
condition: fluentd.enabled condition: fluentd.enabled
- name: fluent-bit - name: fluent-bit
version: 0.17.0 version: 0.19.0
condition: fluent-bit.enabled condition: fluent-bit.enabled
kubeVersion: ">= 1.18.0" kubeVersion: ">= 1.18.0"

View File

@ -1,9 +1,11 @@
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: added
description: "Update image version to v1.8.6." description: "Support setting initContainers to a string value to enable full templating."
- kind: removed
description: "Don't template initContainers when set to an array."
apiVersion: v1 apiVersion: v1
appVersion: 1.8.6 appVersion: 1.8.7
description: Fast and lightweight log processor and forwarder or Linux, OSX and BSD description: Fast and lightweight log processor and forwarder or Linux, OSX and BSD
family operating systems. family operating systems.
home: https://fluentbit.io/ home: https://fluentbit.io/
@ -22,4 +24,4 @@ maintainers:
name: fluent-bit name: fluent-bit
sources: sources:
- https://github.com/fluent/fluent-bit/ - https://github.com/fluent/fluent-bit/
version: 0.17.0 version: 0.19.0

View File

@ -1,4 +1,4 @@
# Fluent Bit Helm Chart # Fluent Bit Helm chart
[Fluent Bit](https://fluentbit.io) is a fast and lightweight log processor and forwarder or Linux, OSX and BSD family operating systems. [Fluent Bit](https://fluentbit.io) is a fast and lightweight log processor and forwarder or Linux, OSX and BSD family operating systems.
@ -16,7 +16,7 @@ To install a release named `fluent-bit`, run:
helm install fluent-bit fluent/fluent-bit helm install fluent-bit fluent/fluent-bit
``` ```
## Chart Values ## Chart values
```sh ```sh
helm show values fluent/fluent-bit helm show values fluent/fluent-bit

View File

@ -1,4 +1,5 @@
{{- define "fluent-bit.pod" -}} {{- define "fluent-bit.pod" -}}
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
@ -6,9 +7,10 @@ imagePullSecrets:
{{- if .Values.priorityClassName }} {{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName }}
{{- end }} {{- end }}
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }} {{- with .Values.podSecurityContext }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }} hostNetwork: {{ .Values.hostNetwork }}
dnsPolicy: {{ .Values.dnsPolicy }} dnsPolicy: {{ .Values.dnsPolicy }}
{{- with .Values.dnsConfig }} {{- with .Values.dnsConfig }}
@ -19,14 +21,20 @@ dnsConfig:
hostAliases: hostAliases:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}
{{- if .Values.initContainers }} {{- with .Values.initContainers }}
initContainers: initContainers:
{{- toYaml .Values.initContainers | nindent 2 }} {{- if kindIs "string" . }}
{{- tpl . $ | nindent 2 }}
{{- else }}
{{- toYaml . | nindent 2 }}
{{- end -}}
{{- end }} {{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
{{- with .Values.securityContext }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 6 }} {{- toYaml . | nindent 6 }}
{{- end }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.env }} {{- if .Values.env }}
@ -60,8 +68,10 @@ containers:
{{- toYaml .Values.livenessProbe | nindent 6 }} {{- toYaml .Values.livenessProbe | nindent 6 }}
readinessProbe: readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 6 }} {{- toYaml .Values.readinessProbe | nindent 6 }}
{{- with .Values.resources }}
resources: resources:
{{- toYaml .Values.resources | nindent 6 }} {{- toYaml . | nindent 6 }}
{{- end }}
volumeMounts: volumeMounts:
{{- toYaml .Values.volumeMounts | nindent 6 }} {{- toYaml .Values.volumeMounts | nindent 6 }}
{{- range $key, $val := .Values.config.extraFiles }} {{- range $key, $val := .Values.config.extraFiles }}

View File

@ -285,9 +285,19 @@ args: []
command: [] command: []
# This supports either a structured array or a templatable string
initContainers: [] initContainers: []
# Array mode
# initContainers:
# - name: do-something # - name: do-something
# image: busybox # image: bitnami/kubectl:1.22
# command: ['do', 'something'] # command: ['kubectl', 'version']
# String mode
# initContainers: |-
# - name: do-something
# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
# command: ['kubectl', 'version']
logLevel: info logLevel: info

View File

@ -6,7 +6,7 @@ metadata:
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
grafana_dashboard: "1" grafana_dashboard: "1"
{{ include "kubezero-lib.labels" . | indent 4 }} {{- include "kubezero-lib.labels" . | nindent 4 }}
annotations: annotations:
k8s-sidecar-target-directory: Logging k8s-sidecar-target-directory: Logging
binaryData: binaryData:

View File

@ -244,7 +244,7 @@ fluent-bit:
image: image:
#repository: public.ecr.aws/zero-downtime/fluent-bit #repository: public.ecr.aws/zero-downtime/fluent-bit
tag: 1.8.7 tag: 1.8.8
serviceMonitor: serviceMonitor:
enabled: false enabled: false