Closed lpratas closed 4 months ago
Update: Specifying the emitterName
seems to avoid the issue, like this:
cat <<EOF | kubectl create -f -
apiVersion: fluentbit.fluent.io/v1alpha2
kind: FluentBitConfig
metadata:
labels:
app.kubernetes.io/name: fluent-bit
name: fluentbitconfig
namespace: default
spec:
filterSelector:
matchLabels:
fluentbit.fluent.io/enabled: "true"
outputSelector:
matchLabels:
fluentbit.fluent.io/enabled: "true"
service:
emitterName: ""
EOF
Describe the issue
The operator pod crashes with
Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference
error when processingFluentBitConfig
namespaced resource.Full error:
To Reproduce
kind create cluster
helm install fluent-operator fluent/fluent-operator -n fluent --create-namespace --version 2.9
FluentBitConfig
resource in the default namespaceFluentBitConfig
for fluent-operator to stop crashing:kubectl delete FluentBitConfig fluentbitconfig -n default
Expected behavior
fluent/fluent-bit-config
kubernetes secret:Your Environment
How did you install fluent operator?
helm install fluent-operator fluent/fluent-operator -n fluent --create-namespace --version 2.9
Additional context
No response