Last active
November 17, 2019 03:52
-
-
Save lvnilesh/d0f8ca6b737297df083b861e57f614db to your computer and use it in GitHub Desktop.
cluster issuer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cert-manager.io/v1alpha2 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-prod | |
namespace: cert-manager | |
spec: | |
acme: | |
# You must replace this email address with your own. | |
# Let's Encrypt will use this to contact you about expiring | |
# certificates, and issues related to your account. | |
email: nilesh@cloudgeni.us | |
server: https://acme-v02.api.letsencrypt.org/directory | |
privateKeySecretRef: | |
# Secret resource used to store the account's private key. | |
name: letsencrypt-prod | |
# Add a single challenge solver, HTTP01 using nginx | |
solvers: | |
- http01: | |
ingress: | |
class: nginx | |
- selector: | |
matchLabels: | |
use-cloudflare-solver: "true" | |
dns01: | |
cloudflare: | |
email: nilesh@cloudgeni.us | |
apiKeySecretRef: | |
name: cloudflare-api-key | |
key: api-key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment