cert-manager-webhook-active24

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

README

ACME webhook for Active24 DNS API

This repository contains code and supporting files for ACME webhook that interacts with active24.cz DNS API.

Installation

Requirements

Create secret with API token

kubectl create secret generic active24-apikey --namespace cert-manager \
	--from-literal='apiKey=abcd1234567890'

Create ClusterIssuer

Apply following manifest into cluster

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod
spec:
  acme:
    # The ACME server URL
    server: https://acme-v02.api.letsencrypt.org/directory
    # Email address used for ACME registration
    email: admin@somegreatdomain.tld
    # Name of a secret used to store the ACME account private key
    privateKeySecretRef:
      name: letsencrypt-prod
    solvers:
    - selector:
        dnsZones:
          - somegreatdomain.tld
      dns01:
        webhook:
          groupName: acme.yourdomain.tld
          solverName: active24
          config:
            apiKeySecretRef:
              name: 'active24-apikey'
              key: 'apiKey'
            domain: somegreatdomain.tld

Replace somegreatdomain.tld with actual domain managed by Active24

Install using helm

helm upgrade --install ac24 ./chart --namespace cert-manager

Create certificate

kind: Certificate
apiVersion: cert-manager.io/v1
metadata:
  name: my-certificate
spec:
  commonName: somegreatdomain.tld
  dnsNames:
    - somegreatdomain.tld
    - '*.somegreatdomain.tld'
  issuerRef:
    kind: ClusterIssuer
    name: letsencrypt-prod
  secretName: somegreatdomain.tld-tls

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL