mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-10 18:57:59 +00:00
41 lines
824 B
YAML
41 lines
824 B
YAML
# See https://cert-manager.io/docs/configuration/selfsigned/#bootstrapping-ca-issuers
|
|
# - Create a self signed issuer
|
|
# - Use this to create a CA cert
|
|
# - Use this to now create a CA issuer
|
|
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Issuer
|
|
metadata:
|
|
name: nfd-ca-bootstrap
|
|
namespace: node-feature-discovery
|
|
spec:
|
|
selfSigned: {}
|
|
|
|
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: nfd-ca-cert
|
|
namespace: node-feature-discovery
|
|
spec:
|
|
isCA: true
|
|
secretName: nfd-ca-cert
|
|
subject:
|
|
organizations:
|
|
- node-feature-discovery
|
|
commonName: nfd-ca-cert
|
|
issuerRef:
|
|
name: nfd-ca-bootstrap
|
|
kind: Issuer
|
|
group: cert-manager.io
|
|
|
|
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Issuer
|
|
metadata:
|
|
name: nfd-ca-issuer
|
|
namespace: node-feature-discovery
|
|
spec:
|
|
ca:
|
|
secretName: nfd-ca-cert
|
|
|