cert-manager-webhook-acmesh
by SpringHack
Helm chartv1.4.1App 1.3.0
cert-manager webhook solver for acmesh
About this chart
cert-manager-webhook-acmesh
A cert-manager webhook built on top of acme.sh
Status: WIP
Usage
Install
# add infinity-server repo
helm repo add infinity-server https://infinity-server.github.io/dockerset
# update repo
helm repo update
# install chart
helm upgrade --install \
cert-manager-webhook-acmesh infinity-server/cert-manager-webhook-acmesh \
--namespace cert-manager \
--create-namespace \
-f ./cert-manager-webhook-acmesh.values.yml
# cert-manager-webhook-acmesh.values.yml, use dnspod(dns_dp) for example
clusterIssuer:
name: acmesh-dnspod
staging: false
enabled: true
ttl: 600
dnsapi: "dns_dp" # same as acme.sh --dns parameter
env: # same as acme.sh dnsapi environments
- "DP_Id=123456"
- "DP_Key=ajsdhflasjhdflahsd"
Usage
---
# secret for receive certificate contents
apiVersion: v1
kind: Secret
metadata:
name: tls-certs
namespace: cert-manager
type: kubernetes.io/tls
data:
tls.crt: ""
tls.key: ""
# a certificate resource
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: dnspod-demo-certificate
namespace: cert-manager
spec:
secretName: tls-certs
issuerRef:
kind: ClusterIssuer
name: acmesh-dnspod
dnsNames:
- "test.dosk.host"
- "*.test.dosk.host"
Deploy cert-manager-webhook-acmesh with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cert-manager-webhook-acmesh on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcert-manager-webhook-acmesh is pinned at v1.4.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply