-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Description
Describe the bug:
When deploying the event-tailer via Helm using the following values:
eventTailer:
enabled: true
name: kubernetes
Helm renders this as:
---
apiVersion: logging-extensions.banzaicloud.io/v1alpha1
kind: EventTailer
metadata:
name: kubernetes
spec:
controlNamespace: logging
image:
repository: # is null
tag: # is null
pullPolicy: # is null
imagePullSecrets: []
positionVolume:
pvc:
spec:
resources:
requests:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
Every key under .spec.image is set to null by this which causes errors, e.g. when deploying via Flux.
The "problem" might be the toYaml from
| {{- toYaml . | nindent 4 }} |
I added a kustomize patch as a workaround to remove the entire .spec.image block and it works again.
A possible solution would be to make everything under .spec.image a comment in the values or do the with magic for each key. Please let me know about your thoughts, then I'm fine with opening a PR for it.
Expected behaviour:
Install should work out of the box as described in https://kube-logging.dev/docs/configuration/extensions/kubernetes-event-tailer/
/kind bug
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working