Skip to content

Commit

Permalink
update charts/cert-manager-webhook-acmesh and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
springhack committed Nov 12, 2022
1 parent 013d643 commit 8fe5c8e
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cert-manager-webhook-acmesh/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.2.0
description: cert-manager webhook solver for acmesh
name: cert-manager-webhook-acmesh
version: 1.2.3
version: 1.3.0
type: application
maintainers:
- name: springhack
67 changes: 67 additions & 0 deletions charts/cert-manager-webhook-acmesh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
### cert-manager-webhook-acmesh

> A cert-manager webhook built on top of acme.sh
> Status: WIP
### Usage

> Install
```bash
# 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
```

```yaml
# 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
```yaml
---
# 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"
```

0 comments on commit 8fe5c8e

Please sign in to comment.