Kustomize and Resource URLs
Assumptions
You have a .tar.gz file and/or a folder of yaml files that can be downloaded (https) or found in a cloned repository.
In your kustomization.yaml
you can include the following resource types:
- Clones the repository and assumes it can build from the yaml files at the root of the repository.
- Clones the repository and assumes it can build from the yaml files in the
directory
directory at tag1.0.0
- Download a specific file - hence the
https://
at the start.
resources:
- github.com/example/clone
- github.com/example/directory?ref=1.0.0
- https://github.com/example/example2/releases/download/tag/abc.yaml