defenseunicorns / lula

The Compliance Validator
Apache License 2.0
146 stars 23 forks source link

Increase timeout or implement retries (networking) #670

Open meganwolf0 opened 1 month ago

meganwolf0 commented 1 month ago

Environment

Device and OS:
App version:
Kubernetes distro:
Kubernetes version:
provider:

Steps to reproduce

When executing the pepr.yaml component definition, it was noted that several of the policies failed (on the second target, only) when the create-resource files were attempted to be retrieved from the remote url: Get "https://repo1.dso.mil/big-bang/product/packages/kyverno-policies/-/raw/main/chart/tests/manifests/restrict-host-ports.yaml": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Expected result

The files should be successfully retrieved

Actual Result

Visual Proof (screenshots, videos, text, etc)

Severity/Priority

Additional Context

Possibly fixed by a combination of increasing timeout and adding retry logic.

brandtkeller commented 1 week ago

May be something we can resolve with #693