Skip to content

v0.2.0

Compare
Choose a tag to compare
@gambol99 gambol99 released this 09 Jun 16:37
· 1126 commits to master since this release
e0ca661

Features

  • Provider Scope moved to Cluster has been moved to teh cluster scope and away from a namespace resource. #116
  • Drift Detection provides the ability to automatically detect configurations which have drifted from the expected state #131
  • Adding Terraform Version to Status is not exporsed on the terraform state #131
  • Overall Configuration State now provides a synchronization overview of the configuration.

Bug Fixes

Migration

This release introduces a breaking changes; namely the Providers CRD has been moved to a cluster scoped resource. You can use the following to migration any current providers.

# scope the deployment down
$ kubectl -n terraform-system scale deployment terraform-controller --replicas=0
# delete the old provider
$ kubectl -n terraform-system get provider <NAME> -o yaml > saved.1
# Deploy the v0.1.7 version, just change the replicas to 0
$ vim <VALUE_FILE> # change the top replicaCount -> replicaCount: 0
# Perform the upgrade - no changes to the configurations are required. The namespace field in the spec.providerRef is simply ignored.
$ helm upgrade -n terraform-system terraform-controller appvia/terraform-controller --values <VALUE_FILE>
# Apply the providers again
$ kubectl apply -f saved.1
# Change the replicaCount back to 1 and rerun the helm upgrade

What's Changed

Full Changelog: v0.1.6...v0.2.0