Skip to content

Releases: crossplane-contrib/provider-upjet-gcp

v1.5.0

04 Jul 10:34
0fafdeb
Compare
Choose a tag to compare

In the release v1.5.0, we've upgraded the underlying Terraform provider version from 5.19.0 to 5.28.0

What's Changed

  • Bump native provider version to 5.28.0 by @turkenf in #553

Full Changelog: v1.4.0...v1.5.0

v1.4.0

27 Jun 16:27
7669fef
Compare
Choose a tag to compare

The v1.4.0 release introduces a new resource named HMACKey.storage.gcp.upbound.io/v1beta1, enhancements, and dependency updates.

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

13 Jun 12:04
c79f63e
Compare
Choose a tag to compare

The v1.3.0 release introduces bug fixes, documentation updates, and dependency updates.

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

16 May 19:34
6738b68
Compare
Choose a tag to compare

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

v1.1.0

25 Apr 16:42
d1d5a0e
Compare
Choose a tag to compare

The v1.1.0 release introduces MR metrics, a new family provider provider-gcp-containerattached, new resources, bug fixes, enhancements, and dependency updates.

We are excited to introduce a new set of managed resource (MR) metrics in this release. These metrics are pivotal for monitoring the state and performance of resources managed through Crossplane. This enhancement follows the implementation guidelines from the provider-kubernetes and incorporates changes from crossplane/crossplane-runtime#683. The newly available metrics include:

  • crossplane_managed_resource_exists{"gvk"}
  • crossplane_managed_resource_ready{"gvk"}
  • crossplane_managed_resource_synced{"gvk"}
  • crossplane_managed_resource_first_time_to_reconcile_seconds{"gvk"}
  • crossplane_managed_resource_first_time_to_readiness_seconds{"gvk"}
  • crossplane_managed_resource_deletion_seconds{"gvk"}
  • crossplane_managed_resource_drift_seconds{"gvk"}

For a detailed overview of the implementation, please refer to this crossplane/crossplane-runtime#683.

Note that, for async resources, upjet_resource_ttr_bucket{"group","kind","version"} gives a more accurate measurement of when the external resource becomes available, compared to crossplane_managed_resource_first_time_to_readiness_seconds{"gvk"}.

Support for New Resources

  • RegionNetworkEndpoint.compute.gcp.upbound.io/v1beta1
  • Cluster.containerattached.gcp.upbound.io/v1beta1

Bug Fixes and Enhancements

  • Bug Fix: Addresses a critical bug related to asynchronous operation failures. With this fix, the "Synced" status will immediately reflect as "False" upon any failure in asynchronous operations, ensuring compliance with the XRM contract and improving reliability in status reporting. Previously, the error handling only updated the LastAsyncOperation status without properly setting the Synced condition to False. For more information, please see the crossplane/upjet#391 (comment).
  • Support for publishing password to Connection Secret for the Uer.sql resource #501

Breaking UX Changes

The release switches the order of the SYNCED and READY printer columns so that the SYCNED column is now printed before the READY column as follows:

❯ kubectl get managed
NAME                                                                  SYNCED   READY   EXTERNAL-NAME             AGE
serviceaccount.cloudplatform.gcp.upbound.io/example-service-account   True     True    example-service-account   56s

This used to be first the READY column and then the SYNCED column previously. Please see crossplane/upjet#360 for further details.

What's Changed

  • Add support for google_compute_region_network_endpoint gcp resource by @JonathanO in #469
  • Consume the reusable workflows from upbound/uptest@standard-runners by @sergenyalcin in #473
  • Set log.Default's output to io.Discard by @ulucinar in #479
  • Applying license changes by @sergenyalcin in #477
  • Fix the wrong provider name reference from README by @sergenyalcin in #484
  • Generate license headers for setup.go files by consuming the upjet 1.1.5 by @sergenyalcin in #486
  • Update docker/setup-buildx-action digest to 2b51285 by @renovate in #478
  • Update module google.golang.org/protobuf to v1.33.0 [SECURITY] by @renovate in #481
  • Update kubernetes patches to v0.29.3 by @renovate in #488
  • Create containerattached Cluster resource by @RedbackThomson in #485
  • Update actions/cache digest to 0c45773 by @renovate in #491
  • Switch to the new API for marking as required the fields for some resources by @sergenyalcin in #490
  • Add SSA merge strategy to container Cluster's nodeConfig to avoid fights over ownership. by @JonathanO in #487
  • Log a deprecation message when the monolithic provider is run by @sergenyalcin in #493
  • Monitor, mark and close issues and PRs with github workflow by @turkenf in #499
  • Update docker/setup-buildx-action digest to d70bba7 by @renovate in #500
  • Update module sigs.k8s.io/controller-runtime to v0.17.3 by @renovate in #502
  • Remove GitHub issue triage workflow by @turkenf in #504
  • [User.Sql] publish password to Connection Secret by @ytsarev in #501
  • Update kubernetes patches to v0.29.4 by @renovate in #505
  • Update actions/upload-artifact digest to 1746f4a by @renovate in #507
  • Rename the repo name for reusable workflows used by @turkenf in #514
  • Introduce MR metrics by @mergenci in #512

New Contributors

Full Changelog: v1.0.2...v1.1.0

v1.0.2

21 Mar 14:17
e24d1b4
Compare
Choose a tag to compare

The release v1.0.2 introduces:

  • Switches to the new API for marking as required the fields. The new API will mark as required the fields during the generation without any native resource schema change. For more details of this new API please see this PR
  • Fixes [Bug]: Creation of compute Instances (and others) fails with SetNew only operates on computed keys #472
  • Adds info logs in the monolithic provider's output that communicate the deprecation and the next steps #493
  • Adds SSA merge strategy to container Cluster's nodeConfig to avoid fights over ownership #487

What's Changed

  • Bump upjet to 1.1.6 and switch to the new API for marking as required the fields for some resources by @sergenyalcin in #492
  • [Backport release-1.0] Add SSA merge strategy to container Cluster's nodeConfig to avoid fights over ownership. by @github-actions in #495
  • [Backport release-1.0] Log a deprecation message when the monolithic provider is run by @github-actions in #497

Full Changelog: v1.0.1...v1.0.2

v0.41.4

21 Mar 13:45
8135962
Compare
Choose a tag to compare

The release v0.41.4 introduces:

  • Adds info logs in the monolithic provider's output that communicate the deprecation and the next steps #493
  • Adds SSA merge strategy to container Cluster's nodeConfig to avoid fights over ownership #487

What's Changed

  • [Backport release-0.41] Add SSA merge strategy to container Cluster's nodeConfig to avoid fights over ownership. by @github-actions in #494
  • [Backport release-0.41] Log a deprecation message when the monolithic provider is run by @github-actions in #496

Full Changelog: v0.41.3...v0.41.4

v1.0.1

14 Mar 14:41
17635b9
Compare
Choose a tag to compare

The release v1.0.1 sets a default io.Discard logger for the controller-runtime if debug logging is not enabled. If debug logging is enabled, then the controller-runtime uses a debug mode zap logger as usual.

What's Changed

  • Switch to Github hosted runners for the CI jobs by @ulucinar in #483
  • [Backport release-1.0] Set log.Default's output to io.Discard by @github-actions in #480

Full Changelog: v1.0.0...v1.0.1

v0.41.3

14 Mar 14:40
06973d5
Compare
Choose a tag to compare

The release v0.41.3 sets a default io.Discard logger for the controller-runtime if debug logging is not enabled. If debug logging is enabled, then the controller-runtime uses a debug mode zap logger as usual.

What's Changed

Full Changelog: v0.41.2...v0.41.3

v1.0.0

07 Mar 17:00
b098598
Compare
Choose a tag to compare

In the v1.0.0 release, we've upgraded the underlying Terraform provider version from 4.77.0 to 5.19.0.
Explore the API Changes section below for a concise overview of the modifications introduced by this version bump.

The release introduces support for the conversion functions to be able to handle any future breaking API changes. Also includes updates to the dependencies.

With this release, the provider-gcp-cloudiot family provider has been removed with the following two resources:

  • Device.cloudiot.gcp.upbound.io/v1beta1
  • Registry.cloudiot.gcp.upbound.io/v1beta1

Bug Fixes and Enhancements

  • Enable Conversion Webhooks #468
  • Add SSA merge strategy to container NodePool's nodeConfig to avoid fights over ownership #457
  • rds: NodePool CRD is producing endless loop if autoUpgrade enabled #249

API Changes

  • Changed external name configuration for Membership.gkehub.gcp.upbound.io/v1beta1 and DNSAuthorization.certificatemanager.gcp.upbound.io/v1beta1, and spec.forProvider.location is now required.
  • Instance.alloydb.gcp.upbound.io/v1beta1 => added reference and selector for spec.forProvider.instanceType field.
  • Routine.bigquery.gcp.upbound.io/v1beta1 => spec.forProvider.routineType is now required.
  • Function.cloudfunctions2.gcp.upbound.io/v1beta1 => spec.forProvider.location is now required.
  • DomainMapping.cloudrun.gcp.upbound.io/v1beta1 => spec.forProvider.metadata is now optional.
  • V2Job.cloudrun.gcp.upbound.io/v1beta1 => spec.forProvider.location is now required and spec.forProvider.template.template.containers.{livenessProbe,startupProbe} have been removed.
  • Service.cloudrun.gcp.upbound.io/v1beta1 => spec.forProvider.location is now required.
  • NodeGroup.compute.gcp.upbound.io/v1beta1 => spec.forProvider.size has been replaced with spec.forProvider.initialSize.
  • RouterNAT.compute.gcp.upbound.io/v1beta1 =>
    • spec.forProvider.natIpAllocateOption is now optional.
    • spec.forProvider.enableEndpointIndependentMapping now defaults to FALSE. Previously, the default value was TRUE.
  • Cluster.container.gcp.upbound.io/v1beta1 =>
    • spec.forProvider.enableBinaryAuthorization has been removed.
    • spec.forProvider.deletionProtection field has been added with a default of true. Cluster deletion now prevented by default with this field.
    • spec.forProvider.networkingMode defaults to VPC_NATIVE for newly created clusters.
  • Trigger.eventarc.gcp.upbound.io/v1beta1 => spec.forProvider.destination.cloudFunction has been removed.
  • Certificate.privateca.gcp.upbound.io/v1beta1 => status.atProvider.pemCertificates has been removed and status.atProvider.certificateDescription.configValues has been removed.
  • Secret.secretmanager.gcp.upbound.io/v1beta1 => spec.forProvider.replication.automatic has been replaced with spec.forProvider.replication.auto.
  • Databaselnstance.sql.gcp.upbound.io/v1beta1 => status.atProvider.serverCaCert has been removed.
  • SSLCert.sql.gcp.upbound.io/v1beta1 => status.atProvider.serverCaCert has been removed.
  • ServiceAttachment.compute.gcp.upbound.io/v1beta1 => spec.forProvider.reconcileConnections now defaults from API. Previously defaulted to true.
  • NodePool.container.gcp.upbound.io/v1beta1 => spec.forProvider.autoRepair and spec.forProvider.autoUpgrade now default to true. Previously both fields defaulted to false if spec.forProvider.management was set as an empty block.
  • ProjectSink.logging.gcp.upbound.io/v1beta1 => spec.forProvider.uniqueWriterIdentity now defaults to TRUE. Previously, the default value was FALSE.

What's Changed

  • Update actions/cache digest to e12d46a by @renovate in #440
  • Update actions/upload-artifact digest to 1eb3cb2 by @renovate in #442
  • Update actions/cache action to v4 by @renovate in #444
  • Update kubernetes patches to v0.29.1 by @renovate in #445
  • Update actions/upload-artifact digest to 694cdab by @renovate in #446
  • Update actions/upload-artifact digest to 26f96df by @renovate in #449
  • Comprehensive Issue Template Update: Assisting Users in Better Issue Definition by @turkenf in #450
  • Update module sigs.k8s.io/controller-tools to v0.14.0 by @renovate in #441
  • Update alpine Docker tag to v3.19.1 by @renovate in #453
  • Update actions/upload-artifact digest to 5d5d22a by @renovate in #458
  • Add SSA merge strategy to container NodePool's nodeConfig to avoid fights over ownership. by @JonathanO in #457
  • fix: add version to lateinit ingore array by @Demonsthere in #456
  • Update kubernetes patches to v0.29.2 by @renovate in #459
  • Switch from the NoFork terminology to the TerraformPluginSDK terminology and bump dependiencies by @sergenyalcin in #461
  • Update module sigs.k8s.io/controller-runtime to v0.17.2 by @renovate in #464
  • Update module github.com/cloudflare/circl to v1.3.7 [SECURITY] by @renovate in #463
  • Enable Conversion Webhooks by @ulucinar in #468
  • Update docker/setup-buildx-action digest to 0d103c3 by @renovate in #466
  • Update actions/cache digest to ab5e6d0 by @renovate in #467
  • Bump native tf provider to version 5.19.0 by @turkenf in #465

New Contributors

Full Changelog: v0.41.2...v1.0.0