What happened?
Similar to #477, but for ASGs. We have an external controller managing the ASG desiredCapacity and the default desiredCapacity of 1 conflicts with this.
How can we reproduce it?
- create an AutoscalingGroup with initProvider.desiredCapacity=0
apiVersion: autoscaling.aws.upbound.io/v1beta3
kind: AutoscalingGroup
spec:
initProvider:
desiredCapacity: 0
- wait for crossplane to reconcile
Expected behavior
The AutoscalingGroup has desired capacity 0
Actual behavior
The AutoscalingGroup has desired capacity 1
What environment did it happen in?
Crossplane version: 1.18.1
Kubernetes: 1.30
Kubernetes distribution: AWS EKS
What happened?
Similar to #477, but for ASGs. We have an external controller managing the ASG
desiredCapacityand the default desiredCapacity of 1 conflicts with this.How can we reproduce it?
Expected behavior
The AutoscalingGroup has desired capacity 0
Actual behavior
The AutoscalingGroup has desired capacity 1
What environment did it happen in?
Crossplane version: 1.18.1
Kubernetes: 1.30
Kubernetes distribution: AWS EKS