CHART NAME: {{ .Chart.Name }}
CHART VERSION: {{ .Chart.Version }}
APP VERSION: {{ .Chart.AppVersion }}

** Please be patient while the chart is being deployed **

{{- if .Values.diagnosticMode.enabled }}
The chart has been deployed in diagnostic mode. All probes have been disabled and the command has been overwritten with:

  command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 4 }}
  args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 4 }}

Get the list of pods by executing:

  kubectl get pods --namespace {{ .Release.Namespace }} -l app.kubernetes.io/instance={{ .Release.Name }}

Access the pod you want to debug by executing

  kubectl exec --namespace {{ .Release.Namespace }} -ti <NAME OF THE POD> -- bash

In order to replicate the container startup scripts execute this command:

    kubernetes-event-exporter -conf=/data/config.yaml

{{- else }}
To verify that kubernetes-event-exporter has started, run:

  kubectl get deploy -w --namespace {{ .Release.Namespace }} {{ template "common.names.fullname" . }}

By default, the kubernetes-event-exporter will dump events to stdout.
To configure additional endpoints, redeploy the chart overwritting the field 'config' at your 'values.yml'.

{{- end }}

{{- include "common.warnings.rollingTag" .Values.image }}
