resmoio / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering
Apache License 2.0
789 stars 158 forks source link

Bug: cannot install by `helm` #106

Closed Nebulazhang closed 1 year ago

Nebulazhang commented 1 year ago

Error: INSTALLATION FAILED: template: kubernetes-event-exporter/templates/deployment.yaml:15:28: executing "kubernetes-event-exporter/templates/deployment.yaml" at <include (print $.Template.BasePath "/configmap.yaml") .>: error calling include: template: kubernetes-event-exporter/templates/configmap.yaml:4:11: executing "kubernetes-event-exporter/templates/configmap.yaml" at <include "kubernetes-event-exporter.fullname" .>: error calling include: template: kubernetes-event-exporter/templates/_helpers.tpl:14:14: executing "kubernetes-event-exporter.fullname" at <.Values.fullnameOverride>: nil pointer evaluating interface {}.fullnameOverride

When install the event-exporter by helm according to your doc.

helm install kubernetes-event-exporter kubernetes-event-exporter/kubernetes-event-exporter -n monitoring

Sarps commented 1 year ago

Same here

pmazumda2022 commented 1 year ago

@Sarps

Until this is fixed , I changed the manifest like below

template: metadata:
annotations: {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}

mustafaakin commented 1 year ago

We are not very familiar with Helm and relied on external contributions. We've decided to discontinue it, please use https://github.com/bitnami/charts/tree/main/bitnami/kubernetes-event-exporter/