add environment variables (#12657)

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
This commit is contained in:
Taehyun Kim
2019-04-04 03:24:50 -07:00
committed by Kubernetes Prow Robot
parent 7e4eec721f
commit 0b411aec8e
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: A lightweight shipper to audit the activities of users and processes on your systems
icon: https://www.elastic.co/assets/blt27d1fd26b0862613/icon-auditbeat-bb.svg
name: auditbeat
version: 1.0.0
version: 1.1.0
appVersion: 6.7.0
home: https://www.elastic.co/products/beats/auditbeat
sources:
@@ -46,6 +46,14 @@ spec:
{{ toYaml .Values.extraArgs | indent 8 }}
{{- end }}
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
{{- range $key, $value := .Values.extraVars }}
- name: {{ $key }}
value: {{ $value }}