From 626cebc34d7ab0b6ee4f0abd73c078fdaa465965 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 19 Mar 2023 16:05:12 +0200 Subject: [PATCH] fix(cert-manager): add missing providers (#7813) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes #7812 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/enterprise/cert-manager/Chart.yaml | 2 +- .../enterprise/cert-manager/templates/clusterissuer/_ACME.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/enterprise/cert-manager/Chart.yaml b/charts/enterprise/cert-manager/Chart.yaml index c2ed3cb2644..118ece1bd0b 100644 --- a/charts/enterprise/cert-manager/Chart.yaml +++ b/charts/enterprise/cert-manager/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/enterprise/cert-manager - https://cert-manager.io/ type: application -version: 1.0.10 +version: 1.0.11 annotations: truecharts.org/catagories: | - core diff --git a/charts/enterprise/cert-manager/templates/clusterissuer/_ACME.tpl b/charts/enterprise/cert-manager/templates/clusterissuer/_ACME.tpl index e00b89579a7..97586304603 100644 --- a/charts/enterprise/cert-manager/templates/clusterissuer/_ACME.tpl +++ b/charts/enterprise/cert-manager/templates/clusterissuer/_ACME.tpl @@ -3,7 +3,7 @@ {{- if not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .name) -}} {{- fail "ACME - Expected name to be all lowercase with hyphens, but not start or end with a hyphen" -}} {{- end -}} - {{- $validTypes := list "HTTP01" "cloudflare" "route53" -}} + {{- $validTypes := list "HTTP01" "cloudflare" "route53" "digitalocean" "akamai" "rfc2136" -}} {{- if not (mustHas .type $validTypes) -}} {{- fail (printf "Expected ACME type to be one of [%s], but got [%s]" (join ", " $validTypes) .type) -}} {{- end -}}