* refactor!: flux is required again Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: delimiter that chomps Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: bootstrap_cloudflare logic Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update tests Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: remove last quote Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update readme Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
21 lines
581 B
YAML
21 lines
581 B
YAML
---
|
|
creation_rules:
|
|
#% if bootstrap_distribution in ["talos"] %#
|
|
- # IMPORTANT: This rule MUST be above the others
|
|
path_regex: talos/.*\.sops\.ya?ml
|
|
key_groups:
|
|
- age:
|
|
- "#{ bootstrap_sops_age_pubkey }#"
|
|
#% endif %#
|
|
- path_regex: kubernetes/.*\.sops\.ya?ml
|
|
encrypted_regex: "^(data|stringData)$"
|
|
key_groups:
|
|
- age:
|
|
- "#{ bootstrap_sops_age_pubkey }#"
|
|
#% if bootstrap_distribution in ["k3s"] %#
|
|
- path_regex: ansible/.*\.sops\.ya?ml
|
|
key_groups:
|
|
- age:
|
|
- "#{ bootstrap_sops_age_pubkey }#"
|
|
#% endif %#
|