Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show error if there's no secret to encode (#1580)
**Description of the change** Kubeseal will throw an error when trying to seal no secrets. This will happen when the file is empty or invalid, and the error suggests the user to check the file encoding as this seems to be a common issue especially in some versions of Windows #1410 #1560 **Benefits** Give feedback to the user to help debugging a common issue **Possible drawbacks** Kubeseal will now throw an error where it previously just silently succeeded with no output **Applicable issues** - fixes #1410 - fixes #1560 --------- Signed-off-by: Alejandro Moreno <[email protected]>
- Loading branch information