npm
registry with js-yaml package hosted from within the cluster.
tfy.jfrog.io/tfy-images
for container images and tfy.jfrog.io/tfy-helm
for helm charts instead of replicating the images locally)
docker
CLI
truefoundry/infra-charts
repo
requirements.txt
upload_artifact.py
script takes in the following arguments
artifact_type
- this takes in the artifact type which can be either image
or helm
file_path
- this is the location of the artifacts-manifest.json
file that contains the details for all the container images and helm charts that are needed for the installationdestination_registry
- this is the registry you plan to use in your air-gapped environmentjspolicy-values.yaml
with the following content
ArgoCD
CRDs. These need to be installed first because the JSPolicy
resources reference the ArgoCD
CRDtfy-jspolicy-config
Chart to patch your images
jspolicy-config-values.yaml
with the following content. Make sure to add the registry url with proper protocol for replaceArgoHelmRepo.registryReplacementMap