Skip to content

Commit

Permalink
fix: -skip parameter not properly used
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcvlcs committed Mar 11, 2024
1 parent aeaabe4 commit 6b0bc5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/plugin_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 6b0bc5a

Please sign in to comment.