apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: {{ .Values.issuer.name }}
  namespace: {{ .Release.Namespace }}
spec:
  acme:
    server: {{ .Values.issuer.server }}
    email: {{ .Values.issuer.contactEmail }}
    privateKeySecretRef:
      name: cluster-issuer-{{ .Values.issuer.name }}-account-key
    solvers:
    - selector: {}
      http01:
        ingress:
          class: {{ .Values.issuer.ingressClass }}
