...
1apiVersion: cert-manager.io/v1
2kind: Issuer
3metadata:
4 name: display-webhook
5 labels:
6 app.kubernetes.io/name: display-webhook
7spec:
8 selfSigned: {}
9---
10apiVersion: cert-manager.io/v1
11kind: Certificate
12metadata:
13 name: display-webhook
14 labels:
15 app.kubernetes.io/name: display-webhook
16 annotations:
17 cert-manager.io/allow-direct-injection: "true"
18spec:
19 dnsNames:
20 - display-webhook.display.svc
21 - display-webhook.display.svc.cluster.local
22 issuerRef:
23 name: display-webhook
24 kind: Issuer
25 secretName: display-webhook-certs
View as plain text