helm/internal/plugin
Scott Rigby 16924a51db Fix: Removed unsafe umask manipulation in tests
Problem: Tests used syscall.Umask(0000) which could leave your shell creating
files with 777 permissions if interrupted.

Solution: Instead of changing umask, tests now detect the current umask and
calculate expected permissions after it's applied.

Result: Same test coverage, but safe from system-wide side effects.

Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-08-25 23:17:42 -04:00
..
cache Move pkg/plugin -> internal/plugin 2025-08-16 22:58:54 -07:00
installer Fix: Removed unsafe umask manipulation in tests 2025-08-25 23:17:42 -04:00
schema [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
testdata/plugdir Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
config.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
descriptor.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
doc.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
error.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
loader.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
loader_test.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
metadata.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
metadata_legacy.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
metadata_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
metadata_v1.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
plugin.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
plugin_test.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
runtime.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00
runtime_subprocess.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess_getter.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess_hooks.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
subprocess_commands.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
subprocess_commands_test.go Plugin types and plugin apiVersion v1 2025-08-22 17:17:36 -04:00