Skip to content

v2.0.0-beta.1

Compare
Choose a tag to compare
@matthchr matthchr released this 29 Jun 23:17
· 1376 commits to main since this release
4ff3dde

Breaking changes

  • Removed the password field of osProfile in virtualmachinescalesets.compute.azure.com status. This field was never returned by the underlying API and so was always empty.
  • Renamed eTag to etag in the status of workspaces.operationalinsights.azure.com. This field was always empty previously. See the upstream change for more context.

If you have not taken an explicit dependency on one of the status fields mentioned above you should be able to directly upgrade from v2.0.0-beta.0 to v2.0.0-beta.1 .

Helm chart breaking changes

  • CRDs are now managed as resources by Helm. This was necessary for Helm to apply CRD updates. See #2338 for more details.

Warning: If you deployed v2.0.0-beta.0 with Helm, you must manually adopt the CRDs into the Helm release before upgrading to v2.0.0-beta.1 or helm upgrade will fail. You can use the script below to do this.

First set set HELM_RELEASE=<your helm release name> and HELM_RELEASE_NAMESPACE=azureserviceoperator-system

#!/bin/bash

set -euo pipefail

echo "Annotating ASO CRDs with release-name=${HELM_RELEASE}, release-namespace=${HELM_RELEASE_NAMESPACE}"

for CRD in $(kubectl get crds -o='custom-columns=Name:.metadata.name' | grep azure.com)
do
    kubectl label crd ${CRD} app.kubernetes.io/managed-by=Helm --overwrite
    kubectl annotate crd ${CRD} meta.helm.sh/release-name=${HELM_RELEASE} --overwrite
    kubectl annotate crd ${CRD} meta.helm.sh/release-namespace=${HELM_RELEASE_NAMESPACE} --overwrite
done

Release notes

New resources

  • containerinstance.ContainerGroup by @majguo (#2330)
  • cdn.Profile and cdn.ProfilesEndpoint (#2286)
  • dbformariadb.Server, dbformariadb.Database and dbformariadb.Configuration (#2306)
  • keyvault.Vault (#2310)
  • networking.RouteTable and networking.RouteTablesRoute (#2302)
  • dbformysql.User (#2328)

Features

  • A number of documentation improvements, including changing the format of the documentation website to look nicer while also being easier to navigate.
  • Added liveness probe to operator pod (#2254)
  • Add validation for AzureName and Owner immutability (#2260)
  • Added infrastructure to support reconciling resources that aren't ARM resources. The first example of this is the new dbformysql.User support (#2328)
  • Expose fullyQualifiedDomainName as a secret for postgres and mysql (#2297)
  • Make manager container the default for kubectl logs (#2303)
  • Update version of gopkg.in/yaml.v3 to address CVE-2022-28948 (#2320)
  • Update azcore, azidentity and azure-sdk to v1.0.0 (#2331)
  • Add support for AKS ManagedCluster credentials (#2355)

Bug fixes

  • Add missing secret permissions to ASO service account (#2346)
  • Fix bug where controller could crash if attempting to emit metric for HTTP response that timed out (#2347)
  • Add leases access to leader role (#2365)
  • Clearer error if AzureName is not set (#2366)

Upcoming deprecations

The v1alpha1 resources will be deprecated no sooner than v2.0.0-beta.2.

Please migrate away from these resources by updating the apiVersion to the corresponding v1beta... API. See supported resources for details about the specific apiVersion to use for each type of resource.

New Contributors

Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1