-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.sops.yaml
83 lines (67 loc) · 2.65 KB
/
.sops.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
creation_rules:
- path_regex: kubernetes/.*\.sops\.ya?ml
encrypted_regex: "^(data|stringData)$"
key_groups:
- age:
- age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
- path_regex: kubernetes/.*\.sops\.ini
key_groups:
- age:
- age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
- path_regex: kubernetes/.*\.sops\.toml
key_groups:
- age:
- age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
- path_regex: kubernetes/.*cluster-settings.(yml|yaml)$
encrypted_regex: "^(data|stringData)$"
key_groups:
- age:
- age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# provision
- path_regex: provision/.*secret\.sops\.(yml|yaml)$
key_groups:
- age:
- age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
#old revision
# cluster secrets
# - pgp: EBBF39679C6F45931641675C60884A69AEC68127
# path_regex: cluster/.*secret\.(yml|yaml)$
# encrypted_regex: (^data$|^stringData$|user|[Pp]assword|userDatabase)
# # provision secrets
# - pgp: EBBF39679C6F45931641675C60884A69AEC68127
# path_regex: ansible/inventory/.*\.sops\.(yml|yaml)$
# encrypted_regex: (^secret|password)
# - age: age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# path_regex: terraform/.*\.sops\.(yml|yaml)$
# ---
# creation_rules:
# - path_regex: kubernetes/.*\.sops\.ya?ml
# encrypted_regex: "^(data|stringData)$"
# key_groups:
# - age:
# - age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# - path_regex: ansible/.*\.sops\.ya?ml
# key_groups:
# - age:
# - age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# - path_regex: terraform/.*\.sops\.ya?ml
# key_groups:
# - age:
# - age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# - pgp: EBBF39679C6F45931641675C60884A69AEC68127
# path_regex: provision/ansible/inventory/.*\.sops\.(yml|yaml)$
# encrypted_regex: (^secret|password)
# - pgp: EBBF39679C6F45931641675C60884A69AEC68127
# path_regex: provision/proxmox/.*secret\.(yml|yaml)$
# encrypted_regex: (^secret|password)
# - path_regex: provision/cloudflare/.*secret\.(yml|yaml)$
# key_groups:
# - age:
# - age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# - path_regex: provision/storage/apps/.*secret\.(yml|yaml)$
# - path_regex: kubernetes/.*\.sops\.json
# key_groups:
# - age:
# - age1k4ynyg53h5a7x5urs6j38w544z0qqdwffl9j87h7mnr6vywgwfxq9e7njs
# will match any file that is nested inside a "kubernetes" folder and
# has a filename that ends with ".sops.yml" or ".sops.yaml". It will work regardless of the level of nesting