def create_subst_private()

in hack/create_kptfile.py [0:0]


  def create_subst_private(path):
    registries = ["quay.io/jetstack", "gcr.io/kubeflow-images-public",
                  "metacontroller"]
    for registry in registries:
      n = registry.replace("/", ".")
      name = f"image-mirror-{n}"
      value = f"gcr.io/project-id/mirror/{registry}"
      pattern = f"gcr.io/${{gcloud.core.project}}/mirror/{registry}"

      create_subst(name, value, pattern, path)