You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm trying to add an option for adding files that are encrypted to my repo. Most of the files do not need any kind of encrytion and only several need it because of tokens contained.
i was looking for simple way how to add it but i finished with that lines in my ci
- set +e; find blackbox/configs/ -type f -print -exec sops -d --ignore-mac -i {} \; ; set -e
i need to disable error handling because sops fails with 1 if file is not encrypted. but that is completely fine for my use case, also i cant find --recursive option for -d am i doing something wrong or misunderstood any conception ?
i was expecting to do it with just sops --ignore-mac -i -d blackbox/configs/*
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, i'm trying to add an option for adding files that are encrypted to my repo. Most of the files do not need any kind of encrytion and only several need it because of tokens contained.
i was looking for simple way how to add it but i finished with that lines in my ci
i need to disable error handling because sops fails with 1 if file is not encrypted. but that is completely fine for my use case, also i cant find
--recursive
option for-d
am i doing something wrong or misunderstood any conception ?i was expecting to do it with just
sops --ignore-mac -i -d blackbox/configs/*
Beta Was this translation helpful? Give feedback.
All reactions