github crossplane-contrib/provider-upjet-gcp v1.2.0

latest releases: v1.10.0-rc.0, v1.9.0, v1.8.3...
6 months ago

The v1.2.0 release introduces converting singleton lists in the MR APIs to embedded objects, and dependency updates.

In this release, we've updated how Terraform configuration blocks are handled in our APIs. Terraform configuration blocks, even if they have a MaxItems constraint of 1, are (almost) always generated as lists. We now generate the lists with a MaxItems constraint of 1 as embedded objects in our MR APIs. This also helps when updating or patching via SSA the (previously list) objects.

The new v1beta2 versions of the CRD APIs incorporate these changes, ensuring backward compatibility for clients using the older v1beta1 versions. Any clients wanting to use the embedded objects-based APIs should update to the v1beta2 versions of the CRD APIs.

  • For instance, let's look at the YAML output of the DatabaseInstance.sql.gcp.upbound.io/v1beta2 resource's spec.forProvider, with this release we can see the spec.forProvider.settings field as an object:
spec:
  forProvider:
    databaseVersion: MYSQL_5_7
    deletionProtection: false
    project: official-provider-testing
    region: us-central1
    settings:
      diskSize: 20
      tier: db-f1-micro
  • If we look at the v1beta1 YAML output of the resource, we see the field as a list:
spec:
  forProvider:
    databaseVersion: MYSQL_5_7
    deletionProtection: false
    project: official-provider-testing
    region: us-central1
    settings:
    - diskSize: 20
      tier: db-f1-micro

For a detailed overview of the implementation, please see crossplane/upjet#387 and crossplane/upjet#400

What's Changed

  • Update actions/checkout digest to 0ad4b8f by @renovate in #509
  • Update actions/upload-artifact digest to 6546280 by @renovate in #511
  • Add needs:triage label to issue template by @turkenf in #516
  • Update actions/setup-go digest to cdcb360 by @renovate in #519
  • Update actions/checkout digest to 44c2b7a by @renovate in #520
  • Change the Reference.Type API with Reference.TerraformName by @sergenyalcin in #521
  • Add load-pkg to the makefile and add the development guide link to README by @turkenf in #361
  • Add development guide to index.json by @turkenf in #524
  • Update actions/checkout digest to 0ad4b8f by @renovate in #522
  • Bump crossplane-runtime version to consume the fix of MR metrics by @sergenyalcin in #526
  • Convert all singleton lists in the MR APIs to embedded objects by @ulucinar in #508
  • Make MaxItems values consistent between JSON schema and provider schema by @sergenyalcin in #527
  • Add example manifests for v1beta2 version by @sergenyalcin in #528

Full Changelog: v1.1.0...v1.2.0

Don't miss a new provider-upjet-gcp release

NewReleases is sending notifications on new releases.