Skip to content

Commit

Permalink
Merge branch 'fluent:master' into http
Browse files Browse the repository at this point in the history
  • Loading branch information
sjliu1 authored Sep 4, 2023
2 parents d6eeda1 + 76b5297 commit b310057
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/fluent-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: A Helm chart for Kubernetes
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.4.1
version: 2.4.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions charts/fluent-operator/templates/fluentbit-output-loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ When these keys are objects, they specify a secret to use generated elsewhere, a
{{ range $k, $v := dict $userSecret .httpUser $passSecret .httpPassword $tenantIDSecret .tenantID -}}
{{ if kindIs "string" $v -}}
---
secretapiVersion: v1
apiVersion: v1
kind: Secret
metadata:
name: {{ $k |quote }}
type: Opaque
data:
value: {{ $v | quote }}
value: {{ $v | b64enc | quote }}
{{ end -}}
{{ end -}}

Expand Down Expand Up @@ -117,4 +117,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ metadata:
config.fluentd.fluent.io/enabled: "true"
spec:
watchedNamespaces:
{{- range .Values.fluentd.watchedNamespaces }}
- {{ . }}
{{- end }}
{{- toYaml .Values.fluentd.watchedNamespaces | nindent 4 }}
clusterFilterSelector:
matchLabels:
filter.fluentd.fluent.io/enabled: "true"
Expand Down
3 changes: 3 additions & 0 deletions charts/fluent-operator/templates/fluentd-fluentd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
{{- if .Values.fluentd.logLevel }}
logLevel: {{ .Values.fluentd.logLevel }}
{{- end }}
{{- with .Values.fluentd.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- if .Values.fluentd.extras }}
{{ .Values.fluentd.extras | toYaml | nindent 2 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ fluentd:
imagePullSecrets: []
# - name: "image-pull-secret"
logLevel: ""
priorityClassName: ""
extras: {}
# Configure the output plugin parameter in Fluentd.
# Fluentd is disabled by default, if you enable it make sure to also set up an output to use.
Expand Down

0 comments on commit b310057

Please sign in to comment.