github padok-team/burrito v0.9.0

latest releases: v0.9.2, v0.9.1
2 months ago

Changelog

Breaking changes: Burrito internal logic with Git repositories + Git authentication rework

This release 0.9.0 of Burrito introduces one major change in Burrito's internal logic: how handles Git repositories and interact with Git providers.

Main changes:

  • The TerraformRepositoryController is now synchronizing regularly the content of TerraformRepositories to:

    • annotate automatically TerraformLayers with the last commit available (webhook is not mandatory anymore for detecting push!)
    • create Git bundles of the last available commit for each branch referenced in layers and store the bundles in Burrito Datastore
  • TerraformRuns run on specific commits: this opens the possibility to track which commits have been planned/applied in future releases of Burrito

  • The Burrito runners do not need to interact with Git repositories anymore: they just fetch the Git bundle for the commit hash they're running on, from the datastore

  • The Git provider credentials system of Burrito has been remade from the ground up:

    • Credentials are defined in secrets with type credentials.burrito.tf/repository or credentials.burrito.tf/shared
    • One credential secret can be used by multiple TerraformRepositories in multiple tenants

📖 Documentation:

🛠️ Implementation: 75c98f0: feat(repository): use git bundles in runners + refactor credentials (#605) (@corrieriluca)

Other breaking changes

  • e09ad76: chore(helm): allow metadata labels and annotations on all resources (#711) (@seboudry)
    • Some values have changed in the Helm chart regarding annotations:
      • config.annotations => metadata.config.annotations
      • tenants[].serviceAccounts[].annotations => tenants[].serviceAccounts[].metadata.annotations
      • hermitcrab.service.annotations => hermitcrab.service.metadata.annotations
      • server.ingress.annotations => server.ingress.metadata.annotations (important if you have ingress controller specific annotations)

Minor changes / dependency updates

Don't miss a new burrito release

NewReleases is sending notifications on new releases.