mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 22:35:49 +02:00

* restructure source and templates to follow helm best-practices * add basic actions for more complex workflows * workflows for pr ands tags (along with required fixes to go code) * re-add helm chart and automated chart release * fix errors in workflows * improve documentation * fix finding existing records * add missing namespace to workflow * cleanup of kubernetes pipeline * Fixed and documented tagging workflow
27 lines
904 B
YAML
27 lines
904 B
YAML
{{- if .Values.clusterIssuer.production.enabled -}}
|
|
apiVersion: cert-manager.io/v1
|
|
kind: ClusterIssuer
|
|
metadata:
|
|
name: {{ include "dnsimple-webhook.fullname" . }}-production
|
|
labels:
|
|
app: {{ include "dnsimple-webhook.name" . }}
|
|
chart: {{ include "dnsimple-webhook.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
spec:
|
|
acme:
|
|
email: {{ .Values.clusterIssuer.email }}
|
|
privateKeySecretRef:
|
|
name: {{ include "dnsimple-webhook.fullname" . }}-production
|
|
server: https://acme-v02.api.letsencrypt.org/directory
|
|
solvers:
|
|
- dns01:
|
|
webhook:
|
|
config:
|
|
tokenSecretRef:
|
|
key: token
|
|
name: {{ include "dnsimple-webhook.tokenSecretName" . }}
|
|
accountID: {{ .Values.dnsimple.accountID | quote }}
|
|
groupName: {{ .Values.groupName }}
|
|
solverName: dnsimple
|
|
{{- end -}}
|