You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ kapitan compile --fetch
Not updating lib/terraform/__init__.py (file already exists)
[...]
Dependency helm chart filebeat and version 7.17.3: fetching now
Dependency helm chart filebeat and version 7.17.3: successfully fetched
The text was updated successfully, but these errors were encountered:
Moep90
changed the title
Support fetch force per compile target
Support force fetch per compile target
Sep 19, 2022
* Added fetch_always functionality (#858)
* Changed flag --force to --force-fetch
* Fix lint
* Change name to force_fetch
* Change name to force_fetch in docs
* Update kap_1_external_dependencies.md
Support the ability to force fetch selected external dependencies.
The documentation says: "If you simply want the latest chart available, either don't include the version key or specify an empty string."
But to have the latest to compile, I need to always run
kapitan compile --fetch --force
.This applies to all external dependencies.
Helm
This would fetch the latest version of the chart if there is an update.
Make sure to run helm
helm repo update
prior to fetching the latest chart.Git
This would apply if we update the master between kapitan runs.
HTTP
Full example with helm
Example compile run
The text was updated successfully, but these errors were encountered: