Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

v0.4.0

Compare
Choose a tag to compare
@muvaf muvaf released this 22 Feb 12:01
· 69 commits to main since this release
c6a75d7

Notable Changes

With #174 , you don't need to import TF provider Go module anymore! We'll be able to run Terraform CLI to get the schema JSON and work with that directly, hence no need to deal with all dependency problems with the TF provider!

With #198 , you can add your own initializers and there is a built-in common one that you can use off the shelf to tag your resources automatically! Take a look at the API Patterns doc to see why this is important.

Breaking Changes

  • #195 changes the function signature of generated Setup function. A PR that does all the steps described below is here.
    • You'll need to call controller.Setup in your cmd/provider/main.go with the new Options struct.
    • The Setup signature of non-generated controllers will need to be changed as well, such as ProviderConfig controller.
    • In the new kubebuilder version, crd:trivialVersions=true argument has been removed, so you'll need to remove it from the command in your apis/generate.go
    • This change will update kubebuilder as well and in its new version it doesn't print extra two lines at the top anymore. So, in your Makefile, delete the crds.clean target and the line generate.done: crds.clean.

What's Changed

  • controller: set ongoing operation condition correctly by @muvaf in #194
  • Update Configuring a Resource guide by @turkenh in #187
  • Conversion: Default to string as element type by @turkenh in #199
  • Fix function name in documentation by @ezgidemirel in #202
  • Terrajet provider generation documentation fixes by @ytsarev in #205
  • Tagging Convention by @sergenyalcin in #198
  • Support []string and []*string as sensitive fields by @sergenyalcin in #197
  • Add Sergen as a maintainer by @turkenh in #215
  • Add unit tests for builder by @sergenyalcin in #189
  • Support for map[string]*string as sensitive fields by @sergenyalcin in #218
  • Fixes the unmarshal error for sensitive string type by @sergenyalcin in #238
  • Conversion from tfjson to consume schema from cli output by @turkenh in #174
  • Fix reconciliation errors if a referenced secret is deleted by @ezgidemirel in #237
  • Update go, crossplane-runtime and k8s libraries by @muvaf in #195
  • [Backport release-0.4] controller: set async finished condition only if the resource is async by @github-actions in #240

New Contributors

Full Changelog: v0.3.0...v0.4.0