cert-manager ACME DNS01 solver webhook for BinaryLane DNS.
- Kubernetes 1.28+
- cert-manager 1.14+ installed
- BinaryLane API token
# Create secret with BinaryLane API token
kubectl create secret generic binarylane-api-credentials \
--from-literal=api-key=YOUR_BINARYLANE_API_TOKEN \
-n cert-manager
# Install the webhook
helm repo add cert-manager-webhook-binarylane https://drachemann.github.io/cert-manager-webhook-binarylane
helm install cert-manager-webhook-binarylane cert-manager-webhook-binarylane/cert-manager-webhook-binarylane \
--namespace cert-managerCreate a ClusterIssuer:
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-binarylane
spec:
acme:
email: you@example.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt-binarylane-account-key
solvers:
- dns01:
webhook:
groupName: acme.binarylane.com
solverName: binarylane
config:
apiKeySecretRef:
name: binarylane-api-credentials
key: api-keyRequest a certificate:
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: example-com
spec:
secretName: example-com-tls
dnsNames:
- example.com
- '*.example.com'
issuerRef:
name: letsencrypt-binarylane
kind: ClusterIssuergo mod download
go build ./...
go test ./...MIT