Skip to content

Commit 80a1422

Browse files
committed
2 parents 4226cd5 + 13e112f commit 80a1422

5 files changed

Lines changed: 42 additions & 2 deletions

File tree

addons/fluentbit/2/chart/fluentbit/templates/daemonset.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ spec:
6161
- fluent-bit
6262
- -c
6363
- /opt/drycc/fluent-bit/etc/fluent-bit/fluentbit.conf
64+
env:
65+
{{- if .Values.daemonset.extraEnvVars }}
66+
{{- include "common.tplvalues.render" (dict "value" .Values.daemonset.extraEnvVars "context" $) | nindent 10 }}
67+
{{- end }}
68+
envFrom:
69+
{{- if .Values.daemonset.extraEnvVarsCM }}
70+
- configMapRef:
71+
name: {{ include "common.tplvalues.render" (dict "value" .Values.daemonset.extraEnvVarsCM "context" $) }}
72+
{{- end }}
73+
{{- if .Values.daemonset.extraEnvVarsSecret }}
74+
- secretRef:
75+
name: {{ include "common.tplvalues.render" (dict "value" .Values.daemonset.extraEnvVarsSecret "context" $) }}
76+
{{- end }}
6477
volumeMounts:
6578
- name: data
6679
mountPath: /data

addons/fluentbit/2/chart/fluentbit/values.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,27 @@ daemonset:
257257
Rule "start_state" "/^panic: /" "cont"
258258
Rule "cont" "/^\s+/" "cont"
259259
Rule "cont" "/^goroutine /" "cont"
260+
## @param daemonset.extraEnvVars Array with extra environment variables to add to daemonset nodes
261+
## e.g:
262+
## extraEnvVars:
263+
## - name: FOO
264+
## value: "bar"
265+
##
266+
extraEnvVars: []
267+
## @param daemonset.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for daemonset nodes
268+
##
269+
extraEnvVarsCM: ""
270+
## @param daemonset.extraEnvVarsSecret Name of existing Secret containing extra env vars for daemonset nodes
271+
##
272+
extraEnvVarsSecret: ""
273+
274+
[MULTILINE_PARSER]
275+
Name gateway_multiline
276+
Type regex
277+
Flush_Timeout 1000
278+
key_content log
279+
Rule "start_state" "/^\[\d{4}-\d{2}-\d{2}/" "cont"
280+
Rule "cont" "/^(?!\[\d{4}-\d{2}-\d{2})/" "cont"
260281

261282
[MULTILINE_PARSER]
262283
Name gateway_multiline

addons/fluentbit/2/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ instances_retrievable: true
1515
bindings_retrievable: true
1616
plan_updateable: true
1717
allow_parameters:
18+
- name: "daemonset.extraEnvVars"
19+
required: false
20+
description: "extra environment variables to add to fluentbit"
1821
- name: "daemonset.config.outputs"
1922
required: true
2023
description: "destinations for your data: databases, cloud services and more"

addons/kafka/3.6/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ allow_parameters:
3939
- name: "listeners.external.protocol"
4040
required: false
4141
description: "listeners external protocol config for values.yaml"
42+
- name: "sasl"
43+
required: false
44+
description: "sasl config for values.yaml"
4245
- name: "networkPolicy.allowNamespaces"
4346
required: false
4447
description: "networkPolicy allowNamespaces config for values.yaml"

addons/minio/2023/chart/minio/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ statefulset:
196196
podManagementPolicy: Parallel
197197
## @param statefulset.replicaCount Number of pods per zone (only for MinIO® distributed mode). Should be even and `>= 4`
198198
##
199-
replicaCount: 3
199+
replicaCount: 4
200200

201201
## @param statefulset.zones Number of zones (only for MinIO® distributed mode)
202202
##
203203
zones: 1
204204
## @param statefulset.drivesPerNode Number of drives attached to every node (only for MinIO® distributed mode)
205205
##
206-
drivesPerNode: 4
206+
drivesPerNode: 1
207207

208208
## MinIO® provisioning
209209
##

0 commit comments

Comments
 (0)