home-server/charts/subcharts/templates/cart-manager.yaml

39 lines
1,020 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-rfc2136
spec:
acme:
email: {{ .Values.ssl.email }}
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt-rfc2136
solvers:
- dns01:
rfc2136:
nameserver: hawke.hxst.com.au:53
tsigKeyName: "hxme-update-key"
tsigAlgorithm: HMACSHA512
tsigSecretSecretRef:
name: hxme-update-key
key: hxme-update-key
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ .Values.ssl.secret_name }}
namespace: {{ .Release.Namespace }}
spec:
secretName: {{ .Values.ssl.secret_name }}
secretTemplate:
annotations:
replicator.v1.mittwald.de/replication-allowed: "true"
issuerRef:
name: letsencrypt-rfc2136
kind: ClusterIssuer
commonName: "{{ .Values.global.domain }}"
dnsNames:
- "{{ .Values.global.domain }}"
- "*.{{ .Values.global.domain }}"