diff --git a/plugin.yaml b/plugin.yaml index 20aab58..1921638 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: kubeconform -version: 0.1.16 +version: 0.1.17 usage: Kubernetes manifest validation tool for Helm charts description: Kubernetes manifest validation tool for Helm charts ignoreFlags: false diff --git a/scripts/plugin_wrapper.py b/scripts/plugin_wrapper.py index 7478dea..904240e 100755 --- a/scripts/plugin_wrapper.py +++ b/scripts/plugin_wrapper.py @@ -303,8 +303,8 @@ def parse_args( for v in a.schema_location: args["kubeconform"] += ["-schema-location", v] - if a.skip is True: - args["kubeconform"] += ["-skip"] + if a.skip is not None: + args["kubeconform"] += ["-skip", a.skip] if a.strict is True: args["kubeconform"] += ["-strict"]