flux-iac / tofu-controller

A GitOps OpenTofu and Terraform controller for Flux
https://flux-iac.github.io/tofu-controller/
Apache License 2.0
1.31k stars 137 forks source link

Control `init -upgrade` behaviour #1471

Open daniel-ciaglia opened 1 month ago

daniel-ciaglia commented 1 month ago

The goal of this PR is control over the init process of a given stack. ATM this is hardcoded to init -upgrade which force updates all provioders within their smeVer ranges if one does not use fixed versions.

More background in the docs ;-)


PS: If the PR is approved, squash merge would be best strategy as the history contains an unnecessary step as well.

akselleirv commented 3 weeks ago

Thank you for the contribution @daniel-ciaglia ! Can you please run make api-docs to fix the pipeline.

daniel-ciaglia commented 3 weeks ago

@akselleirv - fixed in our fork and part of the PR now.