<p>I have deployment yaml file where I am setting up one ARG.</p>
<pre><code>args['--country=usa']
</code></pre>
<p>It runs perfectly and pod will be up with this argument. But for different country name, I need to change this yaml for argument and then run</p>
<p>kubectl create -f deploy.yml command again and again</p>
<p>Is there any way to pass this arg through create command</p>
<p>I tried kubectl create -f deploy.yml '--country=usa' but it seems like this is not the correct way to pass it</p>

iRunner
<p>Unfortunately, there is no simple way to do that.
Here are some related questions.</p>
<p>Using env variable and configmap:
<a href="https://stackoverflow.com/questions/60449786/how-to-pass-command-line-argument-to-kubectl-create-command">How to pass command line argument to kubectl create command</a></p>
<p>Using Helm:
<a href="https://stackoverflow.com/questions/61946064/kubernetes-deployment-pass-arguments">Kubernetes Deployment - Pass arguments</a></p>
