mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43: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:
|
||||
- name: es-persistent-storage
|
||||
mountPath: /data
|
||||
env:
|
||||
- name: "NAMESPACE"
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
volumes:
|
||||
- name: es-persistent-storage
|
||||
emptyDir: {}
|
||||
|
Loading…
Reference in New Issue
Block a user