kubernetes-sigs / cluster-api-provider-azure

Cluster API implementation for Microsoft Azure
https://capz.sigs.k8s.io/
Apache License 2.0
295 stars 423 forks source link

Improve unit test coverage in webhooks #3648

Open willie-yao opened 1 year ago

willie-yao commented 1 year ago

/kind cleanup

What needs cleanup:

This mega issue is meant to track individual issues for improving code coverage within CAPZ webhooks.

Describe the solution you'd like

### Tasks
- [ ] #3371
- [ ] #3652
- [ ] #3372
- [ ] #3374
- [ ] #3373
- [ ] #3429
- [ ] #3430
- [ ] #3431
- [ ] azuremanagedmachinepool_webhook.go
- [ ] #3432
- [ ] azuremachinepool_webhook.go
- [ ] azuremachinepoolmachine_webhook.go

Older parent issue: #3229

k8s-triage-robot commented 8 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

willie-yao commented 7 months ago

/remove-lifecycle rotten

k8s-triage-robot commented 4 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

willie-yao commented 4 months ago

/remove-lifecycle stale

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

willie-yao commented 1 month ago

/remove-lifecycle stale