mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: add missing webhook timeouts (#7435)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
3d5341949b
commit
60fd1ccda9
1 changed files with 3 additions and 0 deletions
|
@ -510,6 +510,7 @@ func (c *controller) buildVerifyMutatingWebhookConfiguration(cfg config.Configur
|
||||||
}},
|
}},
|
||||||
FailurePolicy: &ignore,
|
FailurePolicy: &ignore,
|
||||||
SideEffects: &noneOnDryRun,
|
SideEffects: &noneOnDryRun,
|
||||||
|
TimeoutSeconds: &c.defaultTimeout,
|
||||||
ReinvocationPolicy: &ifNeeded,
|
ReinvocationPolicy: &ifNeeded,
|
||||||
AdmissionReviewVersions: []string{"v1"},
|
AdmissionReviewVersions: []string{"v1"},
|
||||||
ObjectSelector: &metav1.LabelSelector{
|
ObjectSelector: &metav1.LabelSelector{
|
||||||
|
@ -536,6 +537,7 @@ func (c *controller) buildPolicyMutatingWebhookConfiguration(cfg config.Configur
|
||||||
},
|
},
|
||||||
}},
|
}},
|
||||||
FailurePolicy: &fail,
|
FailurePolicy: &fail,
|
||||||
|
TimeoutSeconds: &c.defaultTimeout,
|
||||||
SideEffects: &noneOnDryRun,
|
SideEffects: &noneOnDryRun,
|
||||||
ReinvocationPolicy: &ifNeeded,
|
ReinvocationPolicy: &ifNeeded,
|
||||||
AdmissionReviewVersions: []string{"v1"},
|
AdmissionReviewVersions: []string{"v1"},
|
||||||
|
@ -558,6 +560,7 @@ func (c *controller) buildPolicyValidatingWebhookConfiguration(cfg config.Config
|
||||||
},
|
},
|
||||||
}},
|
}},
|
||||||
FailurePolicy: &fail,
|
FailurePolicy: &fail,
|
||||||
|
TimeoutSeconds: &c.defaultTimeout,
|
||||||
SideEffects: &none,
|
SideEffects: &none,
|
||||||
AdmissionReviewVersions: []string{"v1"},
|
AdmissionReviewVersions: []string{"v1"},
|
||||||
}},
|
}},
|
||||||
|
|
Loading…
Add table
Reference in a new issue