Files
Keybard-Vagabond-Demo/manifests/applications/pixelfed/certificate.yaml
Michael DiLeo 7327d77dcd redaction (#1)
Add the redacted source file for demo purposes

Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1
Co-authored-by: Michael DiLeo <michael_dileo@proton.me>
Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
2025-12-24 13:40:47 +00:00

54 lines
1.2 KiB
YAML

---
# Self-signed ClusterIssuer for internal TLS certificates
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: pixelfed-selfsigned-issuer
namespace: pixelfed-application
spec:
selfSigned: {}
---
# CA Certificate for internal use
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: pixelfed-ca-cert
namespace: pixelfed-application
spec:
secretName: pixelfed-ca-secret
commonName: "Pixelfed Internal CA"
isCA: true
issuerRef:
name: pixelfed-selfsigned-issuer
kind: Issuer
group: cert-manager.io
---
# CA Issuer using the generated CA
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: pixelfed-ca-issuer
namespace: pixelfed-application
spec:
ca:
secretName: pixelfed-ca-secret
---
# Internal TLS Certificate for pixelfed backend
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: pixelfed-internal-tls
namespace: pixelfed-application
spec:
secretName: pixelfed-internal-tls-secret
commonName: pixelfed.keyboardvagabond.com
dnsNames:
- pixelfed.keyboardvagabond.com
- pixelfed-web.pixelfed-application.svc.cluster.local
- pixelfed-web
- localhost
issuerRef:
name: pixelfed-ca-issuer
kind: Issuer
group: cert-manager.io