title: Can we use k8s kustomize with kubectl to set image and create secret file?
body: <p>I am using k8s kustomize to set the image and create a secret file</p>
  <p><code>$(cd ./k8s/overlays/prod &amp;&amp; kustomize edit set image gcr.io/PROJECT_ID/image:1.0)</code></p>
  <p>and this works!</p>
  <p>Now I am trying to use the <code>kubectl kustomize</code> to do the same without doing the <code>cd . ./k8s/overlays/prod</code></p>
  <p>Is it possible with the Kustomize plugin build into kubectl?</p>
  <p>also same for the <code>kustomize edit add secret</code> with kubectl without doing the <code>cd</code> into directory?</p>