adds sops tasks to encrypt and decrypt (#384)
This commit is contained in:
1 parent
3feb96dc4f
commit
dcfb5e7660
2 files changed
+15
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
version: "3"
|
||||
|
||||
tasks:
|
||||
|
||||
encrypt:
|
||||
desc: encrypt sops file 'to use must include -- before path to file.' eg "task sops:encrypt -- file.yml"
|
||||
cmds:
|
||||
- sops --encrypt --in-place {{.CLI_ARGS}}
|
||||
|
||||
decrypt:
|
||||
desc: decrypt sops file 'to use must include -- before path to file.' eg "task sops:decrypt -- file.yml"
|
||||
cmds:
|
||||
- sops --decrypt --in-place {{.CLI_ARGS}}
|
||||
@@ -18,6 +18,7 @@ includes:
|
||||
cluster: .taskfiles/ClusterTasks.yml
|
||||
precommit: .taskfiles/PrecommitTasks.yml
|
||||
terraform: .taskfiles/TerraformTasks.yml
|
||||
sops: .taskfiles/SopsTasks.yml
|
||||
|
||||
tasks:
|
||||
|
||||
|
||||
Reference in new issue
Block a user