Sign inSign up

highcanfly/cert-manager-webhook-cloudns

By highcanfly

Updated over 2 years ago

Simple webhook for cert-manager 1.14 for automating ACME with ClouDNS

Image
0

583

highcanfly/cert-manager-webhook-cloudns repository overview

cert-manager project logo

Cert-Manager ClouDNS DNS01 Provider

A Cert-Manager DNS01 provider for ClouDNS.

Configuration

Cert-Manager expects DNS01 providers to parse configuration from incoming webhook requests.

This can be used to have multiple Cert-Manager Issuer resources use the same instance of the provider with different credentials or configuration. in the Cert-Manager Issuer resource you need to define.

config:
  auth-id: "your-auth-id"
  auth-password: "your-auth-password"
  authIdType: "auth-id"
  ttl: 3600
  apiKeySecretRef:
    name: "cloudns-test-zone-api-secret"
    key: "apikey"

Development

Running DNS01 provider conformance testing suite

You need to fill the testdata/my-custom-solver/config.json file with the following content:

{
    "authId": "your-auth-id",
    "authIdType": "auth-id",
    "ttl": 3600,
    "apiKeySecretRef":     {
        "name": "cloudns-test-zone-api-secret",
        "key": "apikey"
    }
}

And create a secret with the following template:

apiVersion: v1
kind: Secret
metadata:
  name: cloudns-test-zone-api-secret
type: Opaque
data:
  apikey: Zm1zcHJXcEt1LThMOWp0
# Get kubebuilder
./scripts/fetch-test-binaries.sh

# Run testing suite
TEST_ZONE_NAME="myzone.cloudns.be." make test

Tag summary

Content type

Image

Digest

sha256:b0c3369ff

Size

20.9 MB

Last updated

over 2 years ago

docker pull highcanfly/cert-manager-webhook-cloudns