kapicorp / kapitan

Generic templated configuration management for Kubernetes, Terraform and other things
https://kapitan.dev
Apache License 2.0
1.8k stars 197 forks source link

Remote URLs in jsonnet imports #260

Closed drzero42 closed 5 years ago

drzero42 commented 5 years ago

kubecfg has implemented the ability to do import and importstr on URLs, making it possible to import libraries and JSON/YAML (if combined with #259) from remote sources. This would make it possible to import an upstream YAML and output a modified version, giving Kustomize a run for it's money with the power that jsonnet brings to the table. See something like kustomize-libsonnet for examples of how this could be used (only currently possible with kubecfg).

harsh-98 commented 5 years ago

@uberspot I will start working on this one, as #263 is merged. And will also do the suggested changes in other open PRs.

adrianchifor commented 5 years ago

This should be done as part of dependency management (https://github.com/deepmind/kapitan/issues/91) and not in jsonnet. We don't want to block compile every time to download and load files.