From e6a4c79972521fb3aa33a2cee48ea9c35cacc546 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Tue, 26 Sep 2023 13:01:03 +1000 Subject: [PATCH] Update kubernetes versions in README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 311eeab5..57ca7008 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ optional arguments: e.g. ``` -$ kubernetes-validate -k 1.20 --strict resource.yml +$ kubernetes-validate -k 1.27 --strict resource.yml ``` ### Python @@ -77,17 +77,17 @@ except kubernetes_validate.ValidationError as e: ### Examples ``` -$ kubernetes-validate -k 1.13.6 examples/kuard-extra-property.yaml -INFO examples/kuard-extra-property.yaml passed against version 1.13.6 +$ kubernetes-validate -k 1.21 examples/kuard-extra-property.yaml +INFO examples/kuard-extra-property.yaml passed against version 1.21 ``` ``` $ kubernetes-validate --strict examples/kuard-extra-property.yaml -ERROR examples/kuard-extra-property.yaml did not validate against version 1.16.0: spec.selector: Additional properties are not allowed ('unwanted' was unexpected) +ERROR examples/kuard-extra-property.yaml did not validate against version 1.28.0: spec.selector: Additional properties are not allowed ('unwanted' was unexpected) ``` ``` $ kubernetes-validate examples/kuard-invalid-type.yaml -ERROR examples/kuard-invalid-type.yaml did not validate against version 1.16.0: spec.replicas: 'hello' is not of type u'integer' +ERROR examples/kuard-invalid-type.yaml did not validate against version 1.28.0: spec.replicas: 'hello' is not of type u'integer' ```