From 7b88ba62457d51b0e8b733c7f8b6cdc7e3fe3726 Mon Sep 17 00:00:00 2001 From: Adrien Reslinger Date: Thu, 15 Apr 2021 23:27:28 +0200 Subject: [PATCH] Add initial http01 solver support --- templates/clusterissuer.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/clusterissuer.yml.j2 b/templates/clusterissuer.yml.j2 index 2fa24d1..8a0caaa 100644 --- a/templates/clusterissuer.yml.j2 +++ b/templates/clusterissuer.yml.j2 @@ -16,6 +16,7 @@ spec: dnsZones: - "{{ i.domain }}" {{ i.solver }}: +{% if i.solver == "dns01" %} {% if i.provider == "cloudflare" %} cloudflare: email: "{{ i.email }}" @@ -42,4 +43,8 @@ spec: key: applicationSecret consumerKey: '{{ i.consumerKey }}' {% endif %} +{% elif i.solver == "http01" %} + ingress: + class: traefik +{% endif %} {% endfor %}