Merge infra and k3 into one directory again

Since I don't have multiple terraform steps anymore it simply doesn't
make sense to me anymore to split all tasks into separate folders.
Instead I try to be as clear as possible in the README to make it easy
to follow the structure in the future without too much headache.
This commit is contained in:
2025-09-21 19:28:08 +02:00
parent fef383fed4
commit 7297892e18
32 changed files with 70 additions and 99 deletions

View File

@@ -0,0 +1,29 @@
- name: Deploy cert manager {{ cert_manager_version }}
kubernetes.core.helm:
name: cert-manager
chart_ref: "oci://quay.io/jetstack/charts/cert-manager"
chart_version: "{{ cert_manager_version }}"
release_namespace: "cert-manager"
create_namespace: True
release_state: "{{ cert_manager_state }}"
set_values:
- value: crds.enabled=true
- name: Provide let's encrypt clusterissuers
kubernetes.core.k8s:
definition:
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: "letsencrypt-{{ item.key }}"
spec:
acme:
email: "{{ item.value.email }}"
privateKeySecretRef:
name: "letsencrypt-{{ item.key }}"
server: "{{ item.value.server }}"
solvers:
- http01:
ingress:
class: "traefik"
loop: "{{ letsencrypt_clusterissuers | dict2items }}"