forked from ab/homelab
Add k8s/core/cert-manager/self-signed.yaml
This commit is contained in:
29
k8s/core/cert-manager/self-signed.yaml
Normal file
29
k8s/core/cert-manager/self-signed.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: selfsigned
|
||||||
|
spec:
|
||||||
|
selfSigned: {}
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: hexor-ca-root
|
||||||
|
spec:
|
||||||
|
isCA: true
|
||||||
|
commonName: hexor-ca
|
||||||
|
secretName: hexor-ca-root-secret
|
||||||
|
issuerRef:
|
||||||
|
name: selfsigned
|
||||||
|
kind: ClusterIssuer
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: hexor-lab
|
||||||
|
spec:
|
||||||
|
ca:
|
||||||
|
secretName: hexor-ca-root-secret
|
Reference in New Issue
Block a user