mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-30 06:36:19 +00:00
Automatic merge from submit-queue Adding NAMESPACE to elasticsearch pod environment from downward API **What this PR does / why we need it**: The elasticsearch cluster addon references the `NAMESPACE` environmental variable here: https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/fluentd-elasticsearch/es-image/elasticsearch_logging_discovery.go#L56 but, on k8s 1.3.7 at least, it is not automatically set. This PR gets it from the downward API. **Release note**: ```NONE ```