# Can mutating webhook change pod environment variable?

**URL:** <https://discuss.kubernetes.io/t/can-mutating-webhook-change-pod-environment-variable/7582>\
**Category:** General Discussions\
**Created:** [August 19, 2019, 3:10am UTC](https://discuss.kubernetes.io/t/can-mutating-webhook-change-pod-environment-variable/7582 "2019-08-19T03:10:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![happyxgang](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@happyxgang](https://discuss.kubernetes.io/u/happyxgang)\
**Post date:** [August 19, 2019, 3:10am UTC](https://discuss.kubernetes.io/t/can-mutating-webhook-change-pod-environment-variable/7582/1 "2019-08-19T03:10:04Z")

</div>

i want to change pod environment variable dynamicly, is this possible by using webhook to do this?

---

<div class="post-metadata">

**Author:** ![happyxgang](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@happyxgang](https://discuss.kubernetes.io/u/happyxgang)\
**Post date:** [August 19, 2019, 2:55pm UTC](https://discuss.kubernetes.io/t/can-mutating-webhook-change-pod-environment-variable/7582/2 "2019-08-19T14:55:30Z")

</div>

can anybody help?
