Skip to content

v1.2.0

Compare
Choose a tag to compare
@turkenf turkenf released this 22 May 14:44
· 31 commits to main since this release
0c238ce

The v1.2.0 release introduces converting singleton lists in the MR APIs to embedded objects, adding a new resource VirtualMachineRunCommand.compute, 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 RedisCache.cache.azure.upbound.io/v1beta2 resource's spec.forProvider, with this release we can see the spec.forProvider.redisConfiguration field as an object:
 spec:
   forProvider:
     capacity: 1
     enableNonSslPort: false
     family: P
     location: West Europe
     minimumTlsVersion: "1.2"
     publicNetworkAccessEnabled: true
     redisConfiguration:
       maxmemoryDelta: 2
       maxmemoryPolicy: allkeys-lru
       maxmemoryReserved: 2
     redisVersion: "6"
     resourceGroupName: example-redis-ftest
     skuName: Premium
  • If we look at the v1beta1 YAML output of the resource, we see the field as a list:
spec:
  forProvider:
    capacity: 1
    enableNonSslPort: false
    family: P
    location: West Europe
    minimumTlsVersion: "1.2"
    publicNetworkAccessEnabled: true
    redisConfiguration:
    - maxmemoryDelta: 2
      maxmemoryPolicy: allkeys-lru
      maxmemoryReserved: 2
    redisVersion: "6"
    resourceGroupName: example-redis-ftest
    skuName: Premium

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

What's Changed

  • Add needs:triage label to issue template by @turkenf in #723
  • Update actions/upload-artifact digest to 6546280 by @renovate in #718
  • Update actions/checkout digest to 0ad4b8f by @renovate in #717
  • Update actions/setup-go digest to cdcb360 by @renovate in #726
  • Update actions/checkout digest to 44c2b7a by @renovate in #736
  • Update actions/checkout digest to 0ad4b8f by @renovate in #737
  • Use config.Reference.TerraformName instead of config.Reference.Type by @ulucinar in #739
  • Bump crossplane-runtime version to consume the fix of MR metrics by @sergenyalcin in #741
  • Add azurerm virtual machine run command by @AndresNico in #725
  • Convert all singleton lists in the MR APIs to embedded objects by @ulucinar in #733
  • Add example manifests for v1beta2 version by @sergenyalcin in #746
  • Make MaxItems values consistent between JSON schema and provider schema by @sergenyalcin in #745

New Contributors

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