Add tasks to wait for Kyverno admission controller rollout and webhook service endpoints, enhancing deployment reliability and ensuring successful policy validation.
This commit is contained in:
8
ansible/roles/noble_kyverno_policies/defaults/main.yml
Normal file
8
ansible/roles/noble_kyverno_policies/defaults/main.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
# After the operator chart, the validating webhook can still be a few seconds behind Helm --wait.
|
||||
noble_kyverno_policies_endpoint_wait_retries: 60
|
||||
noble_kyverno_policies_endpoint_wait_delay: 5
|
||||
|
||||
# Transient "failed calling webhook ... context deadline exceeded" while admission warms up.
|
||||
noble_kyverno_policies_helm_retries: 12
|
||||
noble_kyverno_policies_helm_delay: 20
|
||||
Reference in New Issue
Block a user