<p>I am trying to submit the resource to Container using Kubernetes CLI.</p>

<p>The below is what I use to submit jobs.</p>

<pre><code>kubectl -n namespace create -f &lt;manifest file PATH&gt;
</code></pre>

<p>I am actually running this on a LINUX server which would meet application team requirement and provide this service for the users to use it.</p>

<p>The Challenge is I don't want to store the application teams Configuration files(<em>.yml/</em>.json) in the LINUX server and call it from the LOCALPATH instead call the configuration file remotely.</p>

<p>I think of BITBUCKET. Can someone please assist me on how we can call the file from remote location so that <code>kubectl</code> can accept it?</p>

<p>Appreciate your time and effort.</p>

Ram
<p>You can use pipe with <code>kubectl</code> command to achieve it.</p>

<p>For example,</p>

<pre><code>curl &lt;your file url&gt; | kubectl apply -f -
</code></pre>

<p>Here is a working example:</p>

<pre><code>curl https://gist.githubusercontent.com/hossainemruz/7926eb2660cc8a1bb214019b623e72ea/raw/d9505d06aee33e0144d9f2f9107290f1aba62cd5/mysql-initialization-with-init-container.yaml | kubectl apply -f -
</code></pre>
