cert-manager: Add Cluster-issuer

This commit is contained in:
Stefan Reimer 2020-05-06 15:03:33 +01:00
parent f80e16ee3e
commit 47a7abb628
3 changed files with 25 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezeroCertManager
description: KubeZero Umbrella Chart for cert-manager
type: application
version: 0.1.0
version: 0.1.1
home: https://kubezero.com
keywords:
- kubezero

View File

@ -0,0 +1,14 @@
{{- if .Values.clusterIssuer.name }}
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: {{ .Values.clusterIssuer.name }}
spec:
acme:
server: {{ .Values.clusterIssuer.server }}
email: {{ .Values.clusterIssuer.email }}
privateKeySecretRef:
name: {{ .Values.clusterIssuer.name }}
solvers:
{{ toYaml .Values.clusterIssuer.solvers | indent 6 }}
{{- end }}

View File

@ -1,3 +1,13 @@
clusterIssuer: {}
# name: letsencrypt-dns-prod
# server: https://acme-v02.api.letsencrypt.org/directory
# email: admin@example.com
# solvers:
# - dns01:
# route53:
# region: us-west-2
# hostedZoneID: 1234567890
cert-manager:
tolerations:
- key: node-role.kubernetes.io/master