<p>I have a very simple kustomization.yaml:</p>
<pre><code>configMapGenerator:
  - name: icecast-conifg
    files:
      - icecast.xml
</code></pre>
<p>When I run <code>kubectl kustomize .</code> it spits out a generated configMap properly, but how do I actually load it into my cluster?   I'm missing some fundamental step.</p>

<p>With Kustomize you can use the <code>-k</code> (or <code>--kustomize</code>) flag instead of <code>-f</code> when using <code>kubectl apply</code>. Example:</p>
<pre><code>kubectl apply -k &lt;my-folder-or-file&gt;
</code></pre>
<p>See <a href="https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/" rel="nofollow noreferrer">Declarative Management of Kubernetes Objects Using Kustomize</a></p>
