diff --git a/log-router/Chart.yaml b/log-router/Chart.yaml index 7db60149..899b4e77 100644 --- a/log-router/Chart.yaml +++ b/log-router/Chart.yaml @@ -4,4 +4,4 @@ apiVersion: v1 description: Distribution of Fluentd as K8S daemonset name: log-router -version: 0.2.1 +version: 0.2.2 diff --git a/log-router/templates/daemonset.yaml b/log-router/templates/daemonset.yaml index 013dbeed..c2cfa0d6 100644 --- a/log-router/templates/daemonset.yaml +++ b/log-router/templates/daemonset.yaml @@ -26,6 +26,11 @@ spec: containers: - name: fluentd image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + env: + - name: K8S_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName imagePullPolicy: {{ .Values.image.pullPolicy }} volumeMounts: - name: fluentconf