Skip to content

chore(helm): use a temp dir instead of an unused base temp file#103

Closed
rguichard wants to merge 1 commit into
feature/pla-1455-move-app-related-deployment-config-into-application-reposfrom
fix/validate-helm-unused-tempfile
Closed

chore(helm): use a temp dir instead of an unused base temp file#103
rguichard wants to merge 1 commit into
feature/pla-1455-move-app-related-deployment-config-into-application-reposfrom
fix/validate-helm-unused-tempfile

Conversation

@rguichard

Copy link
Copy Markdown
Collaborator

Addresses an Aikido finding on PR #90 (validate-helm-charts.sh:83).

process_chart() created a base temp file via mktemp but only used the .lint/.template derivatives, leaving the base as an unused empty file. Switched to a single mktemp -d directory with explicit lint/template paths, cleaned up with one rm -rf.

🤖 Generated with Claude Code

process_chart() created a base temp file via `mktemp` but only ever
used the `.lint`/`.template` derivatives, leaving the base file as an
unused empty file. Use a single `mktemp -d` directory with explicit
lint/template paths, and clean it up with one `rm -rf`.

Addresses Aikido finding on validate-helm-charts.sh:83.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rguichard rguichard closed this Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant