Releases: crossplane-contrib/provider-upjet-azuread
v1.3.0
The release v1.3.0
generates the secret references under spec.initProvider
API trees and updates dependencies.
What's Changed
- Update alpine Docker tag to v3.20.0 by @renovate in #134
- Generate secret references for the sensitive fields under the spec.initProvider API tree by @ulucinar in #136
Full Changelog: v1.2.0...v1.3.0
v1.2.0
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
Location.conditionalaccess.azuread.upbound.io/v1beta2
resource'sspec.forProvider
, with this release we can see thespec.forProvider.ip
field as an object:
spec:
forProvider:
displayName: IP Named Location
ip:
ipRanges:
- 1.1.1.1/32
- 2.2.2.2/32
trusted: true
- If we look at the
v1beta1
YAML output of the resource, we see the field as a list:
spec:
forProvider:
displayName: IP Named Location
ip:
- ipRanges:
- 1.1.1.1/32
- 2.2.2.2/32
trusted: true
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 #131
- Convert all singleton lists in the MR APIs to embedded objects by @ulucinar in #123
- Bump crossplane-runtime version to consume the fix of MR metrics by @sergenyalcin in #132
- Bump upjet to the latest commit by @sergenyalcin in #133
Full Changelog: v1.1.0...v1.2.0
v1.1.0
The v1.1.0
release introduces MR metrics, bug fixes, 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"}
.
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).
What's Changed
- Remove GitHub issue triage workflow by @turkenf in #121
- Update module sigs.k8s.io/controller-runtime to v0.17.3 by @renovate in #120
- Update kubernetes patches to v0.29.4 by @renovate in #122
- Rename the repo name for reusable workflows used by @turkenf in #129
- Introduce MR metrics by @mergenci in #127
New Contributors
Full Changelog: v1.0.0...v1.1.0
v1.0.0
In the v1.0.0
release, we've upgraded the underlying Terraform provider version from 2.41.0
to 2.47.0
.
This release includes bug fixes, and updating dependencies, with the most significant ones detailed below.
- 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.
- Bump
crossplane/upjet
to the commit50919febc5ab
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
application.applications.azuread.upbound.io/example True True /applications/de08fd76-7ddc-4cb0-a3ac-03907da70847 2m29s
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
- Comprehensive Issue Template Update: Assisting Users in Better Issue Definition by @turkenf in #98
- Update alpine Docker tag to v3.19.1 by @renovate in #92
- Update kubernetes packages to v0.29.1 by @renovate in #93
- Update module golang.org/x/crypto to v0.17.0 [SECURITY] by @renovate in #95
- Update kubernetes patches to v0.29.2 by @renovate in #99
- Switch from the NoFork terminology to the TerraformPluginSDK terminology and bump dependencies by @turkenf in #100
- Update module sigs.k8s.io/controller-runtime to v0.17.2 by @renovate in #104
- Update module github.com/cloudflare/circl to v1.3.7 [SECURITY] by @renovate in #103
- Consume the reusable workflows from upbound/uptest@standard-runners by @ulucinar in #106
- Applying license changes by @sergenyalcin in #111
- Bump Terraform provider version to v2.47.0 by @turkenf in #110
- Update module google.golang.org/protobuf to v1.33.0 [SECURITY] by @renovate in #112
- Update kubernetes patches to v0.29.3 by @renovate in #114
- Set log.Default's output to io.Discard by @ulucinar in #115
- Change the value of meta.crossplane.io/source by @sergenyalcin in #117
New Contributors
- @sergenyalcin made their first contribution in #111
Full Changelog: v0.15.3...v1.0.0
v0.15.3
The release v0.15.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
- [Backport release-0.15] Set log.Default's output to io.Discard by @github-actions in #118
- [Backport release-0.15] Change the value of meta.crossplane.io/source by @github-actions in #119
Full Changelog: v0.15.2...v0.15.3
v0.15.2
This release includes updates to the dependencies.
What's Changed
- [Backport release-0.15] Consume the reusable workflows from upbound/uptest@standard-runners by @github-actions in #107
- [Backport release-0.15] Update kubernetes patches to v0.29.2 by @turkenf in #105
- [Backport release-0.15] Update alpine Docker tag to v3.19.1 by @turkenf in #108
- [Backport release-0.15] Update module sigs.k8s.io/controller-runtime to v0.17.2 by @turkenf in #109
Full Changelog: v0.15.1...v0.15.2
v0.15.1
The release v0.15.1
includes some important bug fixes and dependency bumps detailed below:
- Bump crossplane-runtime to
v1.15.1
along with various bug fixes - Bump upjet to
v1.1.1
- There’s a fix in the implementation of the
LateInitialize
management policy in the context of the no-fork architecture. Previously, we were relying solely on the managed reconciler for preventing the late-initialization of the managed resources if the specified policies do not contain it. Now, we also explicitly skip the late-initialization in upjet to prevent some accidental updates to thespec.forProvider
while, for example, updating the annotations. - Adds a more explanatory error message when immutable fields of a managed resource have changed
What's Changed
- [Release-0.15] Switch from the NoFork terminology to the TerraformPluginSDK terminology and bump dependencies by @turkenf in #102
Full Changelog: v0.15.0...v0.15.1
v0.15.0
v0.14.0
This release brings a change with how we interact with the underlying Terraform AzureAD provider. Instead of interfacing with Terraform via the TF CLI, the new implementation consumes the Terraform provider's Go provider schema and invokes the CRUD functions registered in that schema, and we no longer fork the underlying Terraform provider process.
For this reason, we removed the Terraform CLI from the provider package, and accordingly we also deprecated all the process-forking related command-line flags. The full list of the deprecated command-line flags is as follows:
--terraform-version
--terraform-provider-version
--terraform-native-provider-path
--terraform-provider-source
--provider-ttl
Using these flags will be non-functional and you will receive log messages similar to the following, if you pass any of these deprecated command-line flags to the provider.
warning: Command-line flag "terraform-version" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
warning: Command-line flag "terraform-provider-source" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
warning: Command-line flag "terraform-provider-version" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
warning: Command-line flag "provider-ttl" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
Our users are advised to remove any of these deprecated command-line flags from their configurations (ControllerConfig
s, etc.) because the deprecated command-line flags will be removed in a future release of the provider.
What's Changed
- Update kubernetes patches to v0.28.4 by @renovate in #84
- Bump the Go version used for the e2e CI workflow to 1.21 by @ulucinar in #87
- Bump uptest to v0.7.0 by @ulucinar in #88
- Use Terraform Plugin SDK to Reconcile MRs by @ulucinar in #86
- Remove the Terraform CLI from the provider package by @ulucinar in #89
- Deprecate process-fork related command-line flags by @ulucinar in #90
Full Changelog: v0.13.1...v0.14.0
v0.13.1
This release updates Crossplane Runtime to v1.14.1 which includes a fix in the retry mechanism while persisting the critical annotations.
What's Changed
- [Backport release-0.13] Bump crossplane-runtime to v1.14.1 by @github-actions in #83
New Contributors
- @github-actions made their first contribution in #83
Full Changelog: v0.13.0...v0.13.1