cert-manager: Add Cluster-issuer
This commit is contained in:
parent
f80e16ee3e
commit
47a7abb628
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezeroCertManager
|
name: kubezeroCertManager
|
||||||
description: KubeZero Umbrella Chart for cert-manager
|
description: KubeZero Umbrella Chart for cert-manager
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
keywords:
|
keywords:
|
||||||
- kubezero
|
- kubezero
|
||||||
|
14
charts/kubezeroCertManager/templates/cluster-issuer.yaml
Normal file
14
charts/kubezeroCertManager/templates/cluster-issuer.yaml
Normal 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 }}
|
@ -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:
|
cert-manager:
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
|
Loading…
Reference in New Issue
Block a user