diff --git a/charts/port-k8s-exporter/Chart.yaml b/charts/port-k8s-exporter/Chart.yaml index 7962bef..4e9a648 100644 --- a/charts/port-k8s-exporter/Chart.yaml +++ b/charts/port-k8s-exporter/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: port-k8s-exporter description: A Helm chart for Port Kubernetes Exporter type: application -version: 0.2.4 -appVersion: "0.2.5" +version: 0.2.5 +appVersion: "0.2.6" home: https://getport.io/ sources: - https://github.com/port-labs/port-k8s-exporter diff --git a/charts/port-k8s-exporter/templates/deployment.yaml b/charts/port-k8s-exporter/templates/deployment.yaml index 9a7a33f..889be02 100644 --- a/charts/port-k8s-exporter/templates/deployment.yaml +++ b/charts/port-k8s-exporter/templates/deployment.yaml @@ -57,6 +57,8 @@ spec: key: state_key - name: CREATE_DEFAULT_RESOURCES value: {{ .Values.createDefaultResources | quote }} + - name: EVENT_LISTENER_TYPE + value: .Values.eventListener.type {{- if eq .Values.eventListener.type "POLLING" }} - name: POLLING_INTERVAL value: {{ .Values.eventListener.pollingRate | quote }}