apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
  name: $(tlsSecretName)
spec:
  acme:
    config:
    - domains:
      - $(hostname)
      http01:
        ingress: $(ingressName)
  commonName: $(hostname)
  dnsNames:
  - $(hostname)
  issuerRef:
    kind: ClusterIssuer
    name: $(issuer)
  secretName: $(tlsSecretName)
