add support to customize selector of cluster issuer

This commit is contained in:
Hanfei Shen 2020-03-05 14:34:52 +08:00
parent 6c987bf704
commit d49708234b
No known key found for this signature in database
GPG Key ID: 8645106F29EA1F55
3 changed files with 10 additions and 1 deletions

View File

@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "0.2.0"
description: A Cert Manager Webhook for DNSPod
name: cert-manager-webhook-dnspod
version: 0.3.0
version: 0.3.1

View File

@ -107,4 +107,8 @@ spec:
apiTokenSecretRef:
key: api-token
name: {{ include "cert-manager-webhook-dnspod.fullname" . }}-secret
{{- if .Values.clusterIssuer.selector }}
selector:
{{ toYaml .Values.clusterIssuer.selector | indent 8 }}
{{- end }}
{{- end }}

View File

@ -21,6 +21,11 @@ clusterIssuer:
staging: false
#email:
# https://cert-manager.io/docs/configuration/acme/#adding-multiple-solver-types
#selector:
# dnsZones:
# - 'example.com'
image:
repository: qqshfox/cert-manager-webhook-dnspod
#tag: latest