Go to file
2022-03-15 01:39:12 +09:00
deploy/freedns-webhook Fixed some more rbac issues, v2022.03.15 2022-03-15 01:39:12 +09:00
freedns Fixed some more rbac issues, v2022.03.15 2022-03-15 01:39:12 +09:00
testdata/freedns-solver Passed Conformance Tests 2022-03-14 07:41:02 +09:00
.gitignore I don't know what I'm doing 2022-03-12 23:35:44 +00:00
Dockerfile Proper log handling 2022-03-14 17:26:29 +09:00
go.mod Proper log handling 2022-03-14 17:26:29 +09:00
go.sum Proper log handling 2022-03-14 17:26:29 +09:00
LICENSE Initial commit 2019-04-15 15:23:59 +01:00
main_test.go I don't know what I'm doing 2022-03-12 23:35:44 +00:00
main.go Proper log handling 2022-03-14 17:26:29 +09:00
Makefile I don't know what I'm doing 2022-03-12 23:35:44 +00:00
OWNERS Add OWNERS file 2021-02-23 17:26:29 +00:00
README.md Fixed some more rbac issues, v2022.03.15 2022-03-15 01:39:12 +09:00

Introduction

First, RTFM.

Have you read it? If you haven't go read it. Cuz I'll keep everything short.

This is a dns01 solver for FreeDNS.

Pull requests welcome. I'm completely unfamiliar with golang. I did it by looking at other webhook repos and this is the result.

Install

$ cd deploy
$ helm show values freedns-webhook > my-values.yaml
$ edit my-values.yaml
$ helm install -n cert-manager [INSTALLATION_NAME] freedns-webhook/ -f my-values.yaml

ClusterIssuer for Let's encrypt staging

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
spec:
  acme:
    email: myemail@example.com
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: le-staging
    solvers:
    - dns01:
        webhook:
          groupName: acme.freedns.afraid.org
          solverName: freedns-solver
          config:
            secretName: freedns-auth

FreeDNS webhook settings

Normally if you haven't changed anything, the default namespace should be cert-manager. It should be within the same namespace for the webhook when you do helm install webhook -n cert-manager.

apiVersion: v1
kind: Secret
metadata:
  name: freedns-auth
  namespace: cert-manager
data:
  username: [YOUR_USERNAME_IN_BASE64]
  password: [YOUR_PASSWORD_IN_BASE64]
type: Opaque

Additionally, the following names can be customized

  • acme.freedns.afraid.org
  • freedns-auth