Git Product home page Git Product logo

cert-manager-webhook-desec-http's Introduction

Build

ACME webhook for deSEC DNS API (http client version)

Usage:

helm install desec-http oci://ghcr.io/irreleph4nt/charts/cert-manager-webhook-desec-http -f values.yaml -n cert-manager

Testing:

TEST_DOMAIN_NAME=<domain name> TEST_SECRET=$(echo -n '<DESEC API TOKEN>' | base64) make test

Version History

desec-http built with notable features
v1.0.1 cert-manager v1.13 deSEC API Rate limiting
log.SetLogger(...) fix
v1.0.0 cert-manager v1.11 initial release

Example Issuer

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: desec-http
  namespace: cert-manager
spec:
  acme:
    email: <YOUR ACME E-MAIL ADDRESS>
    server: https://acme-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: cert-manager-desec-http-secret
    solvers:
    - dns01:
        webhook:
          groupName: <YOUR GROUP NAME>
          solverName: desec-http
          config:
            apiUrl: https://desec.io/api/v1
            domainName: <YOUR DNS ZONE>
            secretName: cert-domain-tls-key-<YOUR DNS ZONE>
            secretKeyName: desec-token

Example Secret

apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: cert-domain-tls-key-<DNS ZONE>
  namespace: cert-manager
stringData:
  desec-token: <YOUR DESEC TOKEN>

Example values.yaml

groupName: <YOUR DNS ZONE>

certManager:
  serviceAccountName: cert-manager
  namespace: cert-manager

image:
  repository: ghcr.io/irreleph4nt/cert-manager-webhook-desec-http
  tag: ""
  pullPolicy: IfNotPresent

replicaCount: 1

nameOverride: ""
fullnameOverride: ""

service:
  type: ClusterIP
  port: 443

secretName:
- cert-domain-tls-key-<YOUR DNS ZONE>

resources:
  limits:
     cpu: 250m
     memory: 256Mi
  requests:
     cpu: 250m
     memory: 256Mi

podSecurityContext:
  enabled: true
  fsGroup: 1001

containerSecurityContext:
  enabled: true
  runAsUser: 1001
  readOnlyRootFilesystem: true
  runAsNonRoot: true

Credits

This webhook was inspired by dmahmalat/cert-manager-webhook-google-domains, which solves DNS01 challenges by interacting with Google's public ACME API over HTTP requests. In that way, desec-http is more similar to it than to kmorning/cert-manager-webhook-desec, which re-implements parts of the deSEC API in GO to achieve the same result.

cert-manager-webhook-desec-http's People

Contributors

anon-software avatar dependabot[bot] avatar diaphteiros avatar inteon avatar irbekrm avatar irreleph4nt avatar jakexks avatar jamesorlakin avatar jetstack-bot avatar jpjonte avatar maelvls avatar mattiasgees avatar munnerz avatar roytev avatar sgtcodfish avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.