apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: {{ .Values.private.name }}
  namespace: {{ .Release.Namespace }}
spec:
  acme:
    server: {{ .Values.private.server }}
    email: {{ .Values.private.contactEmail }}
    privateKeySecretRef:
      name: issuer-{{ .Values.private.name }}-account-key
    solvers:
    - dns01:
        webhook:
          groupName: acme.bwolf.me
          solverName: gandi
          config:
            apiKeySecretRef:
              key: api-token
              name: gandi-credentials
