Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[create-doks-with-terraform-flux] Make sure TF providers constrain minimum allowed versions #20

Open
v-ctiutiu opened this issue Dec 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@v-ctiutiu
Copy link
Contributor

v-ctiutiu commented Dec 10, 2021

Description

Current version for the Flux CD provider from the main TF module is a little bit too old (0.2.x). Because of this, some of the Flux CD components deployed by the module are not functioning properly or not detected at all - e.g. kustomization/flux-system.

Another thing to take into consideration is that the CLI counterpart gets updated really frequent as well. So, the TF provider and the flux CLI counterpart need to be not too distant, when talking about the version.

Solution

  1. Flux CD TF provider needs an update to the latest minor version available (0.8.1):
flux = {
  source  = "fluxcd/flux"
  version = "~> 0.8.1"
}
  1. Remove the ~> which is a little bit too restrictive, and go with minimum allowed versions instead, via >= for all providers.
@v-ctiutiu
Copy link
Contributor Author

This issue must be treated as part of the Starter Kit DOKS 1.22 release support, and applies for the Flux CD automation chapter.

@v-ctiutiu v-ctiutiu changed the title [create-doks-with-terraform-flux] Flux CD provider needs an update to the latest version [create-doks-with-terraform-flux] Make sure providers constrain minimum allowed versions Jan 28, 2022
@v-ctiutiu v-ctiutiu changed the title [create-doks-with-terraform-flux] Make sure providers constrain minimum allowed versions [create-doks-with-terraform-flux] Make sure TF providers constrain minimum allowed versions Jan 28, 2022
@v-ctiutiu v-ctiutiu added the enhancement New feature or request label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant