From 7cb7e33e8321dc1a324c104407751caf39797a85 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Sat, 23 Sep 2023 20:56:30 +0200 Subject: [PATCH] fix: add missing spec.issuerRef.group to cert-manager Certificate| --- charts/accurate/templates/certificate.yaml | 1 + config/certmanager/certificate.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/accurate/templates/certificate.yaml b/charts/accurate/templates/certificate.yaml index bc1436a..14e3d0c 100644 --- a/charts/accurate/templates/certificate.yaml +++ b/charts/accurate/templates/certificate.yaml @@ -10,6 +10,7 @@ spec: - {{ template "accurate.fullname" . }}-webhook-service.{{ .Release.Namespace }}.svc - {{ template "accurate.fullname" . }}-webhook-service.{{ .Release.Namespace }}.svc.cluster.local issuerRef: + group: cert-manager.io kind: Issuer name: {{ template "accurate.fullname" . }}-selfsigned-issuer secretName: webhook-server-cert diff --git a/config/certmanager/certificate.yaml b/config/certmanager/certificate.yaml index 52d8661..e9e62c2 100644 --- a/config/certmanager/certificate.yaml +++ b/config/certmanager/certificate.yaml @@ -20,6 +20,7 @@ spec: - $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc - $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local issuerRef: + group: cert-manager.io kind: Issuer name: selfsigned-issuer secretName: webhook-server-cert # this secret will not be prefixed, since it's not managed by kustomize