- Refactor dnsmasq configuration and scripts for improved variable handling and clarity - Updated dnsmasq configuration files to use direct variable references instead of data source functions for better readability. - Modified setup scripts to ensure they are run from the correct environment and directory, checking for the WC_HOME variable. - Changed paths in README and scripts to reflect the new directory structure. - Enhanced error handling in setup scripts to provide clearer guidance on required configurations. - Adjusted kernel and initramfs URLs in boot.ipxe to use the updated variable references.
26 lines
682 B
YAML
26 lines
682 B
YAML
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: ClusterIssuer
|
|
metadata:
|
|
name: letsencrypt-prod
|
|
spec:
|
|
acme:
|
|
email: {{ .operator.email }}
|
|
privateKeySecretRef:
|
|
name: letsencrypt-prod
|
|
server: https://acme-v02.api.letsencrypt.org/directory
|
|
solvers:
|
|
# DNS-01 solver for wildcard certificates
|
|
- dns01:
|
|
cloudflare:
|
|
email: {{ .operator.email }}
|
|
apiTokenSecretRef:
|
|
name: cloudflare-api-token
|
|
key: api-token
|
|
selector:
|
|
dnsZones:
|
|
- "{{ .cluster.certManager.cloudflare.domain }}"
|
|
# Keep the HTTP-01 solver for non-wildcard certificates
|
|
- http01:
|
|
ingress:
|
|
class: traefik |