File tree 6 files changed +13
-16
lines changed
charts/cert-manager-webhook-dnsimple
6 files changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ A [cert-manager][2] ACME DNS01 solver webhook for [DNSimple][1].
5
5
6
6
## Pre-requisites
7
7
8
- - [ cert-manager] [ 2 ] >= 0.13 (The Helm chart uses the new API versions)
8
+ - [ cert-manager] [ 2 ] >= 1.0.0 (The Helm chart uses the new API versions)
9
9
- Kubernetes >= 1.17.x
10
10
- Helm 3 (otherwise adjust the example below accordingly)
11
11
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
- appVersion : " v0.1.4 "
2
+ appVersion : " v0.1.5 "
3
3
description : cert-manager webhook solver for ACME DNS01 challenge via DNSimple
4
4
name : cert-manager-webhook-dnsimple
5
- version : 0.1.4
5
+ version : 0.1.5
6
6
home : https://github.com/puzzle/cert-manager-webhook-dnsimple
7
7
sources :
8
8
- https://github.com/puzzle/cert-manager-webhook-dnsimple
Original file line number Diff line number Diff line change 1
- {{- $APIRegistrationAPIVersion := ternary "apiregistration.k8s.io/v1" "apiregistration.k8s.io/v1beta1" (.Capabilities.APIVersions.Has "apiregistration.k8s.io/v1") -}}
2
- apiVersion : {{ $APIRegistrationAPIVersion }}
1
+ apiVersion : apiregistration.k8s.io/v1
3
2
kind : APIService
4
3
metadata :
5
4
name : v1alpha1.{{ include "dnsimple-webhook.api-group" . }}
Original file line number Diff line number Diff line change 1
- {{- $CertManagerAPIVersion := ternary "cert-manager.io/v1" "cert-manager.io/v1alpha2" (.Capabilities.APIVersions.Has "cert-manager.io/v1") -}}
2
1
---
3
2
# Create a selfsigned Issuer, in order to create a root CA certificate for
4
3
# signing webhook serving certificates
5
- apiVersion : {{ $CertManagerAPIVersion }}
4
+ apiVersion : cert-manager.io/v1
6
5
kind : Issuer
7
6
metadata :
8
7
name : {{ include "dnsimple-webhook.selfSignedIssuer" . }}
18
17
---
19
18
20
19
# Generate a CA Certificate used to sign certificates for the webhook
21
- apiVersion : {{ $CertManagerAPIVersion }}
20
+ apiVersion : cert-manager.io/v1
22
21
kind : Certificate
23
22
metadata :
24
23
name : {{ include "dnsimple-webhook.rootCACertificate" . }}
39
38
---
40
39
41
40
# Create an Issuer that uses the above generated CA certificate to issue certs
42
- apiVersion : {{ $CertManagerAPIVersion }}
41
+ apiVersion : cert-manager.io/v1
43
42
kind : Issuer
44
43
metadata :
45
44
name : {{ include "dnsimple-webhook.rootCAIssuer" . }}
56
55
---
57
56
58
57
# Finally, generate a serving certificate for the webhook to use
59
- apiVersion : {{ $CertManagerAPIVersion }}
58
+ apiVersion : cert-manager.io/v1
60
59
kind : Certificate
61
60
metadata :
62
61
name : {{ include "dnsimple-webhook.servingCertificate" . }}
Original file line number Diff line number Diff line change 1
- {{- $RBACAPIVersion := ternary "rbac.authorization.k8s.io/v1" "rbac.authorization.k8s.io/v1beta1" (.Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1") -}}
2
1
apiVersion : v1
3
2
kind : ServiceAccount
4
3
metadata :
@@ -12,7 +11,7 @@ metadata:
12
11
# Grant the webhook permission to read the ConfigMap containing the Kubernetes
13
12
# apiserver's requestheader-ca-certificate.
14
13
# This ConfigMap is automatically created by the Kubernetes apiserver.
15
- apiVersion : {{ $RBACAPIVersion }}
14
+ apiVersion : rbac.authorization.k8s.io/v1
16
15
kind : RoleBinding
17
16
metadata :
18
17
name : {{ include "dnsimple-webhook.fullname" . }}:webhook-authentication-reader
@@ -34,7 +33,7 @@ subjects:
34
33
---
35
34
# apiserver gets the auth-delegator role to delegate auth decisions to
36
35
# the core apiserver
37
- apiVersion : {{ $RBACAPIVersion }}
36
+ apiVersion : rbac.authorization.k8s.io/v1
38
37
kind : ClusterRoleBinding
39
38
metadata :
40
39
name : {{ include "dnsimple-webhook.fullname" . }}:auth-delegator
@@ -54,7 +53,7 @@ subjects:
54
53
namespace : {{ .Release.Namespace }}
55
54
---
56
55
# Grant cert-manager permission to validate using our apiserver
57
- apiVersion : {{ $RBACAPIVersion }}
56
+ apiVersion : rbac.authorization.k8s.io/v1
58
57
kind : ClusterRole
59
58
metadata :
60
59
name : {{ include "dnsimple-webhook.fullname" . }}:domain-solver
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ clusterIssuer:
20
20
enabled : false
21
21
image :
22
22
repository : ghcr.io/puzzle/cert-manager-webhook-dnsimple
23
- tag : v0.1.4
23
+ tag : v0.1.5
24
24
pullPolicy : IfNotPresent
25
25
# pullSecret: "gcr"
26
26
nameOverride : " "
@@ -43,4 +43,4 @@ resources: {}
43
43
44
44
nodeSelector : {}
45
45
tolerations : []
46
- affinity : {}
46
+ affinity : {}
You can’t perform that action at this time.
0 commit comments