mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Adding NAMESPACE to elasticsearch pod environment from downward API
This commit is contained in:
parent
15bbd11bbf
commit
28c36afc1d
@ -38,6 +38,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: es-persistent-storage
|
- name: es-persistent-storage
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
env:
|
||||||
|
- name: "NAMESPACE"
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
volumes:
|
volumes:
|
||||||
- name: es-persistent-storage
|
- name: es-persistent-storage
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user