fix: update taskfiles and renovate config
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
4 files changed
+65
-105
No files matched your search
@@ -2,9 +2,6 @@
|
||||
# yaml-language-server: $schema=https://taskfile.dev/schema.json
|
||||
version: "3"
|
||||
|
||||
vars:
|
||||
SOPS_CONFIG_FILE: "{{.ROOT_DIR}}/.sops.yaml"
|
||||
|
||||
tasks:
|
||||
|
||||
age-keygen:
|
||||
@@ -13,7 +10,7 @@ tasks:
|
||||
status: ["test -f {{.AGE_FILE}}"]
|
||||
|
||||
encrypt:
|
||||
desc: Encrypt all Kubernetes SOPS secrets that are not already encrypted
|
||||
desc: Encrypt all Kubernetes SOPS secrets
|
||||
cmds:
|
||||
- for: { var: file }
|
||||
task: .encrypt-file
|
||||
@@ -21,10 +18,7 @@ tasks:
|
||||
file: "{{.ITEM}}"
|
||||
vars:
|
||||
file:
|
||||
sh: |
|
||||
if [ -d "{{.KUBERNETES_DIR}}" ]; then
|
||||
find "{{.KUBERNETES_DIR}}" -type f -name "*.sops.*" -exec grep -L "ENC\[AES256_GCM" {} \;
|
||||
fi
|
||||
sh: find "{{.KUBERNETES_DIR}}" -type f -name "*.sops.*" -exec grep -L "ENC\[AES256_GCM" {} \;
|
||||
|
||||
.encrypt-file:
|
||||
internal: true
|
||||
|
||||
Reference in new issue
Block a user