Skip to content

Commit

Permalink
Fix kubeconform pre-commit to not leave around containers (#38688)
Browse files Browse the repository at this point in the history
(cherry picked from commit d212b11)
  • Loading branch information
jedcunningham authored and ephraimbuddy committed Apr 16, 2024
1 parent bf95b5a commit b041557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/pre_commit/kubeconform.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
stdout=subprocess.PIPE,
)
result = subprocess.run(
["docker", "run", "-i", "ghcr.io/yannh/kubeconform:latest-alpine", "--strict"],
["docker", "run", "--rm", "-i", "ghcr.io/yannh/kubeconform:latest-alpine", "--strict"],
stdin=ps.stdout,
check=False,
)
Expand Down

0 comments on commit b041557

Please sign in to comment.