23 lines
602 B
YAML
23 lines
602 B
YAML
{% if flux.enabled %}
|
|
---
|
|
creation_rules:
|
|
{% if distribution.type in ["talos"] %}
|
|
- # IMPORTANT: This rule MUST be above the others
|
|
path_regex: talos/.*\.sops\.ya?ml
|
|
key_groups:
|
|
- age:
|
|
- "{{ flux.sops_age_public_key }}"
|
|
{% endif %}
|
|
- path_regex: kubernetes/.*\.sops\.ya?ml
|
|
encrypted_regex: "^(data|stringData)$"
|
|
key_groups:
|
|
- age:
|
|
- "{{ flux.sops_age_public_key }}"
|
|
{% if distribution.type in ["k3s"] %}
|
|
- path_regex: ansible/.*\.sops\.ya?ml
|
|
key_groups:
|
|
- age:
|
|
- "{{ flux.sops_age_public_key }}"
|
|
{% endif %}
|
|
{% endif %}
|