This repository was archived by the owner on Apr 17, 2025. It is now read-only.
File tree 3 files changed +14
-10
lines changed
3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
# The following manifests contain a self-signed issuer CR and a certificate CR.
2
2
# More document can be found at https://docs.cert-manager.io
3
- apiVersion : cert-manager.io/v1alpha2
3
+ apiVersion : cert-manager.io/v1
4
4
kind : Issuer
5
5
metadata :
6
6
name : selfsigned-issuer
7
7
namespace : system
8
8
spec :
9
9
selfSigned : {}
10
10
---
11
- apiVersion : cert-manager.io/v1alpha2
11
+ apiVersion : cert-manager.io/v1
12
12
kind : Certificate
13
13
metadata :
14
14
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).
5
5
6
6
As of March 2022, I (
[email protected] ) have not actually tested this to see if
7
7
it 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