# How to configure proxy whitelisting for the CSI driver?

**URL:** <https://community.dynatrace.com/t/how-to-configure-proxy-whitelisting-for-the-csi-driver/46118>\
**Category:** Container platforms\
**Tags:** openshift, dynatrace-operator, dynatrace-saas, oneagent, kubernetes\
**Created:** [June 14, 2024, 6:23am UTC](https://community.dynatrace.com/t/how-to-configure-proxy-whitelisting-for-the-csi-driver/46118 "2024-06-14T06:23:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enrico\_F](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/enrico_f/32/23774_2.png) [@Enrico\_F](https://community.dynatrace.com/u/Enrico_F)\
**Post date:** [June 14, 2024, 6:23am UTC](https://community.dynatrace.com/t/how-to-configure-proxy-whitelisting-for-the-csi-driver/46118/1 "2024-06-14T06:23:41Z")

</div>

Has anyone been able to successfully configure URL proxy whitelisting for the CSI driver? If so, how and using which Dynatrace operator version?

Our use case for this is pulling the code module images from a private registry that isn’t reachable over the proxy configured in the Dynakube via secret referenced by “spec.proxy.valueFrom”.

So far, all our attempts to use the feature flag “[feature.dynatrace.com/no-proxy](http://feature.dynatrace.com/no-proxy)” with operator v0.14.2 were unsuccessful (CSI driver still used the proxy to connect to a registry whose FQDN was configured as a value for the feature flag). The target image is configured&nbsp; via “spec.oneAgent.applicationMonitoring.codeModulesImage” in the Dynakube.

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [May 26, 2025, 7:56am UTC](https://community.dynatrace.com/t/how-to-configure-proxy-whitelisting-for-the-csi-driver/46118/2 "2025-05-26T07:56:25Z")

</div>

Hey&nbsp;[@Enrico\_F](https://community.dynatrace.com/user/7040)&nbsp;!  
Sorry for the delay. Our Community gets lots of activity every day, and unfortunately, sometimes, some posts don’t get as much attention as they deserve. Did you find an answer to your question, or would you like me to seek further assistance for you?

---

<div class="post-metadata">

**Author:** ![Enrico\_F](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/enrico_f/32/23774_2.png) [@Enrico\_F](https://community.dynatrace.com/u/Enrico_F)\
**Post date:** [May 27, 2025, 8:06am UTC](https://community.dynatrace.com/t/how-to-configure-proxy-whitelisting-for-the-csi-driver/46118/3 "2025-05-27T08:06:49Z")

</div>

Hi&nbsp;[@IzabelaRokita](https://community.dynatrace.com/user/67399)

Indeed, it’s been a while since I posted my question and I believe (though not 100% sure) the fix at the time was to enable the feature flag “[feature.dynatrace.com/oneagent-ignore-proxy](http://feature.dynatrace.com/oneagent-ignore-proxy)” (using operator 0.14.2). I think the confusion mainly originated due to the insufficient&nbsp;[documentation about this feature flag](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-feature-flags#deprecated-feature-flags:~:text=Prevents%20propagation%20of%20the%20proxy%20setting%20from%20the%20DynaKube%20to%20the%20OneAgents.) e.g. it doesn’t mention anything about whether or not it applies to the CSI driver. Granted, the feature flag has been deprecated since operator 1.3.0 but it would have been helpful if the documentation had been written more clearly.

---

<div class="post-metadata">

**Author:** ![Enrico\_F](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/enrico_f/32/23774_2.png) [@Enrico\_F](https://community.dynatrace.com/u/Enrico_F)\
**Post date:** [May 27, 2025, 10:16am UTC](https://community.dynatrace.com/t/how-to-configure-proxy-whitelisting-for-the-csi-driver/46118/4 "2025-05-27T10:16:46Z")

</div>

Actually, after digging out the support request at the time it was confirmed that operator 0.14.2 (and probably also versions \<1.1.0) was buggy/limited in that both feature flags&nbsp;“[feature.dynatrace.com/oneagent-ignore-proxy](http://feature.dynatrace.com/oneagent-ignore-proxy)” and “[feature.dynatrace.com/no-proxy](http://feature.dynatrace.com/no-proxy)” did not have any effect on the image-pull requests made by the CSI driver. Apparently this was fixed with operator 1.1.0 as a “side-effect of restructuring the proxy handling” but there was no explicit mention in the release notes.

Since there was no workaround for operator 0.14.2 we had to defer updating the DynaKube to pull the codemodules image from the local private registry until the operator was updated to \> 1.1.0.

HTH.
