All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.4.1 - 2021-05-14
- Include
AzureConfig
,AzureClusterConfig
andAzureMachine
in objects not validated if they are being deleted.
2.4.0 - 2021-05-10
- Don't validate objects if they are being deleted.
- Skipping all validation and defaulting for resources with CAPI release label
2.3.2 - 2021-02-23
- Skipping validation for the
azureCluster.spec.networkSpec.apiServerLB
on update.
2.3.1 - 2021-02-23
- Changed
azureCluster.spec.networkSpec.apiServerLB
defaulting to include the case where the field does not exist.
2.3.0 - 2021-02-23
- Execute CAPI/CAPZ validation for all resources.
- Execute CAPI/CAPZ defaulting on all resources.
- Allow
0
as the minimum node count for the cluster autoscaler.
- Don't execute CAPI/CAPZ validation for the
subnet
andspec.subscriptionID
fields of theAzureCluster
resource. - Remove defaulting for the
AzureCluster
control-plane
subnet.
2.2.0 - 2021-02-05
- Add
Cluster
andAzureCluster
mutate webhook definition in the Helm chart. - Ensure
cluster-operator.giantswarm.io/version
label has the right value depending on therelease.giantswarm.io/version
label when updatingCluster
andAzureCluster
.
2.1.0 - 2021-02-03
- Prevent changes to AzureMachinePool Spot VM configuration after creation.
2.0.1 - 2021-01-27
- Avoid nil pointer panic while checking for failureDomain.
2.0.0 - 2021-01-20
- Ensure
azure-operator.giantswarm.io/version
label has the right value depending on therelease.giantswarm.io/version
label when updatingCluster
andAzureCluster
.
1.18.0 - 2021-01-15
- Ensure autoscaler min and max annotations are present when creating or updating a
Machinepool
.
1.17.0 - 2021-01-14
- Update cert apiVersion to v1.
- Ignore Deprecated releases during upgrade validations.
1.16.0 - 2020-12-15
- Block possibility to change
Spec/Azure/AvailabilityZones
field ofAzureConfig
.
0.15.0 - 2020-12-10
- Validate the Master node CIDR does not change in
AzureConfig
CR.
1.14.0 - 2020-12-04
- Ignore release in validation logic by setting
release.giantswarm.io/ignore
annotation on aRelease
CR. - Validate Organization label for
AzureMachinePool
andMachinePool
matchCluster
's. - Make Pod terminate itself when the TLS certificate is expired.
- Update
apptest
library and CAPZ fork dependencies. - On upgrade ignore alpha releases when validating new cluster release version, because upgrading to or from an alpha release is not supported.
1.13.3 - 2020-11-17
- Default
Cluster.Spec.ClusterNetwork.ServiceDomain
tocluster.local
and don't allow any other value to be set.
1.13.2 - 2020-11-13
- No changes.
1.13.1 - 2020-11-13
- No changes.
1.13.0 - 2020-11-12
- Simplify
Validator
interface to only returnerror
, dropping thebool
. - Use specific errors for specific business rules.
- Validate that the
Organization
label contains an existingOrganization
. - Set default value for
MachinePool.Spec.Replicas
to 1. - Set
AzureMachine
's,AzureCluster
's, andAzureMachinePool
'slocation
field on create if empty. - Validate
AzureMachine
's,AzureCluster
's, andAzureMachinePool
'slocation
matches the installation'slocation
. - Validate
AzureMachine
's,AzureCluster
's, andAzureMachinePool
'slocation
never changes. - Validate
FailureDomain
forAzureMachine
is a valid and supported one. - Validate
FailureDomain
forAzureMachine
never changes. - Set
release.giantswarm.io/version
label onMachinePool
,AzureMachinePool
, andSpark
CRs on create if empty. - Set
AzureMachinePool
's andMachinePool
's operators versions on create if missing. - Add builders to make it easier to write tests.
- New value for
AzureCluster
release.giantswarm.io/version
label must match the same label onCluster
CR Cluster
Creating
condition - settingStatus=Unknown
is not allowedCluster
Creating
condition - newStatus
value must be eitherTrue
orFalse
Cluster
Creating
condition - removing existing condition is not allowedCluster
Creating
condition - changingStatus
fromFalse
toTrue
is not allowedCluster
Upgrading
condition - settingStatus=Unknown
is not allowedCluster
Upgrading
condition - newStatus
value must be eitherTrue
orFalse
Cluster
Upgrading
condition - removing existing condition is not allowed
1.12.0 - 2020-10-27
- Prevent Organization label value change on CR updates.
- Removed Organization label value normalization on CR creation.
1.11.0 - 2020-10-23
- Ensure default value and immutability for
AzureCluster.ControlPlaneEndpoint
,Cluster.ControlPlaneEndpoint
andCluster.ClusterNetwork fields
.
1.10.0 - 2020-10-23
- AzureCluster, AzureMachine, AzureMachinePool, Cluster and MachinePools CR's are ensured to have normalized form of giantswarm.io/organization label value via mutating webhook on CREATE.
- Set
400
status code if a request is invalid.
1.9.1 - 2020-10-21
- Compare
FailureDomains
field manually when updating instead of relying onreflect.DeepEqual
which may have issues when the slice is nil or empty.
1.9.0 - 2020-10-21
- Ensure failureDomains in MachinePool are supported by the AzureMachinePool VM type in the current location.
1.8.0 - 2020-10-20
- Block configuring the
DataDisks
field in AzureMachinePool CRs, and set a default value for it.
1.7.0 - 2020-10-16
- Check that SSH keys are not set in AzureMachine and AzureMachinePool CRs.
- Add mutating webhook to set storage account type in the AzureMachinePool CR if unset.
- Block changing node pool instance type from one that supports premium storage to one that does not.
1.6.2 - 2020-10-07
- Add missing schemes to controller client.
1.6.1 - 2020-10-07
- Validate parameters when building objects.
- Remove unnecesary k8sclients.
1.6.0 - 2020-10-07
- Added validating webhook for AzureNodePools that checks instance type is valid and meets minimum requirements.
- Added validating webhook for AzureNodePools that checks instance type supports accelerated networking if enabled.
- Updated to Go 1.15.
1.5.0 - 2020-08-19
- Allow skipping patches.
1.4.0 - 2020-08-05
- AWS related controllers.
1.3.0 - 2020-07-23
- When parsing the release version during Azure upgrades, we are now more tolerant when parsing the versions string so it works as well with leading
v
versions, likev1.2.3
.
1.2.0 - 2020-07-20
- Validation Webhooks that check for valid upgrade paths for legacy Azure clusters.
- Added application to Azure app collection.
1.1.0 - 2020-07-16
- Handling of creation and updates to
AWSMachineDeployment
(awsmachinedeployments.infrastructure.giantswarm.io
) resources, with defaulting of the.spec.node_spec.aws.instanceDistribution.onDemandPercentageAboveBaseCapacity
attribute.
1.0.0 - 2020-06-15
- Several changes
- First release.