<p>Why write <em>non-secret</em> metadata as <code>PLACEHOLDER</code> in kubernetes yaml files? (from <a href="https://stackoverflow.com/questions/72322737/yaml-placeholders-with-kubectl">here</a>):</p>
<pre><code>namespace: PLACEHOLDER
</code></pre>
<p>Any reason to replace it with a later <code>sed</code> command? why not simply write it inside the yaml file?</p>

OrenIshShalom
<p>Based on my experience, when you see files like this, they might be used in some sort of pipelines to deploy them in multiple clusters. These files, from my prior experience, act like templates when you don't want to go all in with Helm charts for a single ConfigMap or Secret or a different isolated resource. This allows you to replace these placeholders with values corresponding with you cluster, region etc.</p>
<p>Hope this makes sense.</p>
