Skip to content

Instantly share code, notes, and snippets.

@yuswitayudi
Created September 27, 2022 07:09
Show Gist options
  • Save yuswitayudi/5ef7f1d4fc3084f3d8295bb1abfd9871 to your computer and use it in GitHub Desktop.
Save yuswitayudi/5ef7f1d4fc3084f3d8295bb1abfd9871 to your computer and use it in GitHub Desktop.
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: [email protected]
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
# Enable the HTTP-01 challenge provider
solvers:
- http01:
ingress:
class: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment