Skip to content

Commit df30022

Browse files
committed
Add basic docs for Namecheap cert-manager hooks
1 parent 07126b4 commit df30022

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,40 @@ To install this chart (Powershell Core):
4545

4646
### Namecheap Cert-Manager hooks
4747

48+
Originally from [kelvie/cert-manager-webhook-namecheap](https://github.com/kelvie/cert-manager-webhook-namecheap), from [cert-manager-webhook-namecheap](https://github.com/jamesgoodhouse/cert-manager-webhook-namecheap).
49+
4850
Deploy the webhook:
4951

5052
helm install -n cert-manager namecheap-webhook --repo https://mdekrey.github.io/helm-charts cert-manager-webhook-namecheap
53+
54+
Deploy the issuer:
55+
56+
helm install --set email=yourname@example.com -n cert-manager letsencrypt-namecheap-issuer deploy/letsencrypt-namecheap-issuer/
57+
58+
In NameCheap, go to Profile -> Tools and set up API access. (Note that you'll need to whitelist the public IP of the k8s cluster to use the webhook), and set the secret:
59+
60+
apiVersion: v1
61+
kind: Secret
62+
metadata:
63+
name: namecheap-credentials
64+
namespace: cert-manager
65+
type: Opaque
66+
stringData:
67+
apiKey: my_api_key_from_namecheap
68+
apiUser: my_username_from_namecheap
69+
70+
Create a staging certificate for testing:
71+
72+
apiVersion: cert-manager.io/v1
73+
kind: Certificate
74+
metadata:
75+
name: wildcard-cert-stage
76+
namespace: default
77+
spec:
78+
secretName: wildcard-cert-stage
79+
commonName: "*.<domain>"
80+
issuerRef:
81+
kind: ClusterIssuer
82+
name: letsencrypt-stage
83+
dnsNames:
84+
- "*.<domain>"

0 commit comments

Comments
 (0)