<p>thanks for checking out my topic.</p>
<p>I'm currently working to have kustomize to download the resource and base files from our git repository.
We have tried a few options some of them following the documentation and some of them not, see below. But anyhow still not able to download from our remote repo and while trying to run the kubectl apply it looks for a local resource based on the git url and file names.</p>
<pre><code>resources:
  - ssh://git@SERVERURL:$PORT/$REPO.GIT
  - git::ssh://git@SERVERURL:$PORT/$REPO.GIT
  - ssh::git@SERVERURL:$PORT/$REPO.GIT
  - git::git@SERVERURL:$PORT/$REPO.GIT
  - git@SERVERURL:$PORT/$REPO.GIT
</code></pre>
<p>As a workaround I have added the git clone for the expected folder to my pipeline, but the goal is to have the bases/resources downloaded directly from the kustomization url.
Any ideas or some hints on how to get it running?</p>

<p>Use <code>bases</code> instead of <code>resources</code>:</p>
<pre><code>apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
  - github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/ecr/?ref=release-1.0

resources:
  - rbac.yaml
  - manifest.yaml
</code></pre>
<p>add the complete route to your source and add param <code>ref</code> to the tag or branch you want to download.</p>
