This repository was archived by the owner on Apr 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 11# The following manifests contain a self-signed issuer CR and a certificate CR.
22# More document can be found at https://docs.cert-manager.io
3- apiVersion : cert-manager.io/v1alpha2
3+ apiVersion : cert-manager.io/v1
44kind : Issuer
55metadata :
66 name : selfsigned-issuer
77 namespace : system
88spec :
99 selfSigned : {}
1010---
11- apiVersion : cert-manager.io/v1alpha2
11+ apiVersion : cert-manager.io/v1
1212kind : Certificate
1313metadata :
1414 name : serving-cert # this name should match the one appeared in kustomizeconfig.yaml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,3 +5,15 @@ building the manifests ("made manifests" in the root directory).
55
66As of March 2022, I (
[email protected] ) have not actually tested this to see if
77it works.
8+
9+ If/when we next need to use CRD conversion webhooks, add the following patches
10+ to this directory:
11+
12+ # The following patch adds a directive for certmanager to inject CA into the CRD
13+ # CRD conversion requires k8s 1.13 or later.
14+ apiVersion: apiextensions.k8s.io/v1
15+ kind: CustomResourceDefinition
16+ metadata:
17+ annotations:
18+ cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
19+ name: hierarchies.hnc.x-k8s.io
You can’t perform that action at this time.
0 commit comments