forked from xunholy/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sops.yaml
20 lines (20 loc) · 954 Bytes
/
.sops.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# creation rules are evaluated sequentially, the first match wins
creation_rules:
# secret files using GCP KMS to encrypt the stored PGP keys
- path_regex: kubernetes/clusters/.*/secrets/sops-gpg.encrypted.ya?ml
encrypted_regex: ^(data|stringData)$
unencrypted-regex: ^(description|metadata)$
gcp_kms: projects/raspbernetes/locations/global/keyRings/sops/cryptoKeys/sops-key
# Kubernetes secret files using SOPS
- path_regex: kubernetes/.*/*.enc.ya?ml
encrypted_regex: ^(data|stringData)$
unencrypted-regex: ^(description|metadata)$
pgp: 0635B8D34037A9453003FB7B93CAA682FF4C9014
# Talos secret files using SOPS
- path_regex: talos/.*/.*.enc.ya?ml
pgp: 0635B8D34037A9453003FB7B93CAA682FF4C9014
encrypted_regex: '((?i)(pass|secret($|[^N])|ca|crt|key|token|^data$|^stringData$))'
# Terraform secret files using SOPS
- path_regex: terraform/.*/*.enc.ya?ml
pgp: 0635B8D34037A9453003FB7B93CAA682FF4C9014