13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-06-29 00:10:45 +00:00
kubeconform/pkg
shui fdf0ebbc38 fix: support Scala duration format (weeks/days) without P prefix
Kubernetes API machinery accepts Scala duration format, e.g., '2w' for 2 weeks
and '3d' for 3 days, in addition to Go duration format (e.g., '1h30m') and ISO 8601
format (e.g., 'P2W'). This fix adds validation support for these commonly used
duration formats.

Closes #347
2026-04-13 09:09:13 +08:00
..
cache Update jsonschema library to v6 (#324) 2025-05-11 02:05:01 +02:00
config Sanitize csv strings (#258) 2024-05-09 14:21:36 +02:00
loader Invalid JSON should not be considered an error - see https://github.com/yannh/kubeconform/issues/67 (#327) 2025-05-12 10:21:02 +02:00
output Fix junit output, also ensure junit output is deterministic (#253) 2023-12-24 18:06:03 +01:00
registry Add tests for the HTTP loader (#325) 2025-05-11 04:13:07 +02:00
resource Allow to skip resources using the GVK notation (#92) 2022-10-16 14:59:48 +02:00
validator fix: support Scala duration format (weeks/days) without P prefix 2026-04-13 09:09:13 +08:00