title: shell script to pass argument to input file
body: <p>I have shell script which takes some input from user and pass that input to the file which i am using inside my shell script</p>
  <p>Shell script <code>myscript.sh</code></p>
  <pre><code>kubectl create -f de_pod.yaml
  
  </code></pre>
  <p>here is <code>de_pod.yaml</code></p>
  <pre><code>apiVersion: v1
  kind: Pod
  metadata:
      name: test
  spec:
      restartPolicy: Never
  
      containers:
      -   name: run-esp
          image: myimage:1
          command: [&quot;python&quot;, &quot;/script.py&quot;, &quot;$Input1&quot;, &quot;$input2&quot;]
          imagePullPolicy: Always
          stdin: true
          tty: true
  
  
  </code></pre>
  <p>this is how i am running the script</p>
  <pre><code>sh myscript.sh my1stinput my2ndinput
  </code></pre>
  <p>if you look at <code>de_pod.yaml</code> at line <code>command: [&quot;python&quot;, &quot;/script.py&quot;, &quot;$Input1&quot;, &quot;$input2&quot;]</code> here i am using the user input after running my <code>myscript.sh</code>. but both <code>$input1</code> and <code>$input2</code> is not populating my value</p>
  <p>what i am doing wrong?</p>