v2.0.0-alpha.6
Pre-release
Pre-release
matthchr
released this
15 Feb 23:49
·
1486 commits
to main
since this release
This version is unsupported. To try it out, follow the instructions in the README. After installation, you can see the usage instructions for how to get started.
Breaking changes
Replaced raw secrets with references to Kubernetes secrets
Replaced properties containing raw secrets (passwords, SSH keys, etc) with references to Kubernetes secrets.
This change is not backwards compatible. We realize that breaking changes are difficult for users, but felt that it was better to make this change now in alpha than delay. In this case, the change has significant positive security implications.
The following resources were impacted:
- dbformysql.azure.com/v1alpha1api20210501/FlexibleServer: Property
administratorLoginPassword
- dbforpostgresql.azure.com/v1alpha1api20210601/FlexibleServer: Property
administratorLoginPassword
- compute.azure.com/v1alpha1api20201201/VirtualMachine: Property
osProfile.AdminPassword
- compute.azure.com/v1alpha1api20201201/VirtualMachineScaleSet: Property
virtualMachineProfile.osProfile
Migration
The migration path for each of these resources is the same:
- Ensure that the version of ASO you are running is alpha-6 or later.
- Mark the existing resource with annotation serviceoperator.azure.com/reconcile-policy=detach-on-delete.
- Delete the resource with
kubectl delete
. This won't delete the resource in Azure due to the above annotation. - Create a Kubernetes secret containing the value which was previously directly in the resource spec (for example the
administratorLoginPassword
). This secret must be in the same namespace as where the resource will be created. - Update the resource YAML to refer to the secret. See the example.
kubectl apply
the updated resource YAML. This will adopt the resource that already exists in Azure (left from step 3).
Release notes
- Added support for the following new resources:
- Stop using specHash optimization - reconcile should always PUT to Azure (#2202)
- Turn off Go client retries (#2033)
- Added support for the
reconcile-policy
annotation (#2060) - Simplify configuration of which resources to export (#2071)
- Add support for resource extensions generation (#2064)
New Contributors
- @jonnylangefeld made their first contribution in #1766
- @uya116 made their first contribution in #2012
- @vaspahomov made their first contribution in #2078
- @super-harsh made their first contribution in #2064
Full Changelog: v2.0.0-alpha.5...v2.0.0-alpha.6