# Dynakube - BuildConfig

**URL:** <https://community.dynatrace.com/t/dynakube-buildconfig/42202>\
**Category:** Container platforms\
**Tags:** openshift, dynatrace-operator, kubernetes\
**Created:** [October 20, 2023, 8:00am UTC](https://community.dynatrace.com/t/dynakube-buildconfig/42202 "2023-10-20T08:00:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JR79](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jr79/32/6514_2.png) [@JR79](https://community.dynatrace.com/u/JR79)\
**Post date:** [October 20, 2023, 8:00am UTC](https://community.dynatrace.com/t/dynakube-buildconfig/42202/1 "2023-10-20T08:00:52Z")

</div>

Hello,

When using the Dynakube operator, we’re&nbsp;facing an issue when a pod is triggered by a Build in Openshift, it ends up failing when the agent is installed.

So far, we’re not aware of a way to configure BuildConfig to add the inject false annotation to the pod.

It sound reasonable not to inject agent on build pods.

Any idea about this topic?

Maybe:&nbsp;[@alphamikevictor](https://community.dynatrace.com/user/53089),&nbsp;[@stefan\_penner](https://community.dynatrace.com/user/47074),&nbsp;[@Enrico\_F](https://community.dynatrace.com/user/7040)

---

<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:** [October 23, 2023, 1:13pm UTC](https://community.dynatrace.com/t/dynakube-buildconfig/42202/2 "2023-10-23T13:13:27Z")

</div>

I assume this is with spec.oneAgent.applicationMonitoring configured for the Dynakube?

If so then the only workaround (IMO) is to move the builds into a separate, unmonitored namespace (this is how we solved this issue).

---

<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:** [October 24, 2023, 9:45am UTC](https://community.dynatrace.com/t/dynakube-buildconfig/42202/3 "2023-10-24T09:45:39Z")

</div>

FYI: For builds that aren’t triggered via BuildConfigs perhaps another solution would be to annotate one of the owner objects of the actual build (e.g. a Tekton Pipeline) with [dynatrace.com/inject:](http://dynatrace.com/inject:)&nbsp;“false”&nbsp;(if such an object exists) as the annotation will then get propagated to the build pod preventing its injection.
