# Detect Kubernetes environment from helm variable

**URL:** <https://forums.suse.com/t/detect-kubernetes-environment-from-helm-variable/17643>\
**Category:** General\
**Created:** [June 4, 2020, 4:55pm UTC](https://forums.suse.com/t/detect-kubernetes-environment-from-helm-variable/17643 "2020-06-04T16:55:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamrizzi](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jamrizzi/32/2256_2.png) [@jamrizzi](https://forums.suse.com/u/jamrizzi)\
**Post date:** [June 4, 2020, 4:55pm UTC](https://forums.suse.com/t/detect-kubernetes-environment-from-helm-variable/17643/1 "2020-06-04T16:55:17Z")

</div>

How do I detect what Kubernetes environment the helm chart is deployed on, for example gks, eks or aks? I need to use different annotations in my ingress depending on the environment.
