penguin/webhook-freedns

freedns webhook for cert-manager

commit 5d6762a0df5ee4b013cbe3cc1958e15e4417b3f1

authorMattias Gees <mattias.gees@gmail.com>
date2021-01-13T13:40:15Z
subjectChange apiVersion of cert-manager in APIService to the up to date one
commit 5d6762a0df5ee4b013cbe3cc1958e15e4417b3f1
Author: Mattias Gees <mattias.gees@gmail.com>
Date:   2021-01-13T13:40:15Z

    Change apiVersion of cert-manager in APIService to the up to date one
    
    The annotation in the APIService references the old cert-manager apiVersion. This change fixes that.
---
 deploy/example-webhook/templates/apiservice.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/example-webhook/templates/apiservice.yaml b/deploy/example-webhook/templates/apiservice.yaml
index 7426401..4f6d5ce 100644
--- a/deploy/example-webhook/templates/apiservice.yaml
+++ b/deploy/example-webhook/templates/apiservice.yaml
@@ -8,7 +8,7 @@ metadata:
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
   annotations:
-    certmanager.k8s.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "example-webhook.servingCertificate" . }}"
+    cert-manager.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "example-webhook.servingCertificate" . }}"
 spec:
   group: {{ .Values.groupName }}
   groupPriorityMinimum: 1000