This adds a new secret mount that lets you load a pkcs12 keystrore to use with Plex.
It would allow you to create and manage a cert with something like cert-manager:
apiVersion: v1
kind: Secret
metadata:
name: pkcs-secret
namespace: media
type: Opaque
stringData:
password: somePassword
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: cert-plex
namespace: media
spec:
secretName: cert-plex
duration: 2160h
renewBefore: 360h
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
commonName: plex.example.com
dnsNames:
- plex.example.com
keystores:
pkcs12:
create: true
profile: Modern2023 # important as default profile will not work with Plex
passwordSecretRef:
name: pkcs-secret
key: password
Then you can set sslSecret from above (cert-plex) and it will mount the keystore at /ssl/keystore.p12 so you can then use the following Network settings:
This adds a new secret mount that lets you load a pkcs12 keystrore to use with Plex.
It would allow you to create and manage a cert with something like cert-manager:
Then you can set
sslSecret
from above (cert-plex
) and it will mount the keystore at/ssl/keystore.p12
so you can then use the following Network settings:Pairs well with my other PR: https://github.com/pabloromeo/clusterplex/pull/329