feat: upgrade api versions to cert-manager.io/v1
BREAKING CHANGE: you need at least cert-manager.io/v1 CRD versions
This commit is contained in:
parent
fd516d99c5
commit
3f5236a9b9
@ -3,7 +3,9 @@
|
|||||||
This project provides a [cert-manager](https://cert-manager.io) ACME Webhook for [Hetzner DNS](https://hetzner.de/)
|
This project provides a [cert-manager](https://cert-manager.io) ACME Webhook for [Hetzner DNS](https://hetzner.de/)
|
||||||
and is based on the [Example Webhook](https://github.com/jetstack/cert-manager-webhook-example)
|
and is based on the [Example Webhook](https://github.com/jetstack/cert-manager-webhook-example)
|
||||||
|
|
||||||
This README and the inspiration for this webhook was mostly taken from [Stephan Müllers INWX Webhook](https://gitlab.com/smueller18/cert-manager-webhook-inwx)
|
This README and the inspiration for this webhook was mostly taken from [Stephan Müllers INWX Webhook](https://gitlab.com/smueller18/cert-manager-webhook-inwx).
|
||||||
|
|
||||||
|
The Helm Chart is automatically published via [github pages](https://mecodia.github.io/cert-manager-webhook-hetzner/).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
description: A Helm chart for the Hetzner DNS webhook for cert-manager
|
description: A Helm chart for the Hetzner DNS webhook for cert-manager
|
||||||
name: cert-manager-webhook-hetzner
|
name: cert-manager-webhook-hetzner
|
||||||
version: 0.1.2
|
version: 0.2.0
|
||||||
appVersion: 0.1.2
|
appVersion: 0.2.0
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: mecodia GmbH
|
- name: mecodia GmbH
|
||||||
url: https://github.com/mecodia/cert-manager-webhook-hetzner
|
url: https://github.com/mecodia/cert-manager-webhook-hetzner
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# Create a selfsigned Issuer, in order to create a root CA certificate for
|
# Create a selfsigned Issuer, in order to create a root CA certificate for
|
||||||
# signing webhook serving certificates
|
# signing webhook serving certificates
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Issuer
|
kind: Issuer
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "cert-manager-webhook-hetzner.selfSignedIssuer" . }}
|
name: {{ include "cert-manager-webhook-hetzner.selfSignedIssuer" . }}
|
||||||
@ -17,7 +17,7 @@ spec:
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Generate a CA Certificate used to sign certificates for the webhook
|
# Generate a CA Certificate used to sign certificates for the webhook
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "cert-manager-webhook-hetzner.rootCACertificate" . }}
|
name: {{ include "cert-manager-webhook-hetzner.rootCACertificate" . }}
|
||||||
@ -38,7 +38,7 @@ spec:
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Create an Issuer that uses the above generated CA certificate to issue certs
|
# Create an Issuer that uses the above generated CA certificate to issue certs
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Issuer
|
kind: Issuer
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "cert-manager-webhook-hetzner.rootCAIssuer" . }}
|
name: {{ include "cert-manager-webhook-hetzner.rootCAIssuer" . }}
|
||||||
@ -55,7 +55,7 @@ spec:
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Finally, generate a serving certificate for the webhook to use
|
# Finally, generate a serving certificate for the webhook to use
|
||||||
apiVersion: cert-manager.io/v1alpha3
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "cert-manager-webhook-hetzner.servingCertificate" . }}
|
name: {{ include "cert-manager-webhook-hetzner.servingCertificate" . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user