Skip to content

Commit b2f8193

Browse files
committed
FIXME: disable new custom defaulter feature for now
1 parent eedf1b0 commit b2f8193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/infrastructure/docker/internal/webhooks/dockerclustertemplate_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type DockerClusterTemplate struct{}
3838
func (webhook *DockerClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error {
3939
return ctrl.NewWebhookManagedBy(mgr).
4040
For(&infrav1.DockerClusterTemplate{}).
41-
WithDefaulter(webhook).
41+
WithDefaulter(webhook, admission.DefaulterRemoveUnknownOrOmitableFields).
4242
WithValidator(webhook).
4343
Complete()
4444
}

0 commit comments

Comments
 (0)