Giter Club home page Giter Club logo

cert-manager-webhook-cloudns's Introduction

Cert-Manager ClouDNS DNS01 Provider

A Cert-Manager DNS01 provider for ClouDNS.

โš ๏ธ Out of date: This version has not been updated for up-to-date versions of Kubernetes and cert-manager. Please check out this fork instead.

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.

Because we currently don't need this and the LEGO library already has support for parsing environment variables (and files), we have opted to not use this.

The testdata/config.json file is there because the DNS01 provider conformance testing suite wants to mock the requests away, and needs a folder to load the data from.

Environment Options

Name Required Description
GROUP_NAME yes Used to organise cert-manager providers, this is usually a domain
CLOUDNS_AUTH_ID_FILE yes Path to file which contains ClouDNS Auth ID
CLOUDNS_AUTH_PASSWORD_FILE yes Path to file which contains ClouDNS Auth password
CLOUDNS_TTL no, default: 60 ClouDNS TTL
CLOUDNS_HTTP_TIMEOUT no, default: 30 seconds ClouDNS API request timeout

Development

Running DNS01 provider conformance testing suite

# Get kubebuilder
./scripts/fetch-test-binaries.sh

# Run testing suite
TEST_ZONE_NAME=<domain> CLOUDNS_AUTH_ID_FILE=.creds/auth_id CLOUDNS_AUTH_PASSWORD_FILE=.creds/auth_password go test -v .

cert-manager-webhook-cloudns's People

Contributors

ixon-johan-de-vries avatar raqbit avatar reynaert98 avatar tristan971 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cert-manager-webhook-cloudns's Issues

Isn't running

Hello,
after installing I get the following events:
Events:
Type Reason Age From Message


Normal Scheduled 19s default-scheduler Successfully assigned cert-manager/cert-manager-webhook-cloudns-6d7458dfd6-7gsqd to hades03
Normal Pulled 16s kubelet Container image "harbor.mathops.de/library/cert-manager-webhook-cloudns:latest" already present on machine
Normal Created 16s kubelet Created container cert-manager-webhook-cloudns
Normal Started 15s kubelet Started container cert-manager-webhook-cloudns
Warning Unhealthy 8s (x3 over 14s) kubelet Readiness probe failed: HTTP probe failed with statuscode: 500
Warning Unhealthy 8s kubelet Liveness probe failed: HTTP probe failed with statuscode: 500

Pod log:
I0411 08:37:41.520571 1 secure_serving.go:116] Serving securely on [::]:443
I0411 08:37:41.528340 1 log.go:172] http: TLS handshake error from 192.168.30.234:40384: EOF
E0411 08:37:41.606174 1 webhook.go:196] Failed to make webhook authorizer request: the server could not find the requested resource
E0411 08:37:41.606375 1 errors.go:77] the server could not find the requested resource
E0411 08:37:49.458472 1 webhook.go:196] Failed to make webhook authorizer request: the server could not find the requested resource
E0411 08:37:49.458685 1 errors.go:77] the server could not find the requested resource
E0411 08:37:49.459010 1 webhook.go:196] Failed to make webhook authorizer request: the server could not find the requested resource
E0411 08:37:49.459249 1 errors.go:77] the server could not find the requested resource

Where is my mistake?

installed with helm from the deployment directory.

the image is only recompiled.

Regards - Mathias

image verson is incorrect

hello team, actually your image version is wrong , see currently you mentioned this image in your make file:-
Screenshot 2023-04-25 at 4 14 38 PM

But when i pull this image it shows
Screenshot 2023-04-25 at 4 15 23 PM

so i checked in the dockerhub and this is i found :-
Screenshot 2023-04-25 at 4 16 04 PM

so i think the correct one is this :- mschirrmeister/cert-manager-webhook-cloudns:v1.0.4

this webhook doesnt working

hello ixoncloud team, i tried your method following all the steps , but after that when i am creating the ingress file the certs are not getting true .

Screenshot 2023-04-20 at 12 50 40 AM

and when i check kubectl get challenges its shows me that your domain cloudns.acme.ixon.cloud unable to handle request see this screenshot

Screenshot 2023-04-20 at 12 48 22 AM

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.