refactor!: project updates (#1326)

* 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>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-02-15 20:03:24 -05:00
1 parent 04ff4ef994
commit c17d543b21
93 files changed
+591 -755

No files matched your search

+7 -9
View File
@@ -1,22 +1,20 @@
{% if flux.enabled %}
---
creation_rules:
{% if distribution.type in ["talos"] %}
#% if bootstrap_distribution 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 %}
- "#{ bootstrap_sops_age_pubkey }#"
#% endif %#
- path_regex: kubernetes/.*\.sops\.ya?ml
encrypted_regex: "^(data|stringData)$"
key_groups:
- age:
- "{{ flux.sops_age_public_key }}"
{% if distribution.type in ["k3s"] %}
- "#{ bootstrap_sops_age_pubkey }#"
#% if bootstrap_distribution in ["k3s"] %#
- path_regex: ansible/.*\.sops\.ya?ml
key_groups:
- age:
- "{{ flux.sops_age_public_key }}"
{% endif %}
{% endif %}
- "#{ bootstrap_sops_age_pubkey }#"
#% endif %#