mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-02 23:05:48 +02:00
chore: change apiVersion to v1
This commit is contained in:
parent
24c78cbcb2
commit
c5b7612304
3 changed files with 4 additions and 3 deletions
|
@ -24,13 +24,14 @@ $ helm install cert-manager-webhook-dnsimple \
|
||||||
--set clusterIssuer.email=email@example.com \
|
--set clusterIssuer.email=email@example.com \
|
||||||
neoskop/cert-manager-webhook-dnsimple
|
neoskop/cert-manager-webhook-dnsimple
|
||||||
```
|
```
|
||||||
|
|
||||||
_(Alternatively you can check out this repository and substitute neoskop/cert-manager-webhook-dnsimple with ./deploy/dnsimple)_
|
_(Alternatively you can check out this repository and substitute neoskop/cert-manager-webhook-dnsimple with ./deploy/dnsimple)_
|
||||||
|
|
||||||
Afterwards issue a certificate:
|
Afterwards issue a certificate:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cat << EOF | kubectl apply -f -
|
$ cat << EOF | kubectl apply -f -
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: dnsimple-test
|
name: dnsimple-test
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if .Values.clusterIssuer.production.enabled -}}
|
{{- if .Values.clusterIssuer.production.enabled -}}
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "dnsimple-webhook.fullname" . }}-production
|
name: {{ include "dnsimple-webhook.fullname" . }}-production
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if .Values.clusterIssuer.staging.enabled -}}
|
{{- if .Values.clusterIssuer.staging.enabled -}}
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "dnsimple-webhook.fullname" . }}-staging
|
name: {{ include "dnsimple-webhook.fullname" . }}-staging
|
||||||
|
|
Loading…
Reference in a new issue