Skip to content

Commit 24c9d45

Browse files
committed
fixup! feat: Add preflight checks framework
Extend timeout to 30s
1 parent a40fd92 commit 24c9d45

File tree

2 files changed

+2
-1
lines changed
  • charts/cluster-api-runtime-extensions-nutanix/templates
  • pkg/webhook/preflight

2 files changed

+2
-1
lines changed

charts/cluster-api-runtime-extensions-nutanix/templates/webhooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ webhooks:
7676
resources:
7777
- clusters
7878
sideEffects: None
79+
timeoutSeconds: 30

pkg/webhook/preflight/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// SPDX-License-Identifier: Apache-2.0
33
package preflight
44

5-
// +kubebuilder:webhook:path=/preflight-v1beta1,mutating=false,failurePolicy=fail,groups="cluster.x-k8s.io",resources=clusters,verbs=create;update,versions=*,name=preflight.caren.nutanix.com,admissionReviewVersions=v1,sideEffects=None
5+
// +kubebuilder:webhook:path=/preflight-v1beta1,mutating=false,failurePolicy=fail,groups="cluster.x-k8s.io",resources=clusters,verbs=create;update,versions=*,name=preflight.caren.nutanix.com,admissionReviewVersions=v1,sideEffects=None,timeoutSeconds=30

0 commit comments

Comments
 (0)