fix(cert-manager) fix ACME ClusterIssuer support (#7754)

* Fix ACME ClusterIssuer for  cert-manager

* Update Chart.yaml

---------

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Ethan Leisinger
2023-03-07 09:33:18 +00:00
committed by GitHub
co-authored by Kjeld Schouten-Lebbing
parent 3dace1df0b
commit f264522a6d
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ keywords:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 12.2.19 version: 12.2.20
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
maintainers: maintainers:
- email: info@truecharts.org - email: info@truecharts.org
@@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/cert-manager - https://github.com/truecharts/charts/tree/master/charts/enterprise/cert-manager
- https://cert-manager.io/ - https://cert-manager.io/
type: application type: application
version: 1.0.4 version: 1.0.5
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- core - core
@@ -1,5 +1,5 @@
{{- define "certmanager.clusterissuer.acme" -}} {{- define "certmanager.clusterissuer.acme" -}}
{{- range .Values.clusterIssuer.acme }} {{- range .Values.clusterIssuer.ACME }}
--- ---
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: ClusterIssuer kind: ClusterIssuer
@@ -25,6 +25,7 @@ spec:
name: {{ .name }}-clusterissuer-secret name: {{ .name }}-clusterissuer-secret
key: cf-api-token key: cf-api-token
{{- else if .cfapikey }} {{- else if .cfapikey }}
apiKeySecretRef:
name: {{ .name }}-clusterissuer-secret name: {{ .name }}-clusterissuer-secret
key: cf-api-key key: cf-api-key
{{ else }} {{ else }}