Files
dokku/plugins/scheduler-k3s/templates/chart/cluster-issuer.yaml
T
Jose Diaz-Gonzalez 4a7db5ce24 feat: apply the cluster issuers on every app deploy
This ensures we can always get certificates regardless of what app gets deployed with whatever configuration.
2024-01-23 07:25:03 -05:00

19 lines
417 B
YAML

{{- range $name, $config := .Values.cluster_issuers }}
{{- if $config.enabled }}
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: {{ $config.name }}
spec:
acme:
email: {{ $config.email }}
server: {{ $config.server }}
privateKeySecretRef:
name: {{ $config.name }}
solvers:
- http01:
ingress:
class: {{ $config.ingress_class }}
{{- end }}
{{- end }}