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