<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hatappi1225</author_name>
  <author_url>https://blog.hatena.ne.jp/hatappi1225/</author_url>
  <blog_title>hatappi.blog</blog_title>
  <blog_url>https://hatappi.blog/</blog_url>
  <categories>
  </categories>
  <description>普段は kubectl を使って manifest file を apply したりするけど今回は curl で情報を取得したくなった。 全体的な流れ ClusterRole を作成する ServiceAccount を作成 1.で作成した ClusterRole と 2.で作成したServiceAccountを紐づける apply curl に必要な api url, tokenを取り出す curl 実際にやってみる 1. ClusterRole を作成する 今回は特定の namespace ではなく cluster にまたがってアクセスしたかったので Role ではなく ClusterRo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappi.blog%2Fentry%2F2019%2F07%2F28%2F182932&quot; title=&quot;KubernetesでServiceAccountを作成してcurlで情報を取得する - hatappi.blog&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>2019-07-28 18:29:32</published>
  <title>KubernetesでServiceAccountを作成してcurlで情報を取得する</title>
  <type>rich</type>
  <url>https://hatappi.blog/entry/2019/07/28/182932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
