<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to pull operator image from private registry? in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265716#M2824</link>
    <description>&lt;P&gt;Example Dyntrace CRD's are located here.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://github.com/Dynatrace/dynatrace-operator/tree/main/assets/samples/dynakube/v1beta2" target="_blank"&gt;dynatrace-operator/assets/samples/dynakube/v1beta2 at main · Dynatrace/dynatrace-operator · GitHub&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;On a side note:&amp;nbsp;Pull Secrets are only needed if you are using code-modules images (Cloud Native CSI or Application Only).&amp;nbsp;&lt;BR /&gt;Otherwise, if you are using classic Full Stack or Cloud Native Full stack (One Agent) then you don't need them.&lt;BR /&gt;&lt;BR /&gt;Also if you are using a private repo, make sure that you set the container registry in no-proxy annotation in the crd.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  annotations:
    feature.dynatrace.com/no-proxy: "&amp;lt;your container registry host&amp;gt;"&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 21:47:25 GMT</pubDate>
    <dc:creator>gopher</dc:creator>
    <dc:date>2024-12-18T21:47:25Z</dc:date>
    <item>
      <title>How to pull operator image from private registry?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265640#M2822</link>
      <description>&lt;P&gt;We have document here which mentions about how to Deploy Dynatrace Operator with images from private registry&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/use-private-registry#deploy-dynatrace-operator-with-images-from-private-registry" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/use-private-registry#deploy-dynatrace-operator-with-images-from-private-registry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But we don't have an example for manifest.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 12:51:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265640#M2822</guid>
      <dc:creator>bhaveshbjoshi</dc:creator>
      <dc:date>2024-12-18T12:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull operator image from private registry?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265647#M2823</link>
      <description>&lt;P&gt;To address the above question, here is the sample from the kubernetes.yaml file which we can use.&lt;/P&gt;&lt;P&gt;1. Navigate to&amp;nbsp;kind: Deployment of&amp;nbsp;dynatrace-operator.&lt;/P&gt;&lt;P&gt;2. Here, we have have two spec sections: Outer &lt;STRONG&gt;spec&lt;/STRONG&gt;&lt;STRONG&gt;: &lt;/STRONG&gt;defines high-level deployment properties and Inner &lt;STRONG&gt;spec&lt;/STRONG&gt;&lt;STRONG&gt;: &lt;/STRONG&gt;defines the specifications for the individual pods that will be created&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Under the inner spec section of the container we need to add imagePullSecrets as shown below:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;spec:
    imagePullSecrets:
    - name: dynakube
    containers:
      - name: operator&lt;/PRE&gt;&lt;P&gt;3. Similarly we need to add the&amp;nbsp;imagePullSecrets under&amp;nbsp;dynatrace-webhook&amp;nbsp;deployment under the inner spec: section.&lt;/P&gt;&lt;PRE&gt;      imagePullSecrets:&amp;nbsp;
      - name: dynakube&amp;nbsp;
      containers:&amp;nbsp;
        - name: webhook&lt;/PRE&gt;&lt;P&gt;Please be careful with the indentation. Avoid using tab and use spacebar instead. Also, make sure to change image path to your private registry.&lt;/P&gt;&lt;P&gt;Official kubernetes document for reference: &lt;A href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-pod-that-uses-your-secret" target="_blank" rel="noopener noreferrer"&gt;https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-pod-that-uses-your-secret&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 13:02:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265647#M2823</guid>
      <dc:creator>bhaveshbjoshi</dc:creator>
      <dc:date>2024-12-18T13:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull operator image from private registry?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265716#M2824</link>
      <description>&lt;P&gt;Example Dyntrace CRD's are located here.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://github.com/Dynatrace/dynatrace-operator/tree/main/assets/samples/dynakube/v1beta2" target="_blank"&gt;dynatrace-operator/assets/samples/dynakube/v1beta2 at main · Dynatrace/dynatrace-operator · GitHub&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;On a side note:&amp;nbsp;Pull Secrets are only needed if you are using code-modules images (Cloud Native CSI or Application Only).&amp;nbsp;&lt;BR /&gt;Otherwise, if you are using classic Full Stack or Cloud Native Full stack (One Agent) then you don't need them.&lt;BR /&gt;&lt;BR /&gt;Also if you are using a private repo, make sure that you set the container registry in no-proxy annotation in the crd.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  annotations:
    feature.dynatrace.com/no-proxy: "&amp;lt;your container registry host&amp;gt;"&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 21:47:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-pull-operator-image-from-private-registry/m-p/265716#M2824</guid>
      <dc:creator>gopher</dc:creator>
      <dc:date>2024-12-18T21:47:25Z</dc:date>
    </item>
  </channel>
</rss>

