1
0
Fork 0

cert-manager: Add cert for dustin.hatch.name

dch-webhooks-secrets
Dustin 2023-04-26 06:59:08 -05:00
parent a507fe1090
commit da211ef63c
2 changed files with 23 additions and 0 deletions

View File

@ -19,6 +19,10 @@ data:
key: certificates/_.pyrocufflink.net.key key: certificates/_.pyrocufflink.net.key
cert: certificates/_.pyrocufflink.net.crt cert: certificates/_.pyrocufflink.net.crt
bundle: certificates/_.pyrocufflink.net.pem bundle: certificates/_.pyrocufflink.net.pem
- name: dustinhatchname-cert
namespace: default
key: acme.sh/dustin.hatch.name/dustin.hatch.name.key
cert: acme.sh/dustin.hatch.name/fullchain.cer
known-hosts-command.ssh_config: | known-hosts-command.ssh_config: |
KnownHostsCommand /usr/bin/curl -fsL https://files.pyrocufflink.blue/ssh_known_hosts KnownHostsCommand /usr/bin/curl -fsL https://files.pyrocufflink.blue/ssh_known_hosts
@ -36,6 +40,7 @@ rules:
- get - get
resourceNames: resourceNames:
- pyrocufflink-cert - pyrocufflink-cert
- dustinhatchname-cert
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1

View File

@ -16,3 +16,21 @@ spec:
privateKey: privateKey:
algorithm: ECDSA algorithm: ECDSA
rotationPolicy: Always rotationPolicy: Always
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: dustinhatchname-cert
spec:
secretName: dustinhatchname-cert
dnsNames:
- dustin.hatch.name
- '*.dustin.hatch.name'
issuerRef:
group: cert-manager.io
kind: ClusterIssuer
name: zerossl
privateKey:
algorithm: ECDSA
rotationPolicy: Always