<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>walnuts1018</author_name>
  <author_url>https://blog.hatena.ne.jp/walnuts1018/</author_url>
  <blog_title>Blog.Walnuts.dev</blog_title>
  <blog_url>https://blog.walnuts.dev/</blog_url>
  <categories>
    <anon>Kubernetes</anon>
    <anon>Infra</anon>
  </categories>
  <description>私が管理しているwalnuts1018/cloudflare-tunnel-operator というKubernetes Operatorでは、DeploymentやSecretだけではなく、ServiceMonitorも自動的に作られるようになっています。 しかし、Deploymentなどと違ってServiceMonitorはCustom Resourceなので、そのCustom Resource Definitionがインストールされていない環境ではエラーになってしまいます。 では、元となるリソースにdisableServiceMonitorみたいなフィールドを付与して、単純にServic…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.walnuts.dev%2Fentry%2F2025%2F09%2F15%2F181223&quot; title=&quot;controller-runtimeを使ったKubernetes Operatorで、CRDの存在を確認して動的に管理対象のリソースを設定したいとき - Blog.Walnuts.dev&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-15 18:12:23</published>
  <title>controller-runtimeを使ったKubernetes Operatorで、CRDの存在を確認して動的に管理対象のリソースを設定したいとき</title>
  <type>rich</type>
  <url>https://blog.walnuts.dev/entry/2025/09/15/181223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
