13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-06-29 00:10:45 +00:00
kubeconform/pkg/validator
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
..
validator.go fix: support Scala duration format (weeks/days) without P prefix 2026-04-13 09:09:13 +08:00
validator_test.go Add support for duration (#328) 2025-05-12 11:15:53 +02:00